Image: multibooting
Multiboot and troubleshoot
R E L A T E D   C O N T E N T
ADVERTISEMENT

Set up and troubleshoot a dual-boot system

If you use several operating systems on the same PC, a good solution is to install each of them and choose which to use on start-up. Here's how to get the best of both worlds

Tom Royal, Personal Computer World 20 May 2009
ADVERTISEMENT

Many of us need to use more than one operating system from time to time. Perhaps you like to use Linux for day-to-day tasks while leaving Windows XP in place to run games, or you might want to check out the new features in the Windows 7 beta without damaging an existing copy of Vista.

Often the simplest way to run a second operating system is to use virtualisation software, such as the free Virtualbox or Microsoft’s Virtual PC. For demanding tasks, though, this method just isn’t fast enough. What you need is to dual boot: to install both and choose which to use when the PC starts up.

This can be hard to set up, though, and if you make a mistake there’s always a chance that the computer will refuse to run anything at all. In this back to basics article we’ll explain how to set up and troubleshoot dual-boot systems.

Adding Vista to XP
One of the most common dual-boot setups is to run Windows XP and Vista alongside one another on one disk. This can be very simple to set up, but the method depends on what you’re starting with.

If you’re starting with a Windows XP computer and adding Vista, the process of dual booting is simple. If there’s room on the disk for a new primary partition then add one, or if not make room first using a tool such as Sourceforge's Gparted.

If you’re unclear about the difference between primary and logical partitions, see 'Partition types' at the end of this article. Install Vista into the new partition and it will automatically create a boot menu with two options: ‘Earlier version of Windows’ and ‘Microsoft Windows Vista’.

By default the menu will wait 30 seconds and, if nothing is chosen during that time, start Vista. You can change both the time limit and the default, however.

In Vista, start a command prompt with administrator privileges: press Start, type cmd, right-click the cmd.exe program shortcut that appears and choose Run as administrator. To alter the time limit to 5 seconds type:
bcdedit /timeout 5

To change the default option you need to know what each is called. Type bcdedit /enum and a list will appear. Look for the paragraph that lists the XP boot settings and find the identifier: this will normally be {ntldr}. Use the bcdedit command to make this the default: bcdedit /default {ntldr}

Adding XP to Vista
The only real problems with this setup appear if you install XP after Vista rather than the other way around. This is because, whereas Vista was designed to look out for an XP installation and accommodate it, XP’s setup program will simply ignore Vista and set itself up as the only option. In order to recover from this you’ll need a Vista installation DVD.

If you find that after installing Windows XP your copy of Vista is inaccessible, restart the PC and boot from your Vista installation disc. Choose English UK at the first screen and at the second click the ‘repair your computer’ link.

The setup program may find the problem and offer to repair it automatically: if so, choose ‘Repair and restart’. If not, click Next at the list of operating systems and choose to open a command prompt. Next, type:

bootrec.exe /fixmbr
bootrec.exe /fixboot

These commands will remove XP from the hard disk’s Master Boot Record (MBR) and reinstate the Vista loader. When you restart the computer Vista should become available.

Sometimes after doing this Windows XP will disappear from the boot options and Vista will start immediately. If this happens you could boot Vista and use the bcdedit command to reinstate a Windows XP entry in the boot menu.

For a less fiddly approach, though, download the EasyBCD tool. This is a free graphical interface for bcdedit that makes the process far quicker.

Once installed, run EasyBCD. Click Add/Remove Entries from the menu, select the Windows tab and set the Type dropdown to ‘Windows 2K/NT/XP/2K3’. Give the entry a name, then click the Add Entry button and then Save. On restarting the PC you should see a new option for Windows XP.


All PC Operating Systems

Like this story? Spread the news by clicking below:

Post this to Delicious del.icio.us    Post this to Digg Digg this    Post this to reddit reddit!

Permalink for this story
R E A D E R   C O M M E N T S
M A R K E T P L A C E
Get your free demo of Numara Track-It! 8 - the leading help desk solution for IT related issues.
Make presentations, review documents & share your entire desktop. 30-day free trial! (cc required).
Discover how remote support can fuel your IT business in ways you've never thought of before.
Apply ITIL best practices at your service desk while eliminating integration cost. Learn more here.
WAN based, automated, daily vulnerability assessments. Click here to try and request our whitepapers.
Have your product or service listed here >   
Sponsored links
F E A T U R E D   J O B S
| Hays Information Technology
I am seeking to recruit an MI Analyst / Reports Developer for my client based in Dorset. Employed initially on a 6 month fixed-term contract, you will be responsible for supporting and maintaining the reporting function ... more >
| Hays Information Technology
Software Tester – Agile process – Manual tester – Test Scripts – My client are seeking a manual tester to join an established company based in Colchester. You will be joining a new test team ... more >
| Hays Information Technology
Financial Services, Java Systems Developer, £40K, Stockport Hays Technology are representing a Financial Services company who are currently going through new technology implementation and require Java, J2EE Developers with a good academic background.   My client ... more >
| Hays Information Technology
Calling all Graduates and Junior Web Developers.....  Excellent opportunities now available for a number of Web Developers to join an award winning Digital Agency. We are seeking graduate to middle weight Developers who want to develop their careers quickly ... more >
More job opportunities