Boot Sabayon 6 from Grub Legacy Fails

Installer Issues via Installer -- Not for global upgrades or upgrading individual packages -- ONLY ISSUES WITH INSTALLATION OF THE OS -- Can't get Sabayon installed, than post here, otherwise use correct forums

Moderator: Moderators

Boot Sabayon 6 from Grub Legacy Fails

Postby hal8000 » Sat Sep 24, 2011 12:21

Just installed Sabayon 6 and all works well if I boot from Grub 2.
However I dislike grub2 and already have several other linux systems and FreeBSD installed.
My preferred Bootloader is Grub legacy.

When I try and boot Sabayon 6 using grub legacy I get
Grub Error 17 (I believe this is partition corrupt or not recognised)


Here is my grub stanza:

title Sabayon 6
kernel (hd1,6)/boot/vmlinuz ro root=UUID=c0c91c66-07a9-4693-93b2-5398a638740c quiet splash
initrd (hd1,6)/boot/initrd.img


Output of
ls -l /dev/disk/by-uuid/
total 0
--snip--
lrwxrwxrwx 1 root root 10 Sep 24 11:43 c0c91c66-07a9-4693-93b2-5398a638740c -> ../../sdb7



Its installed as two partitions:
/ on /dev/sdb7
/home on /dev/sdb8


If I mount the Sabayon root partition from an alternate linux system I have already created appropriate symlinks to the Sabayon kernel and initramfs:

ls -l
total 18416
lrwxrwxrwx 1 root root 1 Sep 18 15:06 boot -> ./
drwxr-xr-x 1 root root 4898 Sep 18 16:13 grub/
-rw-r--r-- 1 root root 12079581 Sep 18 16:13 initramfs-genkernel-x86-2.6.39-sabayon
lrwxrwxrwx 1 root root 38 Sep 18 15:19 initrd.img -> initramfs-genkernel-x86-2.6.39-sabayon
-rw-r--r-- 1 root root 4556112 Aug 3 23:13 kernel-genkernel-x86-2.6.39-sabayon
-rw-r--r-- 1 root root 2215646 Aug 3 23:13 System.map-genkernel-x86-2.6.39-sabayon
lrwxrwxrwx 1 root root 35 Sep 18 15:19 vmlinuz -> kernel-genkernel-x86-2.6.39-sabayon



Can anyone see what is wrong with my grub stanza, or why it fails to boot?
I can provide the full menu.lst if required.

Thanks in advance.
hal8000
Baby Hen
 
Posts: 1
Joined: Sat Sep 24, 2011 12:11

Re: Boot Sabayon 6 from Grub Legacy Fails

Postby harmon » Wed Sep 28, 2011 20:59

Hi!
1. Please see:
http://www.linuxselfhelp.com/gnu/grub/html_chapter/grub_13.html
2. To help we need more details; I installed multiboot systems with Grub legacy as well as with so called Grub2.
If you have a Linux with Grub legacy in the MBR, do you use "chainload"? Please post that part (2 - 3 lines) of the menu.lst.
Part of my menu.lst - openSUSE with Grub1 in MBR, SL with Grub2 in PBR=sda8 -:
title Sabayon 64 bit
root (hd0,7)
chainloader +1

harmon
harmon @ Linux multiboot
harmon
Growing Hen
 
Posts: 147
Joined: Sat Jun 19, 2010 16:35


Return to Installer Issues - Anaconda **Not for Package Manager Stuff**

Who is online

Users browsing this forum: No registered users and 0 guests