Installing GRUB on (hd0,1) is not a good idea.
That would be in the first partition of hd0 and I don't think you want that.
You have to understand GRUB counts your disks starting with zero.
So your first disk is (hd0) your second is (hd1) and so on.
The partitions is the number behind the (,) so your fifth partition on your second disk is (hd1,4).
The best thing to do is install GRUB on the disk where Ubuntu is installed and install windows on a separate hard disk.
Now make the Ubuntu disk the master boot device and the windows disk slave.
You will see a GRUB menu and you can choose between windows and Ubuntu.
Only thing is,windows will not boot in this configuration,you have to do a little altering in your menu.lst
You have to map your drives,because windows like to think it's on the first boot device.
So map them as you can see in this example.
Code:
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP Professional
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
savedefault
chainloader +1
Now windows will boot from the slave drive.
If you have to reinstall Ubuntu or windows,you won't have to bother about the other OS because they are on separate disks,and if GRUB might fail,you can boot windows by choosing this disk as boot device in your BIOS.
Hope this clears something for you.
Don't do a reinstall because GRUB isn't working or you can't find it.
First try to boot from both disks to see if GRUB is installed on the other disk,you can find an option to do so in your BIOS.
If GRUB is on the windows disk,pop in the windows install cd,and go through till you get three options,1]install windows 2]repair a windows install 3]exit,choose to repair a windows install.
Now you're taken to windows recovery console and after typing your admin password,you can give the command 'fixmbr' and/or 'fixboot'.
Now your windows boot loader should be reinstalled.
Now find out which disk is hd0 and hd1 with sudo fdisk -l.
Now boot into the live Ubuntu cd and when you're at the desktop open a terminal and type the following commands,
This will get you a grub> prompt
Code:
find /boot/grub/stage1
This will return a location which you have to use in the next command.
Next enter the command to install grub to the mbr
Finally exit the grub shell
Now Grub will be installed to the mbr.
Remember to make the last step,setup (hd0) for the disk where you want GRUB installed,so if this is (hd1) it would be setup (hd1) instead of (hd0).
If you have more questions about this,let me know,I will try to answer them if I can.
Bookmarks