public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Why can't kernel-2.6.19-gentoo-r5 see my root partition?
@ 2007-02-03 17:06 Michael Sullivan
  2007-02-03 17:20 ` Joe Menola
  2007-02-03 18:47 ` Ben Kelly
  0 siblings, 2 replies; 14+ messages in thread
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	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2007-02-04 23:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-03 17:06 [gentoo-user] Why can't kernel-2.6.19-gentoo-r5 see my root partition? Michael Sullivan
2007-02-03 17:20 ` Joe Menola
2007-02-03 17:27   ` Michael Sullivan
2007-02-03 18:45   ` Graham Murray
     [not found]     ` <1170534579.14552.2.camel@camille.espersunited.com>
2007-02-04  1:44       ` [gentoo-user] Why can't kernel-2.6.19-gentoo-r5 see my root partition? [SOLVED] Dan Farrell
2007-02-04  1:51         ` Michael Sullivan
2007-02-03 20:36   ` [gentoo-user] Why can't kernel-2.6.19-gentoo-r5 see my root partition? Neil Walker
2007-02-03 20:57     ` Sigfrido V. Ortiz C.
2007-02-04  4:00       ` b.n.
2007-02-04  9:09         ` Bruce Munro
2007-02-04 12:56           ` b.n.
     [not found]             ` <45C60832.7090606@blueyonder.co.uk>
2007-02-04 17:31               ` Sigfrido V. Ortiz C.
2007-02-04 23:17             ` Daniel Barkalow
2007-02-03 18:47 ` Ben Kelly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox