Improve RAM boot script
#1
Posted 15 July 2006 - 11:12 AM
psc, can you please re-post your idea?
thanks!
#2
Posted 17 July 2006 - 03:31 PM
A suggestion:
Because there are now different main scripts the ISO files and Target directory may be ambigous.
Additionally it can happen that WindowsRamBoot.script generates a RAM ISO from a RAM ISO ... from the normal ISO.
To avoid these issues, I suggest:
Target directory should be %ProjectDir%\Target instead of %BaseDir%\Target
ISO file name should be %BaseDir%\ISO\%ProjectName%.iso, in case of RAM ISO %ProjectName%_RAM.iso or similar.
Of course the %ProjectName% variable has to be created inside OpenBuilder.
I tried it successfully.
Following some fragments of WindowsRamBoot.script
[variables] ... ... %ProjectName%=Standard (hardcoded just for test!) [process-win2003] ... ... echo,"Copying ISO to new location.." FileCopy,"%isofile%","%RAMFolder%" FileRename,"%RAMFolder%\%ProjectName%.iso","%RAMFolder%\%ProjectName%_RAM.iso" echo,"Making Windows 2003 RAM Bootable ISO.. [%ProjectName%_RAM.iso]" ShellExecute,open,#$q%Tools%\mkisofs.exe#$q,"-iso-level 4 -volid #$q%RAMISO%#$q -A PEBUILDER/MKISOFS -sysid #$qWin32#$q -no-emul-boot -b BOOTSECT.BIN -hide BOOTSECT.BIN -o #$q%ISODir%\%ProjectName%_RAM.iso#$q #$q%RAMFolder%#$q" ... ...
Peter
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users