Innocent Devil Posted June 19, 2007 Posted June 19, 2007 (edited) To create multiboot dvd with XP and Vista,first we have to add XP to bcd store of Vista DVD's bcdcopy vista dvd to folder say d:\vista-lCopy XP CD to the same folder (i386,WINIP etc should be in the root of the disc along with sources, boot etc)open cmd and type(get bcdedit.exe from Vista DVD's boot folder)bcdedit /store D:\vista-l\boot\bcd /create {ntldr} /d "Windows XP setup"bcdedit /store D:\vista-l\boot\bcd /set {ntldr} device bootbcdedit /store D:\vista-l\boot\bcd /set {ntldr} path \I386\SETUPLDR.BIN bcdedit /store D:\vista-l\boot\bcd /displayorder {ntldr} /addlastbcdedit /store D:\vista-l\boot\bcd /set {bootmgr} displaybootmenu yesokay, now the boot store is ready.Now create the DVD image as usual using cd imagecdimage -lXP_Vista -j1 -u1 -e -m -h -bD:\vista-l\boot\etfsboot.com D:\vista-l d:\xp-vista.isoSimilarly any NT based os (atleast XP, 2003) can be booted using bootmgrEven More!!!u can use boomgr without vista sourceie, it can be used for creating multiboot dvd of XP, 2003 etconly u need the "boot" folder and "bootmgr" at root of DVD/CDTesting : I did it with vLited Vista and nLied XP ProUPDATE:1. Delay in XP setup due to UDF filesystem It is been reported that -u1 switch for cdimage causing delay in XP setup. Possible reason 4 this will be due to XP setup reluctantancy to load files from mirror UDF filesystem than joliet (-j1) file system. AFAIK joliet filesystem max. single file size is 2GB if u r install.wim is < 2GB then no problem occurs on avoiding -u1 otherwise u need u include -u1.2. multibooting vista/server 2k8 Since the path (and name) of install.wim is hardcoded to <DVD_ROOT>\Sources\install.wim it is impossile to install them along in same dvd using bootmgr. If anybody know workarounds please post it. Suggested solution is to merge the install.wim's Thus making single install.wim with versions of Vista and Server 2k8 (like merging Vista x86 & x64 into one wim) and selecting required version from unattened.xml3. To remove ems support (the vista entry shows Windows Vista Setup [EMS Enabled]) bcdedit -store D:\vista-l\boot\bcd /bootems {bootmgr} OFF Edited December 18, 2007 by Innocent Devil
Who-Me? Posted July 5, 2007 Posted July 5, 2007 I tried running your code all went well except for the last two lines of code the errors are listed below along with the code I ranc:\EasyBoot\Disc1>bcdedit /store C:\EasyBoot\disc1\bcd /displayorder {NTLDR} /addlastAn error has occurred setting the element data.The system cannot find the file specified.c:\EasyBoot\Disc1>bcdedit /store C:\EasyBoot\disc1\bcd /set {bootmgr} displaybootmenu yesAn error occurred while attempting to reference the specified entry.The system cannot find the file specified.Am i missing something here ??Thnx in advance
tap52384 Posted July 5, 2007 Posted July 5, 2007 Using this same method, could you give directions for creating a multiboot CD with WinPE 2.0 and Windows XP? Even better, could you explain how to install WinPE 2.0 on the hard drive? Thanks so much in advance!
Who-Me? Posted July 10, 2007 Posted July 10, 2007 (edited) Here is a link to microsoft website that will help u outInstall WinPE onto HDD Edited July 10, 2007 by Who-Me?
Innocent Devil Posted July 14, 2007 Author Posted July 14, 2007 try "-store" instead of "/store"The command require Admin Privilages bcoz it uses HKLM registry hiveso in XP u require Admin account & in Vista aministrator Privilaged Command Window
Ausmith1 Posted August 3, 2007 Posted August 3, 2007 Thanks for the great tip, I got this to work very well for multi-booting Windows PE 2.0 (the new Vista based version) and several editions of Windows 2003 on a single DVD. However I cannot get the resulting ISO to boot once I add a second instance of Windows PE to the bcd store, has anyone tried doing this and gotten it working?Here are the docs I worked from:Boot Configuration Data Editor Frequently Asked Questionshttp://technet.microsoft.com/en-us/windows...a/aa905126.aspxHere is what I did:Started with Windows PE 2.0 files from WAIK (x86).[Root]D:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /set {bootmgr} displaybootmenu yesD:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /set {default} DESCRIPTION "Windows PE 2.0"D:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /set {default} EMS noD:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /deletevalue {bootmgr} TIMEOUT[boot Option #1]D:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /create /application OSLOADER /d "Windows Server 2003 R2 - Standard Edition - Automated Install"D:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /set {2770bd0a-4174-11dc-97f6-005056b27ab4} device bootD:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /set {2770bd0a-4174-11dc-97f6-005056b27ab4} path \STDO\SETUPLDR.BIND:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /displayorder {2770bd0a-4174-11dc-97f6-005056b27ab4} /addlastD:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /set {2770bd0a-4174-11dc-97f6-005056b27ab4} DESCRIPTION "Windows 2003 R2 - Standard Edition - Automated Install"[boot Option #2]D:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /create /application OSLOADER /d "Windows Server 2003 R2 - Standard Edition - Manual install"D:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /set {3963abdf-4174-11dc-97f6-005056b27ab4} device bootD:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /set {3963abdf-4174-11dc-97f6-005056b27ab4} path \STDM\SETUPLDR.BIND:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /displayorder {3963abdf-4174-11dc-97f6-005056b27ab4} /addlastD:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /set {3963abdf-4174-11dc-97f6-005056b27ab4} DESCRIPTION "Windows 2003 R2 - Standard Edition - Manual install"[boot Option #3]D:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /create /application OSLOADER /d "Windows Server 2003 R2 - Standard Edition EVAL License - Automated Install"D:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /set {4828a50f-4174-11dc-97f6-005056b27ab4} device bootD:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /set {4828a50f-4174-11dc-97f6-005056b27ab4} path \STDE\SETUPLDR.BIND:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /displayorder {4828a50f-4174-11dc-97f6-005056b27ab4} /addlastD:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /set {4828a50f-4174-11dc-97f6-005056b27ab4} DESCRIPTION "Windows 2003 R2 - Standard Ed. EVAL License - Automated Install"This config boots up to here.[Add second instance of Windows PE to menu]D:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /copy {default} /d "System Quick Restore (Windows PE)"This config boots up to here too.D:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /set {4d28b85c-4183-11dc-97f6-005056b27ab4} device ramdisk=[boot]\sources\restore.wim,{4d28b85c-4183-11dc-97f6-005056b27ab4}D:\multiboot\boot\bcdedit /store D:\multiboot\boot\bcd /set {4d28b85c-4183-11dc-97f6-005056b27ab4} osdevice ramdisk=[boot]\sources\restore.wim,{4d28b85c-4183-11dc-97f6-005056b27ab4}Editing these two lines causes the ISO to no longer boot.Any ideas?
Sudarshan Posted August 3, 2007 Posted August 3, 2007 Is this approach also works for creating Multibootable DVD of Windows vista alongwith Windows server 2008 code name Longhorn?Waiting for answer..........
sayeds Posted August 3, 2007 Posted August 3, 2007 Cool Stuff Guyz.I did mine a month ago, but differently.using vista's boot sector and easyboot's xp boot sector, I even managed (with some research) a GuiRunOnce in the vista unattended file. Only downfall is that Windows post installer is not vista compatible so I had to use windows commandscript instead. It Sucks.Also using my oem license i got it to activate by itself.Unfortunately I wont be uploading the iso due to the fact that my oem key is an original.But I'm willing to help you create your own via this forum:thumbsup
Sudarshan Posted August 3, 2007 Posted August 3, 2007 Hi friends,I have tried the same approach for making bootable DVD of Windows Vista and Windows Server 2008 code name Longhorn.I have taken Longhorn Installation Image in "Root" folder and created a folder named "Vista" in it and copied Vista Installation Image into that folder.I have edited the bcd file of longhorn and given path of vista bootmgr into it.(i.e. \Vista\bootmgr ).The DVD booted fine and shown two optionsWindows SetupWindows Vista When I selected "Windows Setup", it successfully started longhorn installation. But when I selected "Windows Vista" it again shown the previous window. I tried again and again it shown the same window. It is an Infinite Loop.I guess, when I selected "Windows Vista" the bootmgr of Vista is loaded but it is using the same bcd file of Longhorn and showing the same options again.If my guess is right, Can u tell me, How can I modify bootmgr so that it can read \Vista\boot\bcd file instead of \boot\bcd?Thanks in advance.........
Innocent Devil Posted August 3, 2007 Author Posted August 3, 2007 bootmgr is the "bootloader" not the Boot Configuration Data (aka BCD)the dvd bootsector ( etfsboot.com ) always loads the bootmgr from ROOT of the DVDthis bootmgr checks for the boot configuration data in <DVD_ROOT>\Boot\bcd file(This is same as what u seen in HDD install too The bootmgr in C: drive loads only C:\Boot\bcd)So you have to edit the <DVD_ROOT>\Boot\bcd store in order to load any otheru did wat is to instruct <DVD_ROOT>\bootmgr to load <DVD_ROOT>\Vista\bootmgr --> Okay this is workingbut then <DVD_ROOT>\Vista\bootmgr searches <DVD_ROOT>\Boot\bcd and loads the fileThus it goes in a loop.Okay to solve the issuefirst understand how <DVD_ROOT>\Vista\Boot\bcd loads the OS ( bcdedit /store <DVD_ROOT>\Vista\Boot\bcd /enum /v )then copy the same conf to <DVD_ROOT>\Boot\bcd by creating ne entry in the storeu should change the bcd parameters likeosdevice which by default will be ramdisk=[boot]\boot.wim,{GUID}to ramdisk=[boot]\<properpath>\boot.wim,{GUID}
Ausmith1 Posted August 3, 2007 Posted August 3, 2007 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.
Sudarshan Posted August 6, 2007 Posted August 6, 2007 Hi Ausmith1,Can u be more specific and tell me the solution for making Windows Vista and Windows Server 2008 Codename Longhorn in a single bootable DVD?
Sudarshan Posted August 6, 2007 Posted August 6, 2007 bootmgr is the "bootloader" not the Boot Configuration Data (aka BCD)the dvd bootsector ( etfsboot.com ) always loads the bootmgr from ROOT of the DVDthis bootmgr checks for the boot configuration data in <DVD_ROOT>\Boot\bcd file(This is same as what u seen in HDD install too The bootmgr in C: drive loads only C:\Boot\bcd)So you have to edit the <DVD_ROOT>\Boot\bcd store in order to load any otheru did wat is to instruct <DVD_ROOT>\bootmgr to load <DVD_ROOT>\Vista\bootmgr --> Okay this is workingbut then <DVD_ROOT>\Vista\bootmgr searches <DVD_ROOT>\Boot\bcd and loads the fileThus it goes in a loop.Okay to solve the issuefirst understand how <DVD_ROOT>\Vista\Boot\bcd loads the OS ( bcdedit /store <DVD_ROOT>\Vista\Boot\bcd /enum /v )then copy the same conf to <DVD_ROOT>\Boot\bcd by creating ne entry in the storeu should change the bcd parameters likeosdevice which by default will be ramdisk=[boot]\boot.wim,{GUID}to ramdisk=[boot]\<properpath>\boot.wim,{GUID}I am sorry, but I don't understood what u want to say?Can u be more specific...........
Innocent Devil Posted August 7, 2007 Author Posted August 7, 2007 u have to create the boot configuration data for loading Vista's WIMint \boot\bcdie the "Windows Vista" should have a proper defnition in the bcd like "Windows Setup" no just loading the \Vista\bootmgrtry to copy the settings of "Windows Setup" and change the paths of osdevice and device options
Sudarshan Posted August 8, 2007 Posted August 8, 2007 Thats gr8.......thank u very much........Vista is booted properly but still have a problem....... After I clicked on Install Now, a message box came telling "A reqiured CD/DVD drive device driver is missing. If you have a driver floppy disk, CD, DVD or USB flash drive,Please insert it Now."Can you tell me why this message came and how I can solve it?
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