bad grub

Thomas Kaiser thomas at kaiser.linux-site.net
Sun May 15 10:55:29 UTC 2005


> I have my own bootloader, so I didn't want grub when I installed hoary 
> recently, so answered the grub questions "No".  I was _very_ annoyed when the 
> install reboot presented me with that obscure ">grub" prompt.  :-(

Don't install grub to the MBR. You have to install it to the bootsector 
of your root partition.
- Boot with a recovery Linux (Live CD)
- Mount your root partition
- chroot to your root partition
- grub-install /dev/hda1 (if your root partition is the first partition)
- install your bootloader to MBR

menu.lst:
title           Ubuntu, kernel 2.6.10-5-386
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.10-5-386 root=/dev/hda1 ro quiet splash
initrd          /boot/initrd.img-2.6.10-5-386
savedefault
boot

title           Ubuntu, kernel 2.6.10-5-386 (recovery mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.10-5-386 root=/dev/hda1 ro single
initrd          /boot/initrd.img-2.6.10-5-386
savedefault
boot





More information about the ubuntu-users mailing list