OK, without any replies, I decided to try this (if I recall correctly):
root (hd1,4)
setup (hd0,1)
(or was it setup (hd1,0) -- I don't remember)
That got grub set up on the correct hard drive so that when I boot, it runs. But somehow it's gotten terribly confused and won't boot any of the 3 bootable partitions I have on two drives!
When I try to boot to any of the Ubuntu installations, it says that the partition doesn't exist. When I try to boot to the Windows XP installation, I think I get Error 17, and when I try to boot to the other Windows XP installation, I get the Dell recovery utility. The only way to boot to Ubuntu is to manually edit the root command before booting. How did it get so terribly confused? I finally found my /boot/grub directory (I didn't realize I had to look in a different place when running from the live CD). Here's what it's got:
Code:
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd1,4)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=fedafd25-fade-4a6a-b080-3e096a00baa5 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd1,4)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=fedafd25-fade-4a6a-b080-3e096a00baa5 ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04, memtest86+
root (hd1,4)
kernel /boot/memtest86+.bin
quiet
### 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/sda2
title Microsoft Windows XP Home Edition
root (hd0,1)
savedefault
makeactive
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdb1
title Microsoft Windows XP Home Edition
root (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
Please help, things are going downhill fast.
Edit: 1) I discovered that it's error 12: Invalid Device, not error 17 that I get when I try to boot to the first Windows XP partition.
2) I just discovered that I can boot into the old Windows XP installation from the old/first drive if I use that last configuration (with the "map" lines) and change root (hd1,0) to root(hd1,1)
Edit2: To boot to Ubuntu I have to change root(hd1,4) to root(hd0,4).
Bookmarks