GRUB setup

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

Post Reply
Simple Hen
Posts: 47
Joined: Sun Dec 31, 2006 6:02
Location: australian east coast ...

GRUB setup

Post by tchoklat » Mon Apr 09, 2007 4:33

I have XP and SL configured for a dual boot. Works fine. I have just installed Ubuntu. How do I configure the GRUB to list Ubuntu as a bootup option.


Old Dear Hen
Posts: 964
Joined: Mon Nov 27, 2006 9:48
Location: Land Down Under / Australia

Post by Appleman1234 » Mon Apr 09, 2007 5:57

Just Add Grub entry to grub.conf, by copy pasting the Sabayon entry and changing the title, kernel , root and initrd parameters.

Young Hen
Posts: 22
Joined: Tue Jan 16, 2007 11:24

Post by forest » Mon Apr 09, 2007 11:12

I have ubuntu installed and there is my entry to /boot/grub/menu.lst:

Code: Select all

title           Ubuntu, kernel 2.6.17-11-generic
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.17-11-generic root=/dev/hda5 ro quiet splash locale=es_ES
initrd          /boot/initrd.img-2.6.17-11-generic
Replace 2.6.17-11-generic with your current ubuntu kernel (mount the partition and have a look) and change hd0,4 to your partition.

the 0 is the primary master hard disk and the 4 is the the fifth partition, like /dev/hda5 or /dev/sda5 depending f your kernel version.

Simple Hen
Posts: 78
Joined: Sat May 20, 2006 22:42

Post by konstk » Mon Apr 09, 2007 14:55

You also need to copy /lib/modules/* from your Sabayon root directory to /lib/modules/* in your Ubuntu root directory

Post Reply