How to dual boot Vista and XP (with Vista installed first) -- the step-by-step guide with screenshots

Send to a friend Print

Help more people find out about this story

Del.icio.us
StumbleUpon

James Bannan19 December 2007, 4:00 PM

UPDATED | Got a Vista PC and want to install XP so you can dual-boot between them? Here's how to do it, in an easy, step-by-step format.

Page 3 - Now Install Windows XP

When the Windows XP setup reaches the point where you’re prompted where it is to be installed, you’ll see that while XP can see the space we created earlier, it can also see the partition with Vista on it.

You should be able to see the space you reclaimed on the disk earlier which has become "unallocated space".

Create a second partition using the Windows XP installer screen above by selecting the free space on the drive and pressing "C" to create a partition (if prompted, choose NTFS as the file system.)

Irritatingly, XP assigns a drive letter to this partition (C:) which means that it will use the next available drive letter after all the other physical drives have been taken into account.

This means that the system drive of the XP installation won’t be C:.

From XP’s perspective this isn’t really a problem – it’s smart enough to figure out where everything should go – but some applications make assumptions about where they should install to, and can’t cope with a non-standard Windows configuration.

This was also the case with our tutorial on dualbooting Ubuntu and XP, where Ubuntu had been installed first. However in that scenario, even though the XP system drive had a non-standard drive letter, it couldn’t read the Linux partitions so there was no danger of the two systems overlapping. This is not the case with Vista/XP.

Nonetheless, install XP as normal – there’s no need to do anything differently.

IMPORTANT NOTE – after the initial file copy, Windows XP reboots and loads up the GUI-based component of the install. You may get the following error: “A disk read error occurred – press Ctrl-Alt-Del to continue”. This is caused by a corrupt bootloader – click here to see how to fix this problem.

When the system reboots it won’t bring up a boot menu. Although XP recognises the Vista partition it doesn’t recognise Vista itself. This is because the Windows XP bootloader gets installed to the MBR, thus overwriting the Vista bootloader and so Vista can no longer boot - the XP bootloader can't be made to recognise Vista.

When XP loads, open up Windows Explorer and you’ll see something interesting – a C: and (in this case) an E: drive.

The C: drive contains Windows Vista, and as Windows XP can read NTFS partitions, it can browse and modify Vista’s file structure.

More importantly, applications which have installation paths hard-coded into their install scripts rather than using Windows system parameter variables could easily dump files into C: when they should be installing to E:. This isn’t such a great situation - really the optimal XP/Vista dualboot scenario is to install Vista on a pre-existing XP system.

Continue to page 4: Restore Vista Bootloader and Enable Dualbooting
Page 1 Intro
Page 2 Create Free Space for Windows XP
Page 3 Now Install Windows XP
Page 4 Restore Vista Bootloader and Enable Dualbooting
Page 5 Removing Windows XP
Page 6 Fixing the Corrupt Bootloader

Post your comment



First 50 Comments

View All Comments (785) RSS feed Email alert

wilkie:

i don't get why you need to boot with vista disc just to shrink the drive. can't you just do it within vista's disk management as detailed below?

http://www.bleepingcomputer.com/tutorials/tutorial133.html#shrink

29 February 2008, 8:30 PM (1 year ago)report abuse Send to a friend reply

James Bannan:

You can use the embedded tool or the DVD - there's no actual requirement to do it either way.  I was just demonstrating the DVD method because it uses DISKPART from within Windows PE 2.0 and is just rather nifty.  

You could certainly use the GUI or DISKPART from within the OS. 



29 February 2008, 8:38 PM (1 year ago)report abuse Send to a friend reply

Baggy52:

One question, how can I use the repair option without a disk? I have a laptop that came with the OS installed, and I am wondering how to get the the boot repaired without a disk.

29 February 2008, 8:38 PM (1 year ago)report abuse Send to a friend reply

JL:

I was wondering this myself

29 February 2008, 8:49 PM (1 year ago)report abuse Send to a friend reply

Frank vd Horst:

You don't need the DVD, and you don't need to reboot.
Just type diskpart in an cmd prompt and follow the guidelines as described.
things will work fine, your system will automaticly reboot, and there you have your new space :-)

