Dual Boot Vista and Linux
Requirements:
- 2 Hard Drives
- Linux Install CD
- Vista Install DVD
- Computer powerful enough to run Vista
Why this is nessissary
Vista comes with a more difficult to work with bootloader. If you install Vista, then Grub, it wipes out the Vista Bootloader. It used to be that you could just tell Grub what to do to boot into Windows, but Windows no longer boots on it’s own: It needs its *special* bootloader!
This may seem convoluted, but in order to counteract this, I keep the Windows Bootloader on the Windows drive. However, I then make that drive the 2nd drive and install the Grub bootloader on the 1st drive. This makes the computer boot Grub first, which can either go right into Linux or it can boot into the 2nd drive, remapping the drives so that the Windows Bootloader can take over, thinking that it is on the 1st drive.
Before you start!
Read this entire manual so you have an idea of what you are doing.
Step 1: Install Windows Vista
Install everything taking up the entire contents of the first disk. Reboot to make sure Windows boots normally.
Note: if you are going to install multiple Windows operating systems, install them BEFORE installing Vista ONTO this drive, but do not take up all of the disk space!
Step 2: Swap Drives
Powerdown. Physically swap drives. My system is hotswap so this is easy. If you have Master/Slave pins, switch the Master with the Slave. If you are using SATA, switch connections between the two drives. I don’t care how you do it, just make the computer think the first drive is the 2nd drive and visa versa.
Step 3. Install Linux
I have tried this with both Gentoo and Kubuntu. Works great. Go through the linux setup, installing to the FIRST DRIVE. This drive WOULD have been the 2nd drive, but now it is the 1st because we swapped the drives around.
When it asks what Bootloader you want, select GRUB!
Step 4. Configure GRUB
Follow your distributions manual on configuring grub.conf for the linux partition (kubuntu automatically will do this for you). However, for the Windows partition you must configure it as so:
# Windows Vista
title=Windows Vista
rootnoverify (hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
chainloader +1
Step 5. Install GRUB to the MBR
Run “grub” to open the grub terminal:
grub> root (hd0,0)
grub> setup (hd0)
grub> quit
Reboot after you are finished setting up your system. It should let you pick between either Linux or Vista.
Tags:boots, Computer, convoluted, Drivers, gentoo, kubuntu, Linux, linux_install, linux_partition, linux_setup, master_slave, Windows, windows vista

























July 13th, 2007 at 9:32 am
[...] Grub not picking up Vista I searched the forum and found this: http://www.pctipsbox.com/dual-boot-vista-and-linux/ check it out. __________________ CSMonkey Blog CSMonkey TV Remote: desktop TV remote for IVTV [...]
August 15th, 2007 at 11:44 am
[...] –it even has problems with other windows products Grub & Vista BSD bootloader.. http://www.pctipsbox.com/dual-boot-vista-and-linux/ http://apcmag.com/5046/how_to_dual_b…talled_ first EasyBSD is probably the easiest way.. [...]
August 30th, 2007 at 8:51 am
[...] Your page is on StumbleUpon [...]
March 11th, 2008 at 1:39 am
Hello. I wish I read your manual before I have installed Ubuntu and Vista.Vista was installed first on one hd, then Ubuntu on other hd. Now I don’t know how to boot into the Vista. I have though no problems booting in Ubuntu. Could you help?
Thanks in advance
March 14th, 2008 at 5:37 pm
Bit of a limited tutorial - not everyone has two drives. (Laptops, for instance.)