Comment 3 for bug 427048

Revision history for this message
Brandon Checketts (brandonchecketts) wrote :

Trying this on Karmic beta (AMD64) and the grub installation fails with a red screen

====================================
Unable to install GRUB in /dev/mdo
Executing 'grub-install /dev/md0 failed'
This is a fatal error
====================================

I tried to shell out and install grub during install, but couldn't figure out how. I continued installation without installing a boot loader.

Rebooted to Alternate CD, and chose to repair a broken installation. Once to a shell, I ran
grub-install /dev/sda
grub-install /dev/sdb

Removed CD and rebooted. It ended up at a grub shell. At which point I ran the following to boot into the system (note the difference in grub2 commands)

set root=(hd0,1)
linux /vmlinuz-2.6.31-14-generic ro root=/dev/md1 (use tab-completion on the kernel image filename)
initrd /initrd.img-2.6.31-14-generic (use tab-completion)
boot

At that point, it started up normally. Once logged in, I started a terminal and then ran this command as root to create a minimal grub.cfg file (note that it is no longer called menu.lst)

grub-mkconfig > /boot/grub/grub.cfg

I'm now able to reboot into a working system.