ubtubu??---You mean Ubuntu, I hope......
There are several ways to do this:
Put GRUB (the most common linux bootloader) on the MBR of the Windows drive--set the bios to boot this drive
Put GRUB on the MBR of the Linux drive--set the bios to boot this drive
Put Grub on a floppy--set the system to boot from floppy, and then the first HD (set this to be the Windows drive)
Installing GRUB will be a bit tricky when you are changing BIOS settings. Keep in mind that GRUB will setup according to what it believes to be drive 1 and drive 2.
Here is ONE possible scenario with the easiest recovery is something goes wrong:
- set the BIOS to boot the Linux drive (I'm guessing GRUB is already there) This should make the Windows drive #2.
- Edit the grub config file to include a windows entry--something like this:
Code:
title Windows
rootnoverify (hd1,0) tells Grub that Windows in on drive 2, partition 1
map (hd0) (hd1)
map (hd1) (hd0) these two lines are required to trick Windows into thinking it is on drive 1
makeactive
chainloader +1
To edit the GRUB config file, go to /boot/grub and open the file "menu.lst" using an editor such as gedit or nano. You must be running as root (or use sudo)
This method keeps the Windows loader on the Windows drive, so you can always get back to that by switching the BIOS.