Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Dual boot 7 and xp

27 Jun 2009   #1
nickmaza

Windows 7 and Windows Xp
 
 
Dual boot 7 and xp

I had vista(on C: ) and xp(on D: ) running on my PC. I easily setup a dual boot for vista and xp using bcdedit.

i installed 7 by formatting the drive (C: ) where vista was installed. I read on a blog that the setup will automatically detect the presence of xp and show it as "Earlier version of windows "in boot menu. but after installation there was no such option and windows 7 directly started.

I ran cmd as administrator and used the following command to add xp (as i did in vista) the commands were

Quote:
bcdedit /create {ntldr} /d "Microsoft Windows XP"
bcdedit /set {ntldr} device partition=c:
bcdedit /set {ntldr} path \ntldr
bcdedit /displayorder {ntldr} /addlast
Now my boot manager looks like :



Now an option for windows xp appears but on selecting it i get an error missing ntldr

so i copied the ntldr, ntdetect.com from the xp installation disc to the root of D and created a boot.ini

but that didn't help now the system restarts when i select Windows xp


have i missed some step or what? can any one help?

(I have windows xp Sp3 installed)



i think these screen shots might help ya

Folder options:

(all hidden files are shown)



D: Xp is installed here (i have deleted the ntldr and ntdetect.com and the boot.ini files that i had copied )

(after 7's installation none of these files were present the drive was same as it is in the screen shot)



C: 7 is installed here





Thanx in advance


My System SpecsSystem Spec
.
27 Jun 2009   #2
sup3rsprt

XP, Seven, 2008R2
 
 

In my case I have all the boot manager stuff on the C: partition (the active partition). That includes bootmgr and ntldr, boot.ini, etc.
My System SpecsSystem Spec
27 Jun 2009   #3
torrentg

7600.20510 x86
 
 

Edit your boot.ini file for XP. Change the rdisk value to something new than what it is now. (If it's 1, make it 0. If it's 0, make it 1...you can go all the way up to how many physical disks you have minus 1, to try.)

Change the rdisk value in all instances of the boot.ini.

Keep trying and rebooting until it either works or you run out of numbers. When you chose XP now in the dual boot menu, it is just trying to access the wrong partition or drive, hence the system restart.

Note: You will have to take off read-only on the boot.ini file to edit it. When you're done, replace it. Also, it is a hidden system file so you will have to enable viewing those too.
My System SpecsSystem Spec
.

27 Jun 2009   #4
kaik541

Windows 7 7232 x64, Windows XP SP3 x86, Ubunu 9.04 x64
 
 

Jebus, this is what I signed up for the forums for. I'm having this exact same issue. I tried using EasyBCD 2.0 beta 63 (which will autowrite the boot.ini and NTLDR if you don't have them)... but I checked out the boot.ini they gave me and its pointing to partition 4.

Here is my layout

|------XP----||-----Linux-----||-----7-----||swap|

So I think boot.ini should be pointing to partition 1, but its a read only file so I can't edit it =/

Edit: wow I feel dumb considering I knew that flag was easy to take off. Also just tried these settings and I get an error 0xc000007b whenever I try to boot it.

I then tried the command line commands (almost exactly what you did) and this is what I have:

Code:
Entry #1
Name: Windows 7 7229 x64
BCD ID: {current}
Drive: C:\
Bootloader Path: \Windows\system32\winload.exe

Entry #2
Name: Microsoft Windows XP
BCD ID: {ntldr}
Drive: C:\
Bootloader Path: \ntldr
Oh and Boot.ini
Code:
[boot loader]
timeout=20
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP on D:\" /fastdetect
My System SpecsSystem Spec
27 Jun 2009   #5
sup3rsprt

XP, Seven, 2008R2
 
 

you can clear the read-only flag by showing hidden system files and then right-clicking on boot.ini and go properties. Or use something like Notepad++ which lets you do it from the Edit menu.

Quote   Quote: Originally Posted by kaik541 View Post
Also just tried these settings and I get an error 0x000007bf whenever I try to boot it.
a blue screen of death? hmmm I don't think I've ever gotten a BSOD just from missing boot loader.
My System SpecsSystem Spec
27 Jun 2009   #6
kaik541

Windows 7 7232 x64, Windows XP SP3 x86, Ubunu 9.04 x64
 
 

