How to dual-boot Vista with XP - step-by-step guide with screenshots

Send to a friend Print

Help more people find out about this story

Del.icio.us
StumbleUpon

James Bannan29 May 2007354 days ago.

You want to try Vista on your PC, but don't want to get rid of Windows XP and all your old applications just yet. Follow these step-by-step instructions to dual-booting Vista and XP on the same drive.Now updated with a new version of EasyBCD.

 

Scenario: You want to install Vista on your PC alongside your XP installation, on the same drive. You have already installed XP. (If you installed Vista first, see our other tutorial on How to dual-boot Vista and XP - with Vista installed first.)

Tutorial Summary: We're going to use the DISKPART utility on the Vista DVD to shrink the Windows XP partition on the hard disk and create enough space for an installation of Vista. We'll then install Vista and use the EasyBCD utility to modify Vista's bootloader to get XP loading properly.

This is an updated tutorial,based on our first Windows XP/Vista dual-booting workshop. The main difference is that we're covering using both the latest version of GParted and DISKPART to shrink the Windows XP partition.

DISKPART can shrink NTFS partitions and it's certainly the more convenient option, but on some systems using DISKPART to shrink the volume will fail, with an vague "Access is denied" error.

This may have something to do with different disk controllers, as this was a problem on the AcerPower test system which has a SATA hard drive, but not on the VMWare system which uses a virtual IDE controller. So we'll cover both processes

EasyBCD has also been updated since the first tutorial was written.

This tutorial was tested on a VMWare Workstation 6 virtual machine and an AcerPower SK50.

 

Get Started - Using GParted

We assume that before you start this tutorial, you have backed up the drive (partitions and data) that will host the two operating systems.

Your first step will be to modify the Windows XP system partition to make space for Vista using GParted

The GParted Live CD ISO is available here – burn it to CD and boot the system from the disc. The version we used was 0.3.4-7.

Boot the Linux machine from the GParted LiveCD. Depending on your system, you should just need to select the auto-configuration boot option.

 

Ubuntu & Vista - GParted


During boot, press Enter twice when prompted to select the keymap and language settings.

When the main GUI loads, right-click on the main Windows XP NTFS partition (depending on your setup, probably /dev/hda1) and select Resize/Move.

XP & Vista - Resize PartitionXP & Vista - Resize Partition


Use the slider to reduce the partition size and free up enough room to instal Vista (at least 10GB) and click Resize/Move.

XP & Vista - Resize Partition 2XP & Vista - Resize Partition 2

 

The changes haven’t actually been made, they’ve just been scheduled to run. To commit the changes and resize the partition, click Apply. GParted will ask to confirm the changes – hit OK and away you go.

 

Get Started - Using DISKPART

Boot the machine from the Vista DVD. Select the appropriate language and then "Install Now".

XP & Vista - Load VistaXP & Vista - Load Vista

 

On the produt key page, press SHIFT + F10 to launch a Windows PE 2.0 command window. Then type in DISKPART and press enter to get into the DISKPART utility.

XP & Vista - DISKPARTXP & Vista - DISKPART

Now type in LIST VOLUME - this gives you a readout of the volumes available on the system. Select the main Windows XP volume (probably Volume 0) by typing in SELECT VOLUME 0.

XP & Vista - DISKPART VolumeXP & Vista - DISKPART Volume

 

Now type in SHRINK. Vista will reduce the size of Volume 0 (the selected Volume) by around 50%.

XP & Vista - DISKPART ShrinkXP & Vista - DISKPART Shrink

 

Once that is done, type in EXIT and EXIT again to get back to the Vista installation window.

 

Now Install Vista

If you used the GParted LiveCD to shrink the XP partition, you'll need to reboot the system from the Vista install DVD. If you've used DISKPART then you just need to continue the installation.
Once the install gets to the install location, there should be at least two options: a partition marked as Primary and unallocated space. Select the unallocated space and click Next. The install will then commence.
XP & Vista - Install VistaXP & Vista - Install Vista

The Vista boot manager will take over the system completely, and Windows XP effectively loads via Vista. It’s all pretty seamless though, and you shouldn’t encounter any technical problems.

 

Modify Vista's Bootloader

Once Vista is installed and the system reboots, you’ll be presented with a boot menu with two options: “Microsoft Windows Vista” and “An Earlier Version of Windows”.

XP & Vista - Boot MenuXP & Vista - Boot Menu

This is perhaps a little bit bland, so you’ll probably want to change it. Here’s where one of the new features of Vista comes in, and it’s not so terrific. In Windows XP if you want to modify the bootloader, just right-click on My Computer, select Properties, go to the Advanced Tab, and click Settings under Startup and Recovery, then click Edit. This opens a local file – boot.ini. It’s just a standard text file and you can change pretty much anything. Unfortunately it’s not that easy in Vista – you can still navigate to the Startup and Recovery settings, but all you can do is select which operating system is the default and modify the timeout settings.

To edit Vista’s boot manager you have to use the command line BCDEDIT utility. To access BCDEDIT, run the Command Window as an administrator and type in BCDEDIT.

Unfortunately BCDEDIT isn’t an easy tool to come to terms with, especially as it’s purely command line-driven. So, a great tool to use here is EasyBCD by NeoSmart Technologies. EasyBCD offers a GUI frontend to BCDEDIT, and makes life much easier.

Once Vista is installed, call up the browser and navigate to the EasyBCD download page - download, install and launch the application.

To configure the bootloader go to “Configure Boot” – you’ll see the two entries, for XP and Vista. To change the name of Windows XP, just overwrite “Earlier Version of Windows” with “Windows XP” and click Save Settings.

XP & Vista - Modify BootXP & Vista - Modify Boot

 

Reboot the system and the changes are visible. You have a dual-booting Vista and XP system. That's all there is to it.

XP & Vista - Changed BootXP & Vista - Changed Boot

Open up Windows Explorer and there’s two hard drives – the primary disk running Vista and the secondary disk with XP installed. Restart the system and load up Windows XP, and the XP disk is now the primary, with the Vista partition running on the secondary D: drive

If you decide that dual-booting Vista and XP is not for you, EasyBCD lets you wind back the clock.

All you have to do is remove Vista’s boot manager – go to “Manage Bootloader”, select “Uninstall the Vista Bootloader” and then “Write MBR”. Restart the machine and that’s it – the XP boot loader is the only one left on the system and XP loads. You can then delete the Vista partition and use GParted to re-extend the partition to take up the entire disk, or the Extend command in Vista DISKPART.

 

Read more stories about

Post your comment


Reader Comments

RSS feed Email alert

colombo187 (New user):

I did the exact same thing. Fixed it by booting my XP cd and selected repair when prompted, logged into my XP partition then issued the commands fixmbr then fixboot . Worked perfectly for me.

colombo187 (New user):

I did the exact same thing. Fixed it by booting my XP cd and selected repair when prompted, logged into my XP partition then issued the commands fixmbr then fixboot . Worked perfectly for me.

colombo187 (New user):

Mike, I got myself into the same problem and able to fix the issue by booting from my XP cd, selecting repair, logging into my XP partition and issuing the fixmbr then fixboot commands.

richard (New user):

hi i have a new hp with vista basic and really need my xp for older programs i have gparted live booted from cd but the program detects no drives or partitions and of course thats where im stuck

richard (New user):

hi i have a new hp with vista basic and really need my xp for older programs i have gparted live booted from cd but the program detects no drives or partitions and of course thats where im stuck

richard (New user):

hi i have a new hp with vista basic and really need my xp for older programs i have gparted live booted from cd but the program detects no drives or partitions and of course thats where im stuck

Michael Matthews (New user):

I tried all of the above and it works !!! Un-did it in the end because Vista does not do what I need it to do and I shot myself in the foot by not allowing enough space in the Vista Partition. Should have at least 20 GB to allow for a few Vista updates and a few programs.
Thanks you. Very effective.

Michael (New user):

I pulled up this web site because I'm in the process of buying a new computer. I know it will come pre installed with Vista so I am already checking out what the process will be to dual boot.

The question I want to ask which is better dual booting the way it comes and add XP, or formatting the hard drive installing XP Pro as my main partition then putting Vista as the second partition? I don't mind doing it if it's something that will make a difference.

I read both guides (partitioning Vista to XP and this one, partitioning XP to Vista), I've scanned through most of every ones comments on both pages and haven't seen anyone ask this yet.

I've dual booted many drives in the past with 2000 and XP (even tri booted before with Linux for someone) But I have no experience with Vista at all besides hearing all the horror stories of how many problems people are having. So any advice would be appreciated.

Thanks,
Mychael


Michael (New user):

I pulled up this web site because I'm in the process of buying a new computer. I know it will come pre installed with Vista so I am already checking out what the process will be to dual boot.

The question I want to ask which is better dual booting the way it comes and add XP, or formatting the hard drive installing XP Pro as my main partition then putting Vista as the second partition? I don't mind doing it if it's something that will make a difference.

I read both guides (partitioning Vista to XP and this one, partitioning XP to Vista), I've scanned through most of every ones comments on both pages and haven't seen anyone ask this yet.

I've dual booted many drives in the past with 2000 and XP (even tri booted before with Linux for someone) But I have no experience with Vista at all besides hearing all the horror stories of how many problems people are having. So any advice would be appreciated.

Thanks,
Mychael


Michael (New user):

Sorry for the double post, site seems to be running slow (also the reason i'm buying a new computer)

Harry (New user):

How could i triple boot?

Kamidan (New user):

I have Windows XP Pro SP2 installed on my primary C drive. I bought Windows Vista premium 32bit. I wish to dual boot, I know that when I go too install Vista it tells me that it can't upgrade the existing XP installation and that I would have to buy the Vista Business edition to do that and so it wants to make a fresh installation but it also wants to rename all kinds of existing windows xp folders like th program files and the my documents etc.

How do I go about getting a dual boot system set up with an existing XP Pro SP2 already installed and wanting to install Vista home premium to dual boot?

Thanks

Kamidan (New user):

I have Windows XP Pro SP2 installed on my primary C drive. I bought Windows Vista premium 32bit. I wish to dual boot, I know that when I go too install Vista it tells me that it can't upgrade the existing XP installation and that I would have to buy the Vista Business edition to do that and so it wants to make a fresh installation but it also wants to rename all kinds of existing windows xp folders like th program files and the my documents etc.

How do I go about getting a dual boot system set up with an existing XP Pro SP2 already installed and wanting to install Vista home premium to dual boot?

Thanks

Kamidan (New user):

We have windows xp pro sp2 installed and I bought Windows vista premium upgrade. I wish to dual boot, but the last time I tried to install vista with xp still there it renamed the program files, and it renamed the my documents etc. Can they coexist on one partition, I assume not and that I will have to make a new partition on my primary physical hard drive.

Can I dual boot if I have xp pro sp2 installed and wish to install vista home premium? I know it won't let me upgrade my current version of xp as it tells me I must buy Business to be able to upgrade xp pro.

Flukez (New user):

Now I have a perfect dual boot XP/Vista sytsem but I have loads of applications in XP: Can I get Vista to see them without re-instaling them all. If I need to re-instal can I put them in the original location and have only one physical copy but both XP and Vista able to see it or do I need double the disk space?

VIthe3RD (New user):

Is there a way to Quad boot? I have Home, Pro, Ultimate, Business on 2 seprate HDD's 2 per drive in my machine. Would like to know if there is a way to select one of the four OS's at start up in stead of 2 at a time after going through the Bios to switch which disk boots first.

Sprint6 (New user):

Try using vista boot pro

Sprint6 (New user):

Try using Vista Boot Pro

moniran (New user):

I have some problem in my computer
I have XP and VISTA on my compuetr same time.
thay have similar name and when I change my Operating system from vista to xp , other users in network cant access me in network ! why must I do?

Kamidan (New user):

Is there anyway to install Windows XP AFTER Windows Vista has been installed, if so how?

Thank you

behdad (New user):

Hi all.
I have combed all the comments here and other forums elsewhere on the Net to get an answer to my problem but it seems that my problem is unique to me and my computer in regard to dual booting Vista and XP:
I have two hard disks: One has three partitions (one for XP, one for Vista and the last one for the software I use) and the second disk is for my games with no operating system installed on it.
I have recently installed a full version of Vista Ultimate on first disk (on one of three partitions); I used the available instructions on Net to do so. I also used EasyBCD to try to make dual booting work on my PC.
Now the problem is: If I select the partition that XP is installed as my “Active” partition I will not get any dual booting option. Well, that’s fine with me up to here. But if I select the partition that has Vista on it as my “Active” drive I do get the dual booting option screen but if I select XP as my preferred operating system my computer restarts itself without loading up XP although my Vista works fine if I select it as my preferred operating system. For your information, depending on which partition is my “Active” drive I get different letters assigned to different partitions/disks. I am sure I am selecting the right drive for XP when using EasyBCD but, as I said earlier, my computer restarts each time I select XP as my operating system.
I’d greatly appreciate any help resolving the problem….
Many thanks

Kamidan (New user):

We are all so hopeful, Since I posted my question a couple months ago all I've seen is a new post every couple days from someone else asking about how to set their particular setup for XP and vista. We the people keep asking, but we the people only keep asking, theres little point to keep asking when nobody actively monitors and responds to the masses of questioners.

How-to search

Search for products by filling in one or more of the fields below.
search
anonymous user Anonymous user