* [gentoo-user] Why can't kernel-2.6.19-gentoo-r5 see my root partition?
@ 2007-02-03 17:06 99% Michael Sullivan
0 siblings, 0 replies; 1+ results
From: Michael Sullivan @ 2007-02-03 17:06 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2007-02-03 17:06 99% [gentoo-user] Why can't kernel-2.6.19-gentoo-r5 see my root partition? Michael Sullivan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox