Why Vista's such a pain to dual-boot

James Bannan18 January 2007, 12:34 PM

Vista may not play friendly with other operating systems, but regardless, youcanforce it to play ball with your favourite Linux distro.


If you’re into dual-booting your system, Vista isn’t necessarily your friend. It has been criticised for its nasty habit of overwriting the MBR (Master Boot Record) of any system its installed on with its own bootloader, irrespective of what’s already installed.

In the latest issue of the print edition of APC Magazine (February), I worked through a few dual-booting scenarios. They're now online and improved with a lot more screenshots that make the process totally step-by-step.

If you’re running a Windows XP machine and wish to dual-boot Vista, it’s really very easy. Vista recognises that XP is installed and takes over booting it with no fuss. Other operating systems however, especially Linux, are in trouble.

The best way to dual-boot Vista and any flavour of Linux is to install Vista first and then Linux – Vista still installs its own bootloader into the MBR, but Linux does a better job of adjusting to an existing installation of Vista than vice versa.

However, perhaps you’ve already got a Linux installation and don’t fancy having to reinstall it from scratch just to dual-boot Vista. In this case you’ve got some work to do.

If you installed Linux cleanly on your system, chances are that whichever boot-loader you’re using is in the MBR. Vista will overwrite this and there’s no way to prevent it. So, you need to reinstall the Linux bootloader to the Linux boot partition, NOT to the MBR.

Then you can configure Vista’s bootloader to make use of it using NeoSmart EasyBCD – this a great little app for modifying Vista’s boot options, which is a much more complex process than with Windows XP, unfortunately.

EasyBCD does have an inbuilt app called NeoGrub, which is designed to boot an existing Linux installation without having to reinstall GRUB.

However it seems to be in the early stages of development, and doesn’t work too well just yet. Installing GRUB to the boot partition is the recommended option.

So far I’ve only tried this with GRUB/Ubuntu – as time goes on I’m going to try different Linux distros and and different bootloaders.

The first three tutorials we've put together are the beginning of a series of how tos dealing with Vista and dualbooting – different scenarios, different distros and different hardware configurations.

Your comments and experiences with dualbooting Vista are very welcome.


Post your comment



Comments

RSS feed Email alert

Marcus:

I don't get it. Clearly this article is aimed at linux users who wish to dual boot. Which Linux users wouldn't know about Microsoft's overwriting of the MBR? This isn't new news - The same is true of Windows XP and Windows 2000.

My solution: After installing windows onto the NTFS partition, boot using the Linux CD of your distro of choice and run in recovery mode. Most distros come with a MBR recovery tool which is quick and effective (At least Suse, Mandriva and Ubuntu certainly do)

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

David Johnston:

Doesn't the following "usual" trick work?

To restore grub after re-installing windows under Fedora Core:

1. Boot from FC CD1

2. Enter

linux rescue
at the prompt
3. Type

grub-install /dev/hda
at the command line
4. Wait for confirmation and reboot

Note that on different flavours of Linux you may have to issue the command

chroot /mnt/sysimage
before step 3 above.

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

Tim Horton:

EasyBCD certaily is a great a nifty little app!

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

Egonis:

Ahh, I had *no* issue dualbooting Vista and Gentoo Linux.

I used the GRUB bootloader and used the exact same configuration in grub.conf as I once did for XP, and it worked fine.

Yes, Windows rewrites the MBR, but I had that happen once in two years.

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

IJM:

Hello friend, I wonder if you could send to me your /boot/grub/menu.lst to see what's wrong, because I recently installed Fedora Core 6 in my laptop with windows beast(vista), and Vista can't boot, I think seeing your Gentoo menu.lst file I can correct what's mistaken,

thanks in advance.

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

benhadad:

I am having the same issue with FC6 it would be nice to know the NeoGrub settings

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

anonymous user Anonymous user


Tags