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

Free Space in BootDI plugin doesn't work correctly
« on: May 04, 2017, 07:10:24 AM »

ZYX

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: Apr 2017
  • Posts: 59
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 07, 2017, 09:31:18 AM »

ZYX

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: Apr 2017
  • Posts: 59
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, 01:35:23 PM »

Galapo

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

Regards,
Galapo.

Re: Free Space in BootDI plugin doesn't work correctly
« Reply #3 on: June 25, 2017, 11:30:31 AM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Maybe Lancelot can remember why the line afterwards was commented out?
Sorry I can not remember.

More:
All I remember is, using BootDI became harder with different hostos (xp - win7 - ... win10)
 since calculations do not fit between hostos different.

With other words : things start not to work as before with host-xp on Win7-10 ,
 so I made trials to get BootDI operational.

Feel free to do any adjustment.  :thumbsup:

:turtle:

 

Powered by EzPortal