I think my problem is, I originally had the same layout, but a 32 bit version of 7 which I changed to 64 bit (with Linux installed last for the GRUB bootloader) so XP was "hidden" behind GRUB (which BCD can't handle natively)... so somewhere along the way I lost my XP boot information.

is it possible for me to pop in my xp disk, use the repair command to get the original ntldr boot, then use a program like EasyBCD or some such to get the BCD back on?
My System SpecsSystem Spec
27 Jun 2009   #7
kaik541

Windows 7 7232 x64, Windows XP SP3 x86, Ubunu 9.04 x64
 
 

Quote   Quote: Originally Posted by sup3rsprt View Post
a blue screen of death? hmmm I don't think I've ever gotten a BSOD just from missing boot loader.
No, not a blue screen. its a simple error screen. (its black and white just like the bootloader) and all it says is there's something wrong and I need to insert my installation disc to repair the problem. and "hit enter to continue" (which takes me back to the loader) or "hit esc to cancel" (which restarts the PC)
My System SpecsSystem Spec
27 Jun 2009   #8
sup3rsprt

XP, Seven, 2008R2
 
 

Oh, yes I see what you mean about the error message. Sorry for the confusion.

I use a program called VistaBootPro to fix problems like this.

I never did spend much time on the command line options because that program makes it so easy. Others will know more about the commands than I do.
My System SpecsSystem Spec
27 Jun 2009   #9
kaik541

Windows 7 7232 x64, Windows XP SP3 x86, Ubunu 9.04 x64
 
 

EasyBCD is essentially the same idea, I'll give it a look and see

oh and correction to above error code:
0xc000007b (which seems to be a general failure to initialize error)
My System SpecsSystem Spec
27 Jun 2009   #10
sup3rsprt

XP, Seven, 2008R2
 
 

You're right, EasyBCD is a lot alike. They each seem to have some unique features. VistaBootPro will let you pick the drive or partition to install the system boot loader on. And you can choose between legacy and Vista bootloader (the Vista bootloader is the same as Windows 7).
My System SpecsSystem Spec
Reply

 Dual boot 7 and xp




Thread Tools




Similar help and support threads
Thread Forum
Dual Boot: Win7: Boot Manager Status: 0xc000000f boot selection failed
Hello, I have dual boot in my laptop with Ubuntnu 14.04 LTS and Windows 7 Home Premium 64 bit. Today after working on Ubuntu I restarted and switched to Windows and as soon as it logged in I noticed the battery was 0%. I thought maybe it was some kind of glitch or something (silly me!) so I just...
General Discussion
Dual Boot menu still present even tho im not dual booting
Hi, So i was dual booting 2 windows 7 of my computer as one of them stuff up so i was transfering all my data over to the new windows 7. I use partion wizard to delete the old windows 7 and extend the size of the new windows 7. No every time i start my PC up i get presented with the dual...
Installation & Setup
Going from XP/XP dual boot to Win7/XP dual boot on a new drive
Hi, This is my first question on this forum. The drives on my PC are currently configured the following way: Disk 1 (600 GB) - Partition 1: C: "System" (XP, bootable) (50 GB) - Partition 2: D: "Music" (XP, bootable) (50 GB) - Partition 3: E: "Samples" (500 Go) Disk 2 (1 TB) -...
Installation & Setup
windows 7 and linux fedora dual boot with dual drives
hello, i have some questions regarding dual booting windows 7 home premium x64 with linux fedora 14 on dual independantly dedicated drives. i am a college student with moderate computer (windows) knowledge but am doing software development and would like to play around with some linux for a class....
General Discussion
dual boot , reinstall the windows and lost dual boot
Hello Everyone , i was wondering if anyone could help me in this matter : i have windows7 and Redhat on my Laptop , i have removed and reinstalled the Windows7 last night and after that lost the Dual boot option , in fact the system is booting on windows7 and there is no option to chose...
Installation & Setup
Dual Boot Issue (Lost my Dual Boot Menu)
Hey Guys, So I just got my hands on Windows 7 and wanted to play around with it, and everything works but: Previous Computer Setup: I had a dual boot with XP and Vista that worked perfectly (both OS's were on separate HD's and worked / booted correctly.) Drive C: --------> Vista (Now...
Installation & Setup


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:37.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App