help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub2 can't find kernel with dual boot


From: Michael Evans
Subject: Re: grub2 can't find kernel with dual boot
Date: Wed, 12 Aug 2009 21:09:12 -0700

I am purely guessing here, but grub2 may use the same notation as grub.

sda7 would be hd(0,6)
sda8 would be hd(0,7)

In this context, the 'root' would probably be the same as in grub, it specifies the root device for -grub-'s data (usually /boot).

On Wed, Aug 12, 2009 at 2:57 PM, Foxy <address@hidden> wrote:
I have Ubuntu 9.04 Jaunty as my main OS, where I have upgraded GRUB to GRUB2. I have also installed Ubuntu 9.10 Karmic on separate partitions. I am trying to boot Kramic, I have a message that I need to load kernel first. It looks like GRUB2 cannot find kernel. Probably the problem is that I have /boot on a separate partition.

This is my config:

/boot/grub/grub.cfg (Karmic entry):

menuentry "Ubuntu karmic (development branch), kernel 2.6.31-2-generic (on /dev/sda6)" {
    set root=(hd0,7)
    linux /boot/vmlinuz-2.6.31-2-generic root=UUID=6ad1f928-50b9-4aea-9495-95df46d08d58 ro quiet splash
    initrd /boot/initrd.img-2.6.31-2-generic
}

/etc/fstab:

# / was on /dev/sda9 during installation
UUID=9018bfe2-9de3-4692-9883-fc2f875e6455 /               ext3    relatime,errors=remount-ro 0       1

# /boot was on /dev/sda8 during installation
UUID=c3eb67b1-7f8f-419b-a462-c79a6c76e5de /boot           ext2    relatime        0       2

# /home was on /dev/sda5 during installation
UUID=4802e809-ecaa-4932-bd01-4a816c0bbd4f /home           ext3    relatime        0       2

# /media/test_boot was on /dev/sda7 during installation
UUID=0c98fbe4-ed7c-4134-994a-07d49074e137 /media/test_boot ext2    relatime        0       2

# /test was on /dev/sda6 during installation
UUID=6ad1f928-50b9-4aea-9495-95df46d08d58 /test           ext3    relatime        0       2


blkid -c /dev/null:

/dev/sda2: UUID="4d5250be-75cf-4ce4-9295-ae5e2cabd441" TYPE="swap" 
/dev/sda5: UUID="4802e809-ecaa-4932-bd01-4a816c0bbd4f" TYPE="ext3" - my /home partition
/dev/sda6: UUID="6ad1f928-50b9-4aea-9495-95df46d08d58" TYPE="ext3" - Karmic / partition
/dev/sda7: UUID="0c98fbe4-ed7c-4134-994a-07d49074e137" TYPE="ext2" - Karmic /boot partition
/dev/sda8: UUID="c3eb67b1-7f8f-419b-a462-c79a6c76e5de" TYPE="ext2" - Jaunty /boot partition
/dev/sda9: UUID="9018bfe2-9de3-4692-9883-fc2f875e6455" TYPE="ext3" - Jaunty / partition


_______________________________________________
Help-grub mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-grub



reply via email to

[Prev in Thread] Current Thread [Next in Thread]