menu.lst (without the commented lines)
Code:
default 4
hiddenmenu
title Ubuntu, kernel 2.6.15-23-386
root (hd1,0)
kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hdb1 ro quiet splash
initrd /boot/initrd.img-2.6.15-23-386
savedefault
boot
title Ubuntu, kernel 2.6.15-23-386 (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hdb1 ro single
initrd /boot/initrd.img-2.6.15-23-386
boot
title Ubuntu, memtest86+
root (hd1,0)
kernel /boot/memtest86+.bin
boot
title Other operating systems:
root
title Windows NT/2000/XP (loader)
root (hd0,0)
savedefault
makeactive
chainloader +1
Device Map:
Code:
(hd0) /dev/hda
(hd1) /dev/hdb
You say that GRUB took over the mbr---In a normal install, GRUB would most likely have gone on the first disk--unless you told it to do something different.
I originally installed Ubuntu to the second disk, so I would assume that is where GRUB got installed. Yet when I boot up the PC, GRUB is the active boot loader, so GRUB obviously is in the MBR.
I then created an ext3 on the first drive and copied the /boot to it and ran 'grub-install /dev/hda3', so GRUB is also installed to #1...
When I boot with #2 removed, I get "GRUB loading stage1.5. GRUB loading, please wait... Error 21", so GRUB stage 1 is on the first drive. Is it possible that stage 1.5 is not on the #1? Or is it possible that since some of the options from menu.lst are on #2 and #2 is unplugged is cuasing the problem? Or that the fact that the device map has a drive that's unplugged is the trouble?
Um, what is the MBR? Is it on the HD of in the CMOS?
You say you want to "pull out #2"---Are you going back to having just one drive?
I want to be able to use it an a removable drive - plug and unplug it at will.
I dont understand "grub-install /dev/hda3"---you want grub in the mbr--not a partition. Also it is better to install grub from the grub command prompt. See the grub manual.
grub-install requires a grub-device as the parameter... I thought that's where the /boot/grub is located, i.e. on the first partition of the first drive...
Am I supposed to run 'grub-install /dev/hda'?
I guess I'm gonna have to read the manual, eh? I didn't know there was a grub shell.
If you have a floppy drive you can try to install the loader on it, because the problem may be about windows. It can happened that windows destroyed my linux loader...
Erm... I'm looking for a long term solution. And I think its a problem with what I'm doing with GRUB, not WIndows.