Jump to content

multiboot XPPROSP2/WIN2K3SP2/WIN2K8SP1 using bcdedit


vivekjk

Recommended Posts

need some help getting all in one dvd

Windows XP Pro SP2

Windows 2003 Std SP2

Windows Server 2008 SP1

i have been going through some of these threads here and getting errors:

I am using the following script to create the disk, let me know whats wrong here. Coz i cannot install WinXP or Win2K8 using this and Win2K3 gives NTLDR missing.

Rem Creates BCD (boot configuration data) for Windows 2008, 2003 and XP DVD
set bcdedit=E:\multiboot\boot\bcdedit
set BCD-File=E:\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 Server 2008 SP1
set B=Windows XP Professional SP2
set C=Windows Server 2003 SP2 Standard Edition

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% 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 \XPPRO\I386\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 \WIN2K3\I386\SETUPLDR.BIN
bcdedit /store %BCD-File% /set %guidc% DESCRIPTION "%C%"

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%
bcdedit /store %BCD-File% /set {bootmgr} displaybootmenu yes
bcdedit /store %BCD-File% /enum all

Link to comment
Share on other sites


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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...