You are on page 1of 1

My situation was Windows 7 on C: partition, Windows XP on D: partition and with

the PC booting into XP automatically.


First step, get Windows 7 to boot. Run the Windows 7 DVD and repair an existing
installation from the command prompt.
bcdboot c:\windows /s d:
The "d:" specifies the target partition where boot files are copied. My first tr
y was with the target partition "c:"
but this didn't work as "d:" was the current boot partition.
This got Windows 7 booting OK, but then I needed to add XP back into the boot op
tions.
From a command prompt (run as administrator) in Windows 7...
bcdedit /create {ntldr} /d "Windows XP"
bcdedit /set {ntldr} device partition=D:
bcdedit /set {ntldr} path \ntldr
bcdedit /displayorder {ntldr} /addlast
XP was was now showing in my list of boot entries. The final step was to copy th
e boot files "ntdetect.com" and "ntldr" into the D:\ root directory.
g.mihai@globalteh.ro

You might also like