delicatepc Posted July 2, 2009 Share Posted July 2, 2009 (edited) SOLVED!! - See cdbob post in thread for explanation and workarounds. Issue was with design assumption in chain.c32Original PostUsing syslinux/isolinux 3.82 to chainload windows BOOTMGR. On USB this works fine.Create ISO with this command where %a2% is c:\file.iso:""mkisofs.exe" -iso-level 4 -l -R -J -joliet-long -D -V %VOLUME_ID% -o "%a2%" -b "BOOT/isolinux/isolinux.bin" -c "BOOT/isolinux/boot.catalog" -hide "BOOT/isolinux/boot.catalog" -hide-joliet "BOOT/isolinux/boot.catalog" -no-emul-boot -boot-load-size 4 -boot-info-table ."attached is image of root of files (based off ubcd). Notice caps BOOT folder, BOOTMGR, BCD.When I boot the iso that I created I get error (it successfully chainloads BOOTMGR):File: \Boot\BCD (notice the Boot not BOOT?)An error occurred while attempting to read the boot configuration data.attached image of error.Any one had an idea? It seems to me i am just missing a very basic case sensitive item as I know this configuration works fine on USB.any help/ideas appreciated.thank you,dpc Edited July 23, 2009 by delicatepc Link to comment Share on other sites More sharing options...
jaclaz Posted July 2, 2009 Share Posted July 2, 2009 Check you command line for mkisofs against this one (which is known to be generally working):http://www.msfn.org/board/index.php?showtopic=94398&hl=jaclaz Link to comment Share on other sites More sharing options...
cdob Posted July 2, 2009 Share Posted July 2, 2009 File: \Boot\BCD (notice the Boot not BOOT?)Well, all used files system or exension ignores case.-iso-level 4 : allows lower and upper case, Boot is a valid name-R : allows lower and upper case, Boot is a valid name-J -joliet-long : allows lower and upper case, Boot is a valid nameUppercase required folders and files at hard disk first. Run given command next.Or use -force-uppercase at some versions. Link to comment Share on other sites More sharing options...
delicatepc Posted July 21, 2009 Author Share Posted July 21, 2009 I have been trying to get this to work for a while now and so far nothing I seem to be doing can get it to work properly. On USB it works great but as soon as I get it into ISO format the BOOTMGR cannot find the BCD file it seems.Can anyone give me a hand? Alternatively is there another place I could ask?thanks,dpc Link to comment Share on other sites More sharing options...
cdob Posted July 22, 2009 Share Posted July 22, 2009 Which files exist at hard disk?Can you run: dir BOOT /s /bDoes exist files:BOOT\BCDBOOT\BOOT.SDIBOOT\BOOTFIX.BINCase is importand.Which bootmgr do you use?Do you use Vista, SP1, SP2, WAIK, Windows 7Which BCD do you use?Do you use a default file? Do you use a edited file?Which bootmgr entry do you use at isolinux.cfg?Post your bootmgr isolinux.cfg entry.Which ISO file size do you get? Do you get a file greater 4GB ?Which mkisofs -version do you use?Cross checked myself:mkisofs.exe -iso-level 4 -l -R -J -joliet-long -D -V VOLUME_ID -o ..\o.iso -b "BOOT/isolinux/isolinux.bin" -c "BOOT/isolinux/boot.catalog" -hide "BOOT/isolinux/boot.catalog" -hide-joliet "BOOT/isolinux/boot.catalog" -no-emul-boot -boot-load-size 4 -boot-info-table -graft-points /BOOT/etfsboot.bin=BOOT/etfsboot.com .Bootmgr does find BCD, PE does boot.or mkisofs.exe -iso-level 4 -r -joliet-long -D -V VOLUME_ID -o ..\o.iso -b "BOOT/isolinux/isolinux.bin" -hide "boot.catalog" -hide-joliet "boot.catalog" -no-emul-boot -boot-load-size 4 -boot-info-table -graft-points /BOOT/etfsboot.bin=BOOT/etfsboot.com . Link to comment Share on other sites More sharing options...
delicatepc Posted July 23, 2009 Author Share Posted July 23, 2009 (edited) I downloaded UBCD 5.0b12 and updated the syslinux/isolinux files from syslinux 3.82.I am using Sun Virtual Box to test these ISOs.Which files exist at hard disk?Can you run: dir BOOT /s /bC:\ubcd-stripped\BOOT\BCDC:\ubcd-stripped\BOOT\BOOT.SDIC:\ubcd-stripped\BOOT\BOOTFIX.BINC:\ubcd-stripped\BOOT\etfsboot.comC:\ubcd-stripped\BOOT\isolinuxC:\ubcd-stripped\BOOT\syslinuxC:\ubcd-stripped\BOOT\isolinux\isolinux.binC:\ubcd-stripped\BOOT\isolinux\isolinux.cfgC:\ubcd-stripped\BOOT\syslinux\chain.c32C:\ubcd-stripped\BOOT\syslinux\ldlinux.sysC:\ubcd-stripped\BOOT\syslinux\memdiskC:\ubcd-stripped\BOOT\syslinux\menu.c32C:\ubcd-stripped\BOOT\syslinux\reboot.c32C:\ubcd-stripped\BOOT\syslinux\syslinux.cfgC:\ubcd-stripped\BOOT\syslinux\vesamenu.c32Does exist files:BOOT\BCDBOOT\BOOT.SDIBOOT\BOOTFIX.BINCase is importand.Yes see above.Which bootmgr do you use?Do you use Vista, SP1, SP2, WAIK, Windows 7Which BCD do you use?Do you use a default file? Do you use a edited file?I downloaded the Vista Recovery Environment ISO from here: http://neosmart.net/blog/2008/windows-vist...-disc-download/I downloaded the 32bit edition, extracted with 7zip and properly renamed the files and folders to all caps (see above).I confirmed that the plain ISO boots to Vista Recovery environment. BCD file is default one from this ISO and not modified.etfsboot.com was not included on this iso so I downloaded it from here: http://www.mydigitallife.info/wp-content/u...01/etfsboot.comWhich bootmgr entry do you use at isolinux.cfg?Post your bootmgr isolinux.cfg entry.isolinux.cfg entryDEFAULT mainLABEL mainKERNEL /boot/syslinux/menu.c32APPEND /ubcd/menus/syslinux/main.cfgand then ubcd/menus/syslinux/main.cfg looks like this:MENU INCLUDE /ubcd/menus/syslinux/defaults.cfgDEFAULT /boot/syslinux/menu.c32PROMPT 0LABEL - MENU LABEL BOOTMGR COM32 /boot/syslinux/chain.c32 APPEND boot ntldr=/BOOTMGRMENU SEPARATORLABEL -MENU LABEL Boot next deviceTEXT HELP Boot next device in the boot sequence. Supporting BIOS required. May not work with all systems.ENDTEXTLOCALBOOT -1LABEL -MENU LABEL RebootTEXT HELP Reboot the PCENDTEXTKERNEL /boot/syslinux/reboot.c32APPEND -MENU SEPARATORWhich ISO file size do you get? Do you get a file greater 4GB ?Which mkisofs -version do you use?ISO size is 385mb with ubcd and the Vista Recovery environment. With the ubcd files and BOOT.WIM stripped out its 5MB. I am using the one included with UBCD 5.0b12 = mkisofs 2.01-bootcd.ru (i386-pc-mingw32)Cross checked myself:mkisofs.exe -iso-level 4 -l -R -J -joliet-long -D -V VOLUME_ID -o ..\o.iso -b "BOOT/isolinux/isolinux.bin" -c "BOOT/isolinux/boot.catalog" -hide "BOOT/isolinux/boot.catalog" -hide-joliet "BOOT/isolinux/boot.catalog" -no-emul-boot -boot-load-size 4 -boot-info-table -graft-points /BOOT/etfsboot.bin=BOOT/etfsboot.com .Bootmgr does find BCD, PE does boot.or mkisofs.exe -iso-level 4 -r -joliet-long -D -V VOLUME_ID -o ..\o.iso -b "BOOT/isolinux/isolinux.bin" -hide "boot.catalog" -hide-joliet "boot.catalog" -no-emul-boot -boot-load-size 4 -boot-info-table -graft-points /BOOT/etfsboot.bin=BOOT/etfsboot.com .I tried both the those mkisfofs lines and the result is still the same (File: \Boot\BCD Status: 0xc000000e Info: An error occurred while attempting to read the boot configuration data.) The way I create the iso is run administrator command prompt, CD c:\ubcd-stripped\ubcd\tools\win32\ubcd2iso\, and then run either ubcd2iso or ubcd2iso1 or ubcd2iso2. the script variables are: (script) (ubcdfileslocation eg. c:\ubcd-stripped) (location/name of what i want the ISO to be eg. c:\ubcd-stripped.iso)ubcd2iso = original build script from ubcd 5.0b12ubcd2iso1 = modified mkisofs line to look like first one in quote:"%~p0\mkisofs.exe" -iso-level 4 -l -R -J -joliet-long -D -V %VOLUME_ID% -o "%a2%" -b "BOOT/isolinux/isolinux.bin" -c "BOOT/isolinux/boot.catalog" -hide "BOOT/isolinux/boot.catalog" -hide-joliet "BOOT/isolinux/boot.catalog" -no-emul-boot -boot-load-size 4 -boot-info-table -graft-points /BOOT/etfsboot.bin=BOOT/etfsboot.com .ubcd2iso2 = modified mkisofs line to look like your second one in quote:"%~p0\mkisofs.exe" -iso-level 4 -r -joliet-long -D -V %VOLUME_ID% -o "%a2%" -b "BOOT/isolinux/isolinux.bin" -hide "boot.catalog" -hide-joliet "boot.catalog" -no-emul-boot -boot-load-size 4 -boot-info-table -graft-points /BOOT/etfsboot.bin=BOOT/etfsboot.com .Please feel free to download the files I provided in the beginning of the thread. They are the same files I am using. What do I seem to be missing?thanks,dpc Edited July 23, 2009 by delicatepc Link to comment Share on other sites More sharing options...
cdob Posted July 23, 2009 Share Posted July 23, 2009 LABEL - MENU LABEL BOOTMGR COM32 /boot/syslinux/chain.c32 APPEND boot ntldr=/BOOTMGRChain.32 does cause current behaviour.Try the classic approach: boot sector file. Isolinux support extension .bin. Hence the mkisofs -graft-pointslabel b MENU LABEL ^BOOTMGR etfsboot.bin kernel /BOOT/etfsboot.binBack to chain.32:http://www.boot-land.net/forums/index.php?...ost&p=72127chain.c32 did always set the boot drive to 0x80 in the DL register when it was started from ISOLINUX, because it was assumed that chainloaded bootsectors are made for hard drives.Bootmgr dosn't detect a CD anymore. Bootmgr search BCD at a hard disk layout and dosn't find one.There is a fixed chain.32 abailable at above link. Bootmgr does find BCD at CD. Link to comment Share on other sites More sharing options...
delicatepc Posted July 23, 2009 Author Share Posted July 23, 2009 It works!!! Thank you!I am going to use the patched chain.c32 for now and maybe in the future I will switch to the classic approach you mentioned (but I dont want an extra menu item just for when booting ISO). For my USB installs they are using latest chain.c32 from syslinux and the iso uses all the same files except the script replaces the chain.c32 with the patched one for the iso.Thank you very much, Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now