29 February 2008, 8:38 PM (1 year ago)report abuse Send to a friend reply

Wes:

I think this is a good step by step guide but I cannot understand why there would be a need to dual boot Vista with XP. If you have installed Vista and for some reason you need XP then you can have that XP install in a virtual environment instead without going the dual boot way.

29 February 2008, 8:30 PM (1 year ago)report abuse Send to a friend reply

Hagar:

Virtual environments have come a long, long way, but the more you work with them, you realize there are some things you just can't expect to do. Especially for a gamer like myself - there's no way you can run a game that won't run under Vista (and there's a bunch at this point) - in a virtual environment. Dual-booting gives you full native access to either O/S with no simulation layers and problems to get in the way. I've been doing it this way since Windows 95 and NT 3.51 - and there's no better way to go!

29 February 2008, 8:38 PM (1 year ago)report abuse Send to a friend reply

JimmyConga:

Gaming under Vista is pretty bad at the moment. That is one excellent reason to keep a native partition of XP on hand...

29 February 2008, 8:38 PM (1 year ago)report abuse Send to a friend reply

Nigel:

Vista's support for WPA Enterprise wireless support is broken, and I don't think XP would be able to associate to APs from within a VM.

29 February 2008, 8:38 PM (1 year ago)report abuse Send to a friend reply

stevecaseyo:

because if a hardware device doesnt work in vista, you can not get it to work through virtual machine in vista.

29 February 2008, 8:38 PM (1 year ago)report abuse Send to a friend reply

Robert C.:

I have been trying to dual boot for about 2 weeks now. i bought a windows vista computer and i wanted to put xp on the 2nd partiioned hard drive. i have been able to install XP but never knew how to get back. i ended up having to reinstall vista a few times. without this guide i would be racking my brain still. i just wanted to say thank you for the guide. It is very well done and very informative.

29 February 2008, 8:30 PM (1 year ago)report abuse Send to a friend reply

gandhammadhav:

I have window vista in my system.Now i want to install the XP on the same system.Could you please guide how to install it.

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

rivencole:

um you could try READING the above article

29 February 2008, 8:42 PM (1 year ago)report abuse Send to a friend reply

mansart:

I bought a brand new Vista system and installed a second drive with the intention of installing XP on the second drive for dual boot. However, I can't even get the XP installation started. When I try to boot to the XP DVD it gets past all the loading of files and right up to "starting windows" and then I get a blue screen that says "A problem has been detected and Windows has been shut down to prevent damage to your computer...". The only English in the "technical information" part of the message is "pci.sys". Has anyone encountered a problem like this? Any suggestions for getting past it?

29 February 2008, 8:30 PM (1 year ago)report abuse Send to a friend reply

Anonymous89095:

yes. i have this problem as well, at least the "blue screen" with a message about "pci.sys" on a new Dell Inspiron 9400 with Vista Home Basic preinstalled when trying to boot from an XPPro CD (trying to setup a dual boot Vista / XP installation) not from the installation DVD. Dell support is kind of sketchy on the answer. The actually advised me to look for Internet articles like this ?!? and seemed to indicate this is Vista protecting itself from low-level viruses - but that seems odd that it would do it this way. i really hate microsoft products and only keep this OS because i am sure i will have a bunch of problems with the hardware and my favorite linux distro.

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

kblade:

hey did you ever figure out the solution to your problems loading xp pro on to your system with vista pre-installed already? i am still having the same problem with the pci.sys error

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

imbobbychild:

i had the same problem on a new dimension 9200 but the answer is simple, xp doesnt come with SATA drivers.
i got the drivers from dell's website, put them on a flopy and during the initial xp set up presed F6 to enable me to load the drivers and it then worked fine. hope it helps you.

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

Ales:

So... What do you do if you don't have a floppy drive? I think I'm stuck.

29 February 2008, 8:40 PM (1 year ago)report abuse Send to a friend reply

John:

I got around this by "borrowing" the floppy drive from any other PC, connecting it to my machine. Then go into Bios at bootup by pressing F2 or Del, and enable the floppy drive, save and exit. When all this works you can return the FDD to its mother machine. You should disable the FDD in Bios on your PC so it doesn't hang up trying to boot from a non-existent drive. This worked for me. Just don't turn on the donor PC while the FDD is missing.

29 February 2008, 8:40 PM (1 year ago)report abuse Send to a friend reply

macdonald (New user):

hi there i was just wanted to format vista and install xp service park 2,but it end up saying the copmuter closed the window to prevent darmages. then i haveformat vista now my lap top is not working please help.my email is macdonaldm@safcorpanalpina.cvo.za

03 April 2009, 9:03 PM (7 months ago)report abuse Send to a friend reply

Ales:

I don't have another computer to borrow a floppy drive from, so I'm still stuck in that case. BUT I stumbled across something that *might* work in its stead: http://www.ultimatebootcd.com/ I'll have to give it a go this weekend when I have time to kill.

29 February 2008, 8:40 PM (1 year ago)report abuse Send to a friend reply

nsz:

Hi, I had the same issue on my T60. The solution is either to have and usb floppy drive or to look in the bios for an option to change SATA settings. In T60's bios there was an option to change SATA from AHCI to Compatible mode - after changing to compatible then the XP recognized the HDD.

29 February 2008, 8:40 PM (1 year ago)report abuse Send to a friend reply

makdaddy:

HELP !!!! ...im having the sata issues with my FSC Amilo Xi2528.. nothing i have tried has worked so far.

I have tried the Nlite boot disk including the sata drivers from my drivers support disk .. the xp install still see's no Hdd

I have tried changing the Bios setting.. bs default they were set to compatible ( and there wasnt an option to change this, it was greyed out )

I dont have a floppy drive

I found some intel sata drivers for my notebook on the FSC website but they are wrapped up in an exe file.

I really need to get xp running as Vista home premium is utterly useless to me at the moment

29 February 2008, 8:43 PM (1 year ago)report abuse Send to a friend reply

HakonBingen:

I could not get xp installed on a brand new inspiron 9400. Kept getting the BSOD with complaints about the pci.sys driver. So I made a SP2 cd from my old one using this link. That solved my problem.


29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

anandsmailbox:

Hi,

I am exactly facing the very same issue. Any solutions found for this problem ? . My HP DV2000 laptop is pre-installed with Vista home premium, and I use the shrink option to create an additional partition. Then, when I try to install WIN XP, after the "starting windows" point, a a blue screen appears with the words "A problem has been detected and Windows has been shut down to prevent damage to your computer...". Can anyone help me to fix this ?

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

lionhead:

fixed!

i have a hp pavillion a1740n.
i didnt like vista, reinstalling with xp.
apparently the problem is that the computer is newer than the xp. change bios to boot from dvd/cdrom. do a fresh install. it will ask to install raid/scsi drivers, press f6. but since the hp 1740n was made for vista, there is no support for thr xp drivers. to bypass this, you need and ide hard drive & ide cdrom. detached cable from serial hd & serial cdrom. then go to bios settings and disable the serial controller. use only the ide controller for now. xp will now install without the blue error screen. xp will install but missing drivers. use temporary pci nic with availble xp drivers to get online. once online, use driver magician v3.19+ to update drivers. now update remaining drivers with device manager, update online. restart, reattch serial drives & serial controller, reenable serial controller in bios, update drivers in windows. and then use the windows update( will authenticate) to update rest of drivers.

only downside is now your xp is on an ide drive. and serial drive is a secondary drive. but that was fine for me, i just removed the serial hard drive altogether and used it in my other faster computer. also removed the temporary pci nic & ide cdrom. the hp a1740n now consists of: winxp, 1 ide hd, 1 serial dvdrom.


29 February 2008, 8:48 PM (1 year ago)report abuse Send to a friend reply

machack (New user):

I have a similar problem. I need to dual boot XP and Vista, Vista preinstalled, on an HP laptop. However, I can't find compatible drivers for XP. I can't fix the bootloader without the Vista DVD, and I can't download Vista Bootloader b/c I have no Ethernet drivers. Any help?

12 June 2008, 12:12 AM (1 year ago)report abuse Send to a friend reply

engo:

