HOW TO: Dual-boot XP and Vista

James Bannan18 October 2006, 8:44 AM

If you're not quite willing to let go of XP yet in favour of an unstable pre-release version of Vista (whatever could possibly be the problem?) dual-booting Vista and XP is the smart move. Here's how to do it.


PLEASE NOTE -- there is a newer version of this tutorial available. Click here to go to it .  


If one installation of Windows just isn’t enough, or you don’t feel like there’s enough pain in your life yet, why not install both Windows XP and Windows Vista onto the same machine?

Why not indeed. To be honest, I have no idea why you’d want to do this. As mentioned in a previous blog entry, Vista’s dominance of the MBR makes the process something of a one-way street. Once Vista is introduced to any system you have to play ball according to Vista Rules.

Partitioning

The actual dual-booting process is, however, relatively painless and straightforward. On a machine with Windows XP installed, the only prerequisite is that the hard drive has enough space to accommodate a Vista installation, or that you have a second drive to drop Vista onto.

If you only have one physical drive, then you’ll need some spare space on the disk for a Vista partition. This can be a drama if your XP partition takes up the entire disk, as you’ll need to resize it. Unfortunately XP won’t help you here. If you have a drive partitioning tool like Acronis, well and good. But if you don’t and you’d (understandably) rather not pay for it if you don't have to, there are alternatives.

Windows Vista CAN resize partitions on the fly, but unfortunately it won’t do it as part of the default Vista installation. However, if you can get your hands on Windows PE 2.0, then you’re in business.

Boot into PE, and load DISKPART from x:\Windows\System32. This is the Vista version of DISKPART, so the SHRINK option is available. Select the appropriate volume first (usually SELECT VOLUME 0) and type in SHRINK. This isn’t a configurable process as it is via Disk Management in the Vista GUI. SHRINK just goes through and recovers what space it can. On a 20GB NTFS partition with a basic XP installation, SHRINK dropped the partition by 10GB, which is enough for Vista (just!). It's likely that defragmenting free space on the partition you're shrinking will help a lot.

partition04_small.png

If you don’t have access to Windows PE 2.0, there’s a very powerful tool called GParted - the GNOME Partition Editor. This is a Linux-based GUI partitioning tool which can resize NTFS partitions (amongst LOTS of others).

partition01_small.png

Grab the LiveCD download, burn the ISO to create a bootable CD and fire up the machine. Accepting all the defaults should work fine, except if you’re using VMWare, in which case load the graphics modules manually and select VESA, otherwise the screen will just go black. Right-click on the partition and select Resize/Move. Drag the edge of the partition until you get the size needed, select OK and then Apply. And that’s it! Reboot and install Vista into the newly-created partition.

partition02_large.png

partition03_small.png

Boot Manager

Once Vista is installed, the system brings up the Windows Boot Manager (Vista version), with a choice between “Microsoft Windows Vista” or a bland and generic “Earlier Version of Windows”.

dualboot01_small.png

Bit boring, but unfortunately modifying the boot manager in Vista is not quite as easy as it has been in the past. You can still access boot information in System Properties (right-click My Computer, Properties, Advanced System Settings), then Startup and Recovery, Settings. Here you can select the default operating system to load and the selection timeout settings, but that’s it. To edit all the boot options, you have to use a new tool called BCDEDIT from the command line. And unfortunately, it’s not easy to use at all. Very comprehensive and powerful, but difficult.

dualboot02_small.png

dualboot03_small.png

BUT - running to the rescue is EasyBCD from NeoSmart. This gives you a GUI for BCDEDIT and makes life SO much easier. There’s a swag of options you can choose depending on how in-depth you want to get. For the moment, just go to “Configure Boot” and change the name of the Windows XP installation to “Windows XP” and hit “Save Settings”. Restart and you’ll see that the changes have been written to the boot manager, and life is slightly less bland that it was.

easybcd01_small.png

easybcd02_small.png

Under “Add/Remove Entries” you can move existing entries up and down the list, or add new ones, if you have an existing partition ready for the new operating system. In theory, you could use Vista to quad-boot XP, Vista, Linux and OSX. But you’d be very brave…or a tech writer.

If you decide that dualbooting really isn’t for you after all, the Vista MBR needs to go if you want to get XP operational again. Luckily, EasyBCD can help. Go to “Manage Bootloader” and select “Uninstall the Vista Bootloader” then “Write MBR”. Restart the machine and the Vista Boot Manager is gone - the system loads straight into Windows XP. And in XP, the Vista partition is now the secondary D: partition, which can be safely erased.

easybcd03_small.png

Post your comment



Comments

RSS feed Email alert

someone:

System Restore has these stupid issues when you dual-boot between XP and Vista.

29 February 2008, 8:29 PM (3 years ago)report abuse Send to a friend reply

Nikhil Nagaraj:

I am purchasing a new HP PAVILION laptop with AMD turion 1.73 GHz Proc, 1 GB RAM and 120 GB HDD.... I thought i'll purchase a vista pre loaded machine, but dicovered that installing XP(a lower version than vista) after vista would be a real pain...
So i decided to purchase a WINXP laptop and then install VISTA HOME PREMIUM on an external USB HDD....
I am not that very technically sound as other ppl here are, but am doing a good thing?
If I am, how can i install vista on my secondary HDD so that when i boot my system with the external HDD connected, i should get a menu to choose the bootup between XP and vista...
CAN SOME ONE PLZ HELP ME? I AM LEARNING AND SO DESPERATELY WANNA KNOW THIS...

29 February 2008, 8:33 PM (3 years ago)report abuse Send to a friend reply

Katz:

Well I have to agree , why would anyone want to load both XP and Vista, although I'll take it one step farther - Why would anyone want to load Vista at all?? What does Vista offer that we really need, any reall new application? The only thing that Vista does has is the UI, which won't function proplery unless you have the top of the line new Core 2 Duo CPU with a lot of RAM! So why should we bother with Vista at all??

29 February 2008, 8:29 PM (3 years ago)report abuse Send to a friend reply

Michael:

I just wanted to make the statement regarding how you stated you must have a powerful machine to run Vista and why someone would want it. Yes I agree most will be in awe of the UI it is quite illuminating compared to old styles, but I want to state that I have a 1.73 GHz processor on a dell laptop with 1G of memory and Vista runs amazingly well. It runs better than XP (faster I mean). The problem I do have is the incompatibility with older software. Not even that old sometimes. Example, the new Panda 2007 can't even work. I caught this while looking for an answer to another problem I've had. I installed Vista on my computer and then setup another partition and installed XP Pro which unfortunately made it to where my Vista install won't boot now.

29 February 2008, 8:33 PM (3 years ago)report abuse Send to a friend reply

Anonymous (no, seriously!):

