It seems windows is entirely incabable of booting from anything but hda so I took a friends sujestion and tried to move my linux drive from hda to hdb, however I seem to be having problems getting it to boot. I'm not too fussed about getting window's in the grub boot menu as I can use f11 in my bios to select the drive to boot from.
I'm using Debian Sarge RC and Grub. I edit the grub and fstab to load hdb instead of hda but when I boot grub gives me this error.
Code:
root (hd1,0)
Filesystem type unknown, partition type 0x7
kernel /boot/vmlinuz-2.6.8-2-k7 root=/dev/hdb1 ro
Error 17:cannot mount selected partition
press any key....
If I select the old grub menu option for hda (even thoguh the drive is now on hdb) it actuially seems to boot normally for a moment before stopping with some errors.
(note, I've also since upgraded to kernel 2.6.11-1-k7 but haven't tried with that as I assume it's not the problem)
to change the drive from hda to hdb I used the grub module for webmin to duplicate and edit the entry and editid my fstab file to change hda to hdb.
extract from /boot/grub/menu.lst
Code:
title Debian GNU/Linux, kernel 2.6.8-2-k7
root (hd0,0)
kernel /boot/vmlinuz-2.6.8-2-k7 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.8-2-k7
savedefault
boot
title Debian GNU/Linux, kernel 2.6.8-2-k7 (HDB)
root (hd1,0)
kernel /boot/vmlinuz-2.6.8-2-k7 root=/dev/hdb1 ro
initrd /boot/initrd.img-2.6.8-2-k7
the second option is the edited one made by webmin for booting off hdb.
extract from /etc/fstab
Code:
/dev/hda1 / reiserfs notail 0 1
/dev/hda6 /home reiserfs defaults 0 2
/dev/hda5 none swap sw 0 0
And I just change the hda's to hdb's when I'm trying to boot with the hard drive on hdb.
Anyone know what's going wrong here? Thanks.