I upgraded my kernel to 2.6.19-gentoo-r6 this morning.  I used
genkernel.  I followed these steps:

Deleted the /usr/src/linux symlink and recreated it point
to /usr/src/2.6.19-gentoo-r5
zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6
genkernel all

After it successfully built, I opened up my /boot/grub/grub.conf file in
vim and copied the entry lines for the old kernel I was using
(2.6.18-gentoo-r6 - also created with genkernel) and changed the numbers
to reflect the new kernel on the title, kernel, and initrd lines.
However when I attempt to boot up with the new kernel, it goes through
its usual device checks, and then right when it should say "Booting
initramfs-{xxxx}", it says "/dev/sda6 is not a suitable root
device." (or something like that) and offers me either a chance to enter
the root device, or a shell.  I asked for the shell.  I did ls and saw a
directory structure seemingly similar to my / on my root partition, but
when I did ls /dev I didn't see any sda devices (or an other s* devices
for that matter).  What's gone wrong, and what do I do to fix it?  Below
is my /boot/grub/grub.conf:

camille ~ # cat /boot/grub/grub.conf
default 0
timeout 30
splashimage=(hd0,1)/grub/splash.xpm.gz

title=Gentoo 2.6.19-r5
root (hd0,1)
kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 real_root=/dev/sda6 udev
initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5

title=Gentoo 2.6.18-r6
root (hd0,1)
kernel /kernel-genkernel-x86-2.6.18-gentoo-r6 real_root=/dev/sda6 udev
initrd /initramfs-genkernel-x86-2.6.18-gentoo-r6

title=Gentoo 2.6.18-r4
root (hd0,1)
kernel /kernel-genkernel-x86-2.6.18-gentoo-r4 real_root=/dev/sda6 udev
initrd /initramfs-genkernel-x86-2.6.18-gentoo-r4

title=Linux 2.6.11.12
root (hd0,1)
kernel /vmlinuz-2.6.11.12 real_root=/dev/sda6 udev
initrd /initrd-2.6.11.12.img

title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1




-- 
gentoo-user@gentoo.org mailing list

Reply via email to