Topic: Free Space in BootDI plugin doesn't work correctly  (Read 85 times)

0 Members and 1 Guest are viewing this topic.

Free Space in BootDI plugin doesn't work correctly
« on: May 03, 2017, 09:10:24 PM »

ZYX

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: Apr 2017
  • Posts: 56
It seems that you have wrongly commented one line in the [Optimized] section, it is now:
Run,%ScriptFile%,ImaFileTest
//_Calculate,"Ceiling(%IMGSize%+%pNumberBox3%)",ImgSize

With this second line commented, it doesn't matter what value I enter for Free Space, since that value is ignored. It is not essential with the basic project, but I cannot boot my full project containing many drivers and programs resulting with 450 MB ISO. If I uncomment that line, the ISO made with the full project boots fine (well, at least it boots fine on one test computer; I am trying now to find out how I could make it to boot on the other computers as well).

Also, the default value of "Of Target" is 100% which is too low for my full project, it should be at least 120%. I don't know how the used DirGetSize is internally working, but it seems that it doesn't take in account the slack space of files related to the size of sectors on NTFS drive. Because of that  slack space, the image file should be greater than 100% of the size of %TargetDir%.

Re: Free Space in BootDI plugin doesn't work correctly
« Reply #1 on: May 06, 2017, 11:31:18 PM »

ZYX

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: Apr 2017
  • Posts: 56
I just checked BootDI plugin from "Gena 2015-01-07" and it has adding of free space value on the correct place, i.e. after ImaFileTest but not before.

Re: Free Space in BootDI plugin doesn't work correctly
« Reply #2 on: May 07, 2017, 03:35:23 AM »

Galapo

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Location: Australia
  • Date Registered: Sep 2010
  • Posts: 1956
Thanks for reporting further on this. Maybe Lancelot can remember why the line afterwards was commented out?

Regards,
Galapo.

 

Powered by EzPortal