By gcarrillo on Sep 16, 2007
I have a setup where I multiboot Solaris and Ubuntu, and I occasionally install the newest release of Solaris to try out new features. Each time I do so, however, Solaris overwrites the existing Linux GRUB install with its own, and I lose the ability to boot to Ubuntu, even though it's still there on the disk. Here is one method to recover the Linux GRUB (using the Ubuntu Alternate install disc, since that's what I have) and the choices I select:
- Boot from Alternate CD
- Choose "Rescue a broken system"
- Choose Language (English, United States)
- Detect Keyboard Layout (No, U.S. English, U.S. English)
- Detecting HW, Scanning CDROM, Additional components
- Configure networking (Cancel, Continue, Do not configure at this time)
- Hostname (Default, Continue)
- Detecting HW...
- Choose root filesystem device (/dev/sda1)
- Rescue Operations Mode (Reinstall GRUB boot loader)
- I need to install GRUB to MBR, so type hd0 and press continue
- System runs grub-install hd0 to write boot loader to MBR