Sabayon 6 kde 32bit
Installed Sabayon, rebooted, updated. Everything went fine. Rebooted and logged into Mepis 11 kde to reset MBR. I work mostly in the gui and Mepis has a gui to reset MBR.
I wanted to use grub legacy as my boot menu rather than grub2. Mepis uses grub legacy. Oddly enough after rebooting and resetting the MBR there was no menu.lst entry for Sabayon 6.
Now I need to add an entry to my menu.lst for booting Sabayon. Mepis is on sda8 and Sabayon is on sda9.
Can I chainload like this?
Code: Select all
title Sabayon 6
Also, where is the kernel and intrid details stored on Sabayon?
I'm assuming you don't have a separate boot partition, i.e. /boot for Mepis is on /dev/sda8, and /boot for SL is on /dev/sda9. Is that how you installed the two OSs?
When you installed SL, the GRUB 2 equivalent of GRUB Legacy's Stage 1 code was written to /dev/sda's MBR, and the GRUB 2 equivalent of GRUB Legacy's Stage 2 code was written to /dev/sda9. Thus, when you next booted your HDD, GRUB 2 code in the MBR booted the GRUB 2 code on /dev/sda9 which looked in /boot/grub/grub.cfg and loaded the SL initramfs and kernel image stored in the /boot directory on /dev/sda9. When you then subsequently used your Mepis LiveCD/DVD to reset the MBR to GRUB Legacy, the MBR now contains GRUB Legacy's Stage 1 code which runs the GRUB Legacy Stage 2 code on /dev/sda8. That's why you don't see SL any more when you boot.
If I were you, I'd chroot into the SL installation and restore GRUB 2, which would then put GRUB 2 code in the MBR and GRUB 2 code in /dev/sda9. From the chroot environment I'd run:
to install the GRUB 2 code in the MBR, and then I'd run:
Code: Select all
grub-mkconfig -o /boot/grub/grub.cfg
to create a /boot/grub/grub.cfg file that should detect Mepis on /dev/sda8 as well as SL.
Then when you reboot, you should be presented with a GRUB 2 menu that will show both SL and Mepis, and you can select whichever of the two you wish to boot.
I've skimmed over it, so read the SL Wiki article: HOWTO: Restore Grub2
for the full details.
May as well bite the bullet: GRUB Legacy is history.