arfett Posted February 1, 2008 Posted February 1, 2008 I meant it was nlited when it did work...It's still nlited, but I don't recall which version I used when it worked as this was several months ago and I'm sure I've changed several removals since then.
EmRoD Posted March 12, 2008 Posted March 12, 2008 I figured out how to get multiple Win PE 2.0 WIMs in the menu with help from the posting here:http://www.deployvista.com/Blog/JohanArwidmark/tabid/78/EntryID/27/Default.aspxThis is what I ended up with:Rem Creates BCD (boot configuration data) for Windows 2003 - PE 2.0 DVDset bcdedit=D:\multiboot\boot\bcdeditset BCD-File=D:\multiboot\boot\bcddel %BCD-File%%bcdedit% /createstore %BCD-File%%bcdedit% /store %BCD-File% /create {ramdiskoptions} /d "Ramdisk options" %bcdedit% /store %BCD-File% /set {ramdiskoptions} ramdisksdidevice boot%bcdedit% /store %BCD-File% /set {ramdiskoptions} ramdisksdipath \boot\boot.sdiset A=Windows 2003 R2 - Standard Edition - Automated Installset B=Windows 2003 R2 - Standard Edition - Manual installset C=Windows 2003 R2 - Standard Edition EVAL License - Automated Installset D=Hardware Setup (Windows PE)set E=Quick Restore (Windows PE)for /f "tokens=1-3" %%a in ('%bcdedit% /store %BCD-File% /create /application OSLOADER /d "%A%"') do set guida=%%c%bcdedit% /store %BCD-File% /set %guida% device boot%bcdedit% /store %BCD-File% /set %guida% path \STDO\SETUPLDR.BIN%bcdedit% /store %BCD-File% /set %guida% DESCRIPTION "%A%"for /f "tokens=1-3" %%a in ('%bcdedit% /store %BCD-File% /create /application OSLOADER /d "%B%"') do set guidb=%%c%bcdedit% /store %BCD-File% /set %guidb% device boot%bcdedit% /store %BCD-File% /set %guidb% path \STDO\SETUPLDR.BIN%bcdedit% /store %BCD-File% /set %guidb% DESCRIPTION "%B%"for /f "tokens=1-3" %%a in ('%bcdedit% /store %BCD-File% /create /application OSLOADER /d "%C%"') do set guidc=%%c%bcdedit% /store %BCD-File% /set %guidc% device boot%bcdedit% /store %BCD-File% /set %guidc% path \STDO\SETUPLDR.BIN%bcdedit% /store %BCD-File% /set %guidc% DESCRIPTION "%C%"for /f "tokens=1-3" %%a in ('%bcdedit% /store %BCD-File% /create /d "%D%" /application osloader') do set guidd=%%c%bcdedit% /store %BCD-File% /set %guidd% systemroot \Windows%bcdedit% /store %BCD-File% /set %guidd% detecthal Yes%bcdedit% /store %BCD-File% /set %guidd% winpe Yes%bcdedit% /store %BCD-File% /set %guidd% osdevice ramdisk=[boot]\sources\hwsetup.wim,{ramdiskoptions}%bcdedit% /store %BCD-File% /set %guidd% device ramdisk=[boot]\sources\hwsetup.wim,{ramdiskoptions}for /f "tokens=1-3" %%a in ('%bcdedit% /store %BCD-File% /create /d "%E%" /application osloader') do set guide=%%c%bcdedit% /store %BCD-File% /set %guide% systemroot \Windows%bcdedit% /store %BCD-File% /set %guide% detecthal Yes%bcdedit% /store %BCD-File% /set %guide% winpe Yes%bcdedit% /store %BCD-File% /set %guide% osdevice ramdisk=[boot]\sources\restore.wim,{ramdiskoptions}%bcdedit% /store %BCD-File% /set %guide% device ramdisk=[boot]\sources\restore.wim,{ramdiskoptions}%bcdedit% /store %BCD-File% /create {bootmgr} /d "Windows Vista Bootloader":: %bcdedit% /store %BCD-File% /set {bootmgr} timeout 30 %bcdedit% /store %BCD-File% /set {bootmgr} displayorder %guida% %guidb% %guidc% %guidd% %guide%%bcdedit% /store %BCD-File% /enum allcdimage.exe -lMultiBoot_Test -u1 -e -oi -m -h -bD:\multiboot\boot\etfsboot.com D:\multiboot "multiboot_test.iso"Now everything works nicely. Thansk for the script for me it reports errors on the [b]for /f "tokens=1-3" %%a in ('%bcdedit% /store %BCD-File% /create /d "%D%" /application osloader') do set guidd=%%c[/b]Lines, i've modded them to : for /f "[i][b]tokens=2[/b][/i]" %%a in ('%bcdedit% /store %BCD-File% /create /d "%D%" /application osloader') do set guidd=[b]%%[i]a[/i][/b]I'm using a french bcdedit version
sanyinet Posted April 11, 2008 Posted April 11, 2008 (edited) help meBefore I worked perfectly!I would be getting an NTDETECT failed message when I start my XP PRO install off of my hard disk, but not in VMware off of a .iso file would you? I used the bcd commands in this order:bcdedit /store H:\boot\bcd /create {ntldr} /d "Windows XP Professional"bcdedit /store H:\boot\bcd /set {ntldr} device bootbcdedit /store H:\boot\bcd /set {ntldr} path \I386\SETUPLDR.BINbcdedit /store H:\boot\bcd /displayorder {ntldr} /addfirstbcdedit /store H:\boot\bcd /set {bootmgr} displaybootmenu yesbcdedit /store H:\boot\bcd /set {default} description "Windows Vista"bcdedit /store H:\boot\bcd /default {ntldr} thank you Edited April 11, 2008 by sanyinet
sanyinet Posted April 30, 2008 Posted April 30, 2008 I have solved the problem, my mistake. Not necessary change things by UltraISO otherwise you lose the parameters of boot BCEdit.Thank you
Stratuscaster Posted January 29, 2009 Posted January 29, 2009 I figured out how to get multiple Win PE 2.0 WIMs in the menu with help from the posting here:http://www.deployvista.com/Blog/JohanArwidmark/tabid/78/EntryID/27/Default.aspxThis is what I ended up with:Rem Creates BCD (boot configuration data) for Windows 2003 - PE 2.0 DVDset bcdedit=D:\multiboot\boot\bcdeditset BCD-File=D:\multiboot\boot\bcddel %BCD-File%%bcdedit% /createstore %BCD-File%%bcdedit% /store %BCD-File% /create {ramdiskoptions} /d "Ramdisk options" %bcdedit% /store %BCD-File% /set {ramdiskoptions} ramdisksdidevice boot%bcdedit% /store %BCD-File% /set {ramdiskoptions} ramdisksdipath \boot\boot.sdiset A=Windows 2003 R2 - Standard Edition - Automated Installset B=Windows 2003 R2 - Standard Edition - Manual installset C=Windows 2003 R2 - Standard Edition EVAL License - Automated Installset D=Hardware Setup (Windows PE)set E=Quick Restore (Windows PE)for /f "tokens=1-3" %%a in ('%bcdedit% /store %BCD-File% /create /application OSLOADER /d "%A%"') do set guida=%%c%bcdedit% /store %BCD-File% /set %guida% device boot%bcdedit% /store %BCD-File% /set %guida% path \STDO\SETUPLDR.BIN%bcdedit% /store %BCD-File% /set %guida% DESCRIPTION "%A%"for /f "tokens=1-3" %%a in ('%bcdedit% /store %BCD-File% /create /application OSLOADER /d "%B%"') do set guidb=%%c%bcdedit% /store %BCD-File% /set %guidb% device boot%bcdedit% /store %BCD-File% /set %guidb% path \STDO\SETUPLDR.BIN%bcdedit% /store %BCD-File% /set %guidb% DESCRIPTION "%B%"for /f "tokens=1-3" %%a in ('%bcdedit% /store %BCD-File% /create /application OSLOADER /d "%C%"') do set guidc=%%c%bcdedit% /store %BCD-File% /set %guidc% device boot%bcdedit% /store %BCD-File% /set %guidc% path \STDO\SETUPLDR.BIN%bcdedit% /store %BCD-File% /set %guidc% DESCRIPTION "%C%"for /f "tokens=1-3" %%a in ('%bcdedit% /store %BCD-File% /create /d "%D%" /application osloader') do set guidd=%%c%bcdedit% /store %BCD-File% /set %guidd% systemroot \Windows%bcdedit% /store %BCD-File% /set %guidd% detecthal Yes%bcdedit% /store %BCD-File% /set %guidd% winpe Yes%bcdedit% /store %BCD-File% /set %guidd% osdevice ramdisk=[boot]\sources\hwsetup.wim,{ramdiskoptions}%bcdedit% /store %BCD-File% /set %guidd% device ramdisk=[boot]\sources\hwsetup.wim,{ramdiskoptions}for /f "tokens=1-3" %%a in ('%bcdedit% /store %BCD-File% /create /d "%E%" /application osloader') do set guide=%%c%bcdedit% /store %BCD-File% /set %guide% systemroot \Windows%bcdedit% /store %BCD-File% /set %guide% detecthal Yes%bcdedit% /store %BCD-File% /set %guide% winpe Yes%bcdedit% /store %BCD-File% /set %guide% osdevice ramdisk=[boot]\sources\restore.wim,{ramdiskoptions}%bcdedit% /store %BCD-File% /set %guide% device ramdisk=[boot]\sources\restore.wim,{ramdiskoptions}%bcdedit% /store %BCD-File% /create {bootmgr} /d "Windows Vista Bootloader":: %bcdedit% /store %BCD-File% /set {bootmgr} timeout 30 %bcdedit% /store %BCD-File% /set {bootmgr} displayorder %guida% %guidb% %guidc% %guidd% %guide%%bcdedit% /store %BCD-File% /enum allcdimage.exe -lMultiBoot_Test -u1 -e -oi -m -h -bD:\multiboot\boot\etfsboot.com D:\multiboot "multiboot_test.iso"Now everything works nicely. When I do this, every menu item that shows in the Windows Boot Manager is named "Ramdisk options". Thoughts?
Stratuscaster Posted January 29, 2009 Posted January 29, 2009 (edited) I figured out how to get multiple Win PE 2.0 WIMs in the menu with help from the posting here:http://www.deployvista.com/Blog/JohanArwidmark/tabid/78/EntryID/27/Default.aspxThis is what I ended up with:Rem Creates BCD (boot configuration data) for Windows 2003 - PE 2.0 DVDset bcdedit=D:\multiboot\boot\bcdeditset BCD-File=D:\multiboot\boot\bcddel %BCD-File%%bcdedit% /createstore %BCD-File%%bcdedit% /store %BCD-File% /create {ramdiskoptions} /d "Ramdisk options" %bcdedit% /store %BCD-File% /set {ramdiskoptions} ramdisksdidevice boot%bcdedit% /store %BCD-File% /set {ramdiskoptions} ramdisksdipath \boot\boot.sdiset A=Windows 2003 R2 - Standard Edition - Automated Installset B=Windows 2003 R2 - Standard Edition - Manual installset C=Windows 2003 R2 - Standard Edition EVAL License - Automated Installset D=Hardware Setup (Windows PE)set E=Quick Restore (Windows PE)for /f "tokens=1-3" %%a in ('%bcdedit% /store %BCD-File% /create /application OSLOADER /d "%A%"') do set guida=%%c%bcdedit% /store %BCD-File% /set %guida% device boot%bcdedit% /store %BCD-File% /set %guida% path \STDO\SETUPLDR.BIN%bcdedit% /store %BCD-File% /set %guida% DESCRIPTION "%A%"for /f "tokens=1-3" %%a in ('%bcdedit% /store %BCD-File% /create /application OSLOADER /d "%B%"') do set guidb=%%c%bcdedit% /store %BCD-File% /set %guidb% device boot%bcdedit% /store %BCD-File% /set %guidb% path \STDO\SETUPLDR.BIN%bcdedit% /store %BCD-File% /set %guidb% DESCRIPTION "%B%"for /f "tokens=1-3" %%a in ('%bcdedit% /store %BCD-File% /create /application OSLOADER /d "%C%"') do set guidc=%%c%bcdedit% /store %BCD-File% /set %guidc% device boot%bcdedit% /store %BCD-File% /set %guidc% path \STDO\SETUPLDR.BIN%bcdedit% /store %BCD-File% /set %guidc% DESCRIPTION "%C%"for /f "tokens=1-3" %%a in ('%bcdedit% /store %BCD-File% /create /d "%D%" /application osloader') do set guidd=%%c%bcdedit% /store %BCD-File% /set %guidd% systemroot \Windows%bcdedit% /store %BCD-File% /set %guidd% detecthal Yes%bcdedit% /store %BCD-File% /set %guidd% winpe Yes%bcdedit% /store %BCD-File% /set %guidd% osdevice ramdisk=[boot]\sources\hwsetup.wim,{ramdiskoptions}%bcdedit% /store %BCD-File% /set %guidd% device ramdisk=[boot]\sources\hwsetup.wim,{ramdiskoptions}for /f "tokens=1-3" %%a in ('%bcdedit% /store %BCD-File% /create /d "%E%" /application osloader') do set guide=%%c%bcdedit% /store %BCD-File% /set %guide% systemroot \Windows%bcdedit% /store %BCD-File% /set %guide% detecthal Yes%bcdedit% /store %BCD-File% /set %guide% winpe Yes%bcdedit% /store %BCD-File% /set %guide% osdevice ramdisk=[boot]\sources\restore.wim,{ramdiskoptions}%bcdedit% /store %BCD-File% /set %guide% device ramdisk=[boot]\sources\restore.wim,{ramdiskoptions}%bcdedit% /store %BCD-File% /create {bootmgr} /d "Windows Vista Bootloader":: %bcdedit% /store %BCD-File% /set {bootmgr} timeout 30 %bcdedit% /store %BCD-File% /set {bootmgr} displayorder %guida% %guidb% %guidc% %guidd% %guide%%bcdedit% /store %BCD-File% /enum allcdimage.exe -lMultiBoot_Test -u1 -e -oi -m -h -bD:\multiboot\boot\etfsboot.com D:\multiboot "multiboot_test.iso"Now everything works nicely. When I do this, every menu item that shows in the Windows Boot Manager is named "Ramdisk options". Thoughts?Problem solved. Found in another thread here - the BOOTMGR.EXE from the latest WAIK is the culprit. Using the BOOTMGR.EXE from the older WAIK displays the menu items correctly.The working BOOTMGR I have is version 6.0.6000.16386.The non-working BOOTMGR is version 6.0.6001.18000. Edited January 29, 2009 by Stratuscaster
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