Hello there, does it works on XP 64? im ok with the vista boot recover and with easyBCD but xp just wont load (blank screen) after selecting boot. Playing arround with BCD I noticed (in the view settings TAB) entry #2 this:

Name: Windows XP
BCD ID: {2c82aa72-cb94-11db-8660-0015f2e6ae3c}
Drive: C:\
Bootloader Path: \ntldr
Windows Directory:

Although i put D when creating the entry it's still on C, so I changed the drive to D:\( in configure Boot TAb)which is the xp64 boot drive, but nothing happens.
Is there a problem with NLTDR? or the blank windows directory (I was unable to change it on easyBCD).
THANKS!!!

29 February 2008, 8:30 PM (1 year ago)report abuse Send to a friend reply

Joao C.:

I bought a computer with the Windows Vista Premium Home OS (Portuguese version) already installed. However I have programs that run only in Windows XP. I used this tutorial to install a dual booting, starting with the Gparted to create a new partition. When I finished installing Windows XP (English version) I noticed that I only see a C:, which I believe has the Windows XP OS. This is not what I read in the tutorial, as they mentioned that after rebooting I should see the two partitions, one with the Vista and the other with the XP. Any suggestion? The "Fixing the corrupt bootloader" will be enough to fix this?
Thank you so much for any help.
João

29 February 2008, 8:30 PM (1 year ago)report abuse Send to a friend reply

Weirdbiz:

I've tried to follow the instructions here and I'm getting caught up in XP install... it doesn't seem to be recognizing any of my drives and then it gives me a blue screen of death and the following error : Setupdd.Sys - Page_Fault_in_nonpaged_Area ... I looked up this error and it seems to all be RAM problems... but since my computer runs perfectly fine with Vista... why would this be? Here's some of my back story: I'm trying to install Windows XP Home... my vista version is Home Premium... I'm trying to create a dual boot for XP because some of my hardware/software isn't compatiable with Vista (I've tried the Virtual thing, it doesnt work for what I'm trying to do) ... my computer is a brand new Gateway 5408.. 320 GB harddrive, intel core 2 duo processor (1.8 Ghz), 3 GB ram (I added 2 GB .. Vista is recognizing all of it and running smoothly) ... the guy that sold me XP Home said that XP Home would only recognize 2 GB ram... could this be my problem?



29 February 2008, 8:30 PM (1 year ago)report abuse Send to a friend reply

Slaphappy:

Try taking out the 2GB RAM and trying again to see if that's the problem.

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

gioggio82:

I am in the same situation too...
My computer is a brand new HP, 2Gb ram, 160Gb Hd, Intel Core 2 Duo with Vista Home Premium preinstalled, I tried to follow the instructions, I make a 20Gb partition with Gparted but when insert the Xp Professional install-cd I receive a blue screen with this error "Setup did not find any hard disk drives installed in you computer"
Can someone help me???

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

Atif Azhar:

Hi,

Just go to your BIOS setup and disable the SATA Native support. Disable this option and windows XP will detect your hard drive.

CHEERS!

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

DSchwa:

I'm having the same problem, once I get the hardrive partitioned and insert the XP cd I get a blue screen that says Setup did not find any hard disk drives installed in your computer, could I please get some detailed help how to fix this thanks.

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

eryka:

Running a brand new Gateway laptop
went through the tutorial up tot he installing of XP... I get the whole HD not detected error as well, and I do haev a SATA HD..... here is my issue... I do not have a floppy drive, obviously becuase it's a laptop, so I cannot use the F6 feature to install the sata drivers, which I currently have on CD... any ideas? Please help. I bought this laptop because i will be in the hospital for a while and I need to work, but my work VPN doesn't work with Vista...

29 February 2008, 8:40 PM (1 year ago)report abuse Send to a friend reply

Dennis:

I just got onto this site, so this may be really late...
I got around the issue of XP not finding my hard drive by creating a custom windows XP install CD using nLite freeware (nliteos.com) Download or locate hard drive drivers and use nLite to add these drivers to the XP install software. Then boot using new custom CD. All worked after this.

29 February 2008, 8:43 PM (1 year ago)report abuse Send to a friend reply

metttin:

so if i have a wd hd all i have to do is fint drives for wd and add them to the xp installer like u said?

29 February 2008, 8:48 PM (1 year ago)report abuse Send to a friend reply

susu:

In the BIOS settings u have to disable the SATA support for the Hard disk. Then u will be able to install XP.

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

Bill:

I had a similar problem --go to BIOS and make sure sata hard drive is disabled---it can't see XP with SATA enabled

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

Weirdbiz:

I did some more research on my problem and I found some people saying that XP doesn't have the driver for SATA II and that I would need to press F6 at the beginning and load the driver for my harddrive... if so I'm not quite sure how to go about doing that... anyone have any suggestions?

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

Weirdbiz:

I thought of another possible solution to my problem and I wanted to ask some of the experts here if it's possible before I go to the trouble of doing it (because it would be some trouble) ... What if I add another harddrive to my system that I know windows XP can recognize? I have a 250 GB western digital IDE harddrive sitting around - could I just add that to my system and then install windows xp on it? Or can I not have different harddrive types on the same system?

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

CJ:

That's never worked for me. But you can put a new hard drive in and make it your master, then partition it with two partitions. Then install XP FIRST and Vista second. You end up with an easy clean dual boot without all the hassle. The format the original HD, that you've made a slave, for storage. Or just leave Vista on it, for sometime down the line when you want to only run Vista. You'll alredy have clean installation. Just make the HD your master.

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

Pula:

If you already have XP installed and want Vista also you need Dual boot. For Dual boot you need to partition your C: drive first and then install Vista over XP and select partition different than where your XP installation is.

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

waswas:

installing XP and Vista onto different drives is possible as I have done this myself. I did however install XP first onto one drive and then Vista on the other drive. Vista created it's own duel boot.
When you look at the drive lettering, the XP is labled D with a (C) beside it eg D:(C)and Vista has C:(D). I think that when the Vista duel boots into the operating system, the one you pick will always show up in explorer as C drive and the other system shows up as D drive

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

Jack:

This has all worked for me up until the point where I need to select which operating system I want to boot in. I get the options Vista and XP, vista loads fine but XP will not load.

See the following link which is a picture of what I am trying to say!

My Picture

Please help! It must be something easy? I am nearly there!

Thanks alot guys, jack.

29 February 2008, 8:30 PM (1 year ago)report abuse Send to a friend reply

Jack:

In my picture above, which windows disk does it mean will fix it? The XP disk or the Vista disk?

Thanks guys.

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

mansart:

I get the same screen when I try to boot into XP, but my situation is even worse because Vista won't load either. If I choose Vista the computer just reboots and then goes into Windows Error Recovery. I try using the repair tool but it says it is unable to repair the system. I assume it's just a problem with the bootloader but I don't know how to fix it at this point. Can anyone help?

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

mansart:

I was able to find a solution to the XP \ntldr error. Fortunately it's very simple. You can find the solution here:

http://www.computerhope.com/issues/ch000465.htm#b

Now if I can just get Vista booting again I'll be a happy camper....suggestions anyone?

29 February 2008, 8:39 PM (1 year ago)report abuse Send to a friend reply

Paul:

this tutorial was great i now have my dual boot up and running but wondered could i do another shrink on the
original vista held drive it has too much space for what i need and i would like to partition again


29 February 2008, 8:30 PM (1 year ago)report abuse Send to a friend reply

Randyharv:

I have a new dell notebook with vista preinstalled, I need to dual-boot xp so i can use Rockwell software. My disk 0 is as follows: -:Partition1 [fat] 47mb, d:partition2 (backup) [NTFS] 10gb, c:Patition3 [NTFS], unpartioned space (followed instructions from above), F:partition4 [unknown] 2gb. When i got to the part of the xp install that asked, "to setup winxp on the selected item, press ENTER" i chose the unpartitioned space and hit enter, then i get this message that reads, "Setup cannot create a new partions in the space you selected because the maximum number of partions already exists on the disk" I hit enter again and it takes me back to the previous page. I don't know what to do now.

29 February 2008, 8:30 PM (1 year ago)report abuse Send to a friend reply

View all comments (785)  

anonymous user Anonymous user

This month in APC!

Tags