I was reading these posts and noticed something about a compatibility issue. Believe me, I had them too. Vista does offer a cleverly convenient feature, however, which basically enables you to run any program as though you were running it in another version of Windows of your choice. So if you know the program works on Windows XP SP2, for example, you would set it to run as if it were in Windows XP SP2. What you do is right click on the icon of the program and open its properties. Click the "Compatibility" tab on the top. Check the box next to "Run this program in compatibility mode for:" and select your OS from the dropdown menu. The selections are (in exact wording): 1. Windows 95 2. Windows 98 / Windows ME 3. Windows NT 4.0 (Service Pack 5) 4. Windows 2000 5. Windows XP (Service Pack 2) 6. Windows Server 2003 (Service Pack 1). And then keeping the box unchecked obviously makes it run in Vista (DUH, you didn't need me to figure that one out!) There are also some more compatibility settings such as coloring, resolution, DPI, etc. as well as the option to always run the program as an administrator. nifty! Well, I was able to play all my games like this, but some of them went kinda off (deleted the crosshair in one! How the heck can I shoot in a game without a crosshair?!) So I went through the painful process of installing an XP partition. My programs will work there, but I'm still in the process of downloading drivers (including the one for ethernet, which means I'm typing this on Vista.) Whatever, hope that helped!

29 February 2008, 8:35 PM (3 years ago)report abuse Send to a friend reply

Anon:

I have software for my business given to me by the company I am affiliated with and it will not run on Vista at all, even with running under the XP SP2 mode.

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

marco:

wow i'm running my desktop with vista ultimate PERFECTLY fine with a athlon64 3000+, 512 mb pc 2700 ram (anyone remember that speed?) and a 5500 geforce card. I seriously doubt vista could run any better (no lag with aero, and has a nice index rating (everything above 3 exept gaming graphics...

I could say that I have the worst of the worst scenarios for running vista (in terms of computer performance) and i'm doing great!

29 February 2008, 8:33 PM (3 years ago)report abuse Send to a friend reply

Shrax25:

512 ram will only give a rating of 2 in Vista.

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

FEDORAble:

the comments "Why would anyone want to install Vista at all?
or What does Vista have to offer anybody?" is lame. If you don't like it, don't use it! I have never heard so much complaining about any piece of software before. I would bet that 90% of people who complain that Vista is a horrible operating system have NEVER EVEN USED IT! I can tell you that I think Vista is the best operating system I have ever used. I've had W95,98,2000,XP home and pro, and I even have still an Intel iMac. I like the macs, but i'll never buy one again. The money is not worth spending just for adobe photoshop (imac+photoshop=at least $2100). I have never had a virus on my XP Vista machine. Photoshop works BETTER on my Vista machine. Halo and Medal of honor work better on vista. Office 2003 works better on Vista. Security is MUCH MUCH MUCH BETTER on Vista. If vista sucks for you, too bad. That doesn't mean it sucks for everybody. all my old software and hardware work with Vista. I don't WANT anything else.

29 February 2008, 8:33 PM (3 years ago)report abuse Send to a friend reply

ABC:

Hi FEDORAble,

I think you have not used many softwares like flash 8.0 which actually are having problems with Vista. When you you select a text to edit in flash, the dotted line showing the selection becomes slower and slower.

I think you are not aware of such problems occuring in VISTA.

This was your information.

Thanks
ABC

29 February 2008, 8:41 PM (3 years ago)report abuse Send to a friend reply

John:

the new magazine is out for about a week but old one still being advertised on web site. Why?

29 February 2008, 8:29 PM (3 years ago)report abuse Send to a friend reply

Rob:

Dual booting is a great way to have a peek at the new OS (64 bit version in my case) and even with its limitations (drivers and Vista compatible apps), you can always flick back to the regular XP (x64 in my case) for work or more important stuff you don't want to expose an almost complete system to.

Thanks for the tips on removing and/or managing the MBR. I'll keep it in mind when I get near the RC1's expiry date.

29 February 2008, 8:29 PM (3 years ago)report abuse Send to a friend reply

Raindog:

"Well I have to agree , why would anyone want to load both XP and Vista?"

It could be some bizzarre experiment to see how many paper clips, software updates and flying envelopes it takes to bring a modern day CPU and a couple of G's of ram to a complete halt!

29 February 2008, 8:29 PM (3 years ago)report abuse Send to a friend reply

TechGermz:

I Agree with Rob above. I've dual-booted XP (32-bit) with Vista (32-bit) for the exact same purpose. I prefer having seperate OSes on seperate physical drives, with HDDs being so much cheaper now a days. Really appreciate the tips on removing MBR. I know I would have had to look around for it sooner or later... :-)

I am Linux curious and was planning to add Ubuntu to my current installation and get it to triple-boot. Any idea how the Vista boot-manager reacts to an addition of Linux? Is it tolerant, or does it make life too painful (in which case I plan to install Ubuntu on a spare USB HDD I have, allowing to plug in and out as required, without affecting the dual-boot)? Some insight into this will be helpful. Thanks...

29 February 2008, 8:29 PM (3 years ago)report abuse Send to a friend reply

Arthur Pearson:

Linux in general doesn't boot from usb drives, because of a bootstrap issue. USB support is not there until after booting. I have found some workarounds for this posted various places, but find the instructions unintelligible.
There is just enough ambiguity to make it unclear how to proceed - the old "I know what I meant" problem.
There are also dire warnings about trashing your Windows installation by altering the Master Boot Record.

29 February 2008, 8:33 PM (3 years ago)report abuse Send to a friend reply

Rob:

I am running Vista RC2 without any problems, all programs working fine. More stable than XP Pro. Running on a 3.2 Pentium with 2 gig of ram. I did have XP and Vista sitting on their own drives. Only needed the Vista install disk to sit in the Dvd player when booting to load Vista. Decided to just run Vista as my main OS. Will never go back to earlier OS.

29 February 2008, 8:29 PM (3 years ago)report abuse Send to a friend reply

Steve:

Another option is that MS this week released a beta of Virtual PC 2007.

This allows you to run Vista as a Virtual Machine inside of XP. Thus bypassing the problems of dual booting.

Realise that it is another beta to run and that the VM will consume resources but is a good quick way to confirm compatibility of Vista on your machine

29 February 2008, 8:29 PM (3 years ago)report abuse Send to a friend reply

Peter:

"Why would anyone want to load Vista at all??"

In answer to that, you will surly realise the following
1. Not everyone dislikes Microsoft and Windows. Some users want (and can afford) the latest and greatest of everything.
2. Some business will go forward with introducing Vista, then there is a need for people to support this product. The best way to support an OS is to know the OS and an early start is always useful.

Personally I wont be installing Vista. I am happy with my current setup of XP SP2 + patches :)

29 February 2008, 8:29 PM (3 years ago)report abuse Send to a friend reply

Ben:

Is it ok to install vista on the same partion. I did this when i had 2000 and upgraded to XP. Although a mistake bothe Operating Systems work fine? would this be ok to do with vista?

29 February 2008, 8:29 PM (3 years ago)report abuse Send to a friend reply

John:

Thanks for the info on how to restore the bootloader to start XP and rid myself of Vista RC2 from my second HD. Sweet!

29 February 2008, 8:29 PM (3 years ago)report abuse Send to a friend reply

Irfan:

Hi

I Upgraded windows Xp pro to Windows Vista RC1 (5600), this was installed on disk 0 partition 1. Due to compatibility issues with some programs I Installed xp pro again on a diffrent partition (disk zero partion 3. Now I dont get an option to boot windows vista. Is theie anything I can do. thanks in advance

29 February 2008, 8:29 PM (3 years ago)report abuse Send to a friend reply

Raj:

I am having the exact problem. Look for solutions. Many thanks

29 February 2008, 8:29 PM (3 years ago)report abuse Send to a friend reply

ejz:

Hello

About a month ago, I bought a number of HP Pavilions that have the newly released Vista OS. These workstations were meant to operate instruments in my laboratory. I quickly found out the Agilent Technologies XP GPIB interface cards I use are not compatible with Vista. My solution was to buy full installation versions of XP to replace Vista. Micosoft told me that will be possible with a “clean install”.

A clean install does not work. XP goes through a series of file download motions, and when I get to the point of XP installation, I get a window that says “unknown disk”, . Continuing will lock up the computer.

HP will not help because I have an issue with XP which is not a supported operating system on the workstations I bought. Agilent Technologies will not help because I have an issue with Vista which is not a supported operating system for the GPIB cards I bought. Microsoft has tried helping for hours upon hours but to no avail.

Some of the other things I have tried were formating the HD before install XP, and replacing the original HD with a new one before installing XP. Neither worked. I am told the problem lies with the computer rather than Vista.

The question I have is can I install XP on my vista workstations via dual boot.

I am about to give up hope and realize I threw away thousands in computers and XP software. Any chance you can tell me otherwise?

regards

ejz


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

William Barber:

Its far from being an ideal solution, but you could try the 'Virtual Machine' solution mentioned earlier, but in reverse... Virtual machine would allow you to install xp within Vista if that makes any sense, and may, in theory allow you to use your incompatible hardware... I'm not experienced with the use of Virtual Machine but the principle seems sound.

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

Doug:

I tried a clean install of XP as well, and came up with other errors, so I wiped the drive using a program called DBAN (copied to a floppy drive), as it will wipe SATA drives as well as IDE. Once I did this, I was able to install XP properly (after FDISK of course). Hope this helped...Doug.

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

Ramprasad:

Dual boot Vista & XP after installing XP over Vista
I have Vista business installed in my PC which is in C drive. I have installed Win xp Pro in F drive. I have not formatted c drive. I checked boot.ini file in which only win xp is shown as available options. How to enter the values for vista in boot.ini. All the files are intact in C drive where vista is located. I need dual boot. Some one help.

29 February 2008, 8:32 PM (3 years ago)report abuse Send to a friend reply

anonymous user Anonymous user


February APC out  now!

Tags