Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Innocent Devil

bootmgr based Multiboot DVD ( currently XP & Vista)

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.aspx

This is what I ended up with:

Rem Creates BCD (boot configuration data) for Windows 2003 - PE 2.0 DVD
set bcdedit=D:\multiboot\boot\bcdedit
set BCD-File=D:\multiboot\boot\bcd
del %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.sdi

set A=Windows 2003 R2 - Standard Edition - Automated Install
set B=Windows 2003 R2 - Standard Edition - Manual install
set C=Windows 2003 R2 - Standard Edition EVAL License - Automated Install
set 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 all

cdimage.exe -lMultiBoot_Test -u1 -e -oi -m -h -bD:\multiboot\boot\etfsboot.com D:\multiboot "multiboot_test.iso"

Now everything works nicely. :thumbup

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 :)

Share this post


Link to post
Share on other sites

help me

Before 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 boot

bcdedit /store H:\boot\bcd /set {ntldr} path \I386\SETUPLDR.BIN

bcdedit /store H:\boot\bcd /displayorder {ntldr} /addfirst

bcdedit /store H:\boot\bcd /set {bootmgr} displaybootmenu yes

bcdedit /store H:\boot\bcd /set {default} description "Windows Vista"

bcdedit /store H:\boot\bcd /default {ntldr}

thank you

Edited by sanyinet

Share this post


Link to post
Share on other sites

I have solved the problem, my mistake. Not necessary change things by UltraISO otherwise you lose the parameters of boot BCEdit.

Thank you ;)

Share this post


Link to post
Share on other sites
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.aspx

This is what I ended up with:

Rem Creates BCD (boot configuration data) for Windows 2003 - PE 2.0 DVD
set bcdedit=D:\multiboot\boot\bcdedit
set BCD-File=D:\multiboot\boot\bcd
del %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.sdi

set A=Windows 2003 R2 - Standard Edition - Automated Install
set B=Windows 2003 R2 - Standard Edition - Manual install
set C=Windows 2003 R2 - Standard Edition EVAL License - Automated Install
set 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 all

cdimage.exe -lMultiBoot_Test -u1 -e -oi -m -h -bD:\multiboot\boot\etfsboot.com D:\multiboot "multiboot_test.iso"

Now everything works nicely. :thumbup

When I do this, every menu item that shows in the Windows Boot Manager is named "Ramdisk options". Thoughts?

Share this post


Link to post
Share on other sites
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.aspx

This is what I ended up with:

Rem Creates BCD (boot configuration data) for Windows 2003 - PE 2.0 DVD
set bcdedit=D:\multiboot\boot\bcdedit
set BCD-File=D:\multiboot\boot\bcd
del %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.sdi

set A=Windows 2003 R2 - Standard Edition - Automated Install
set B=Windows 2003 R2 - Standard Edition - Manual install
set C=Windows 2003 R2 - Standard Edition EVAL License - Automated Install
set 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 all

cdimage.exe -lMultiBoot_Test -u1 -e -oi -m -h -bD:\multiboot\boot\etfsboot.com D:\multiboot "multiboot_test.iso"

Now everything works nicely. :thumbup

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 by Stratuscaster

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...