Gentoo Archives: gentoo-user

From: Michael Sullivan <michael@××××××××××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] Why can't kernel-2.6.19-gentoo-r5 see my root partition?
Date: Sat, 03 Feb 2007 17:14:30
Message-Id: 1170522392.14753.8.camel@camille.espersunited.com
1 I upgraded my kernel to 2.6.19-gentoo-r6 this morning. I used
2 genkernel. I followed these steps:
3
4 Deleted the /usr/src/linux symlink and recreated it point
5 to /usr/src/2.6.19-gentoo-r5
6 zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6
7 genkernel all
8
9 After it successfully built, I opened up my /boot/grub/grub.conf file in
10 vim and copied the entry lines for the old kernel I was using
11 (2.6.18-gentoo-r6 - also created with genkernel) and changed the numbers
12 to reflect the new kernel on the title, kernel, and initrd lines.
13 However when I attempt to boot up with the new kernel, it goes through
14 its usual device checks, and then right when it should say "Booting
15 initramfs-{xxxx}", it says "/dev/sda6 is not a suitable root
16 device." (or something like that) and offers me either a chance to enter
17 the root device, or a shell. I asked for the shell. I did ls and saw a
18 directory structure seemingly similar to my / on my root partition, but
19 when I did ls /dev I didn't see any sda devices (or an other s* devices
20 for that matter). What's gone wrong, and what do I do to fix it? Below
21 is my /boot/grub/grub.conf:
22
23 camille ~ # cat /boot/grub/grub.conf
24 default 0
25 timeout 30
26 splashimage=(hd0,1)/grub/splash.xpm.gz
27
28 title=Gentoo 2.6.19-r5
29 root (hd0,1)
30 kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 real_root=/dev/sda6 udev
31 initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5
32
33 title=Gentoo 2.6.18-r6
34 root (hd0,1)
35 kernel /kernel-genkernel-x86-2.6.18-gentoo-r6 real_root=/dev/sda6 udev
36 initrd /initramfs-genkernel-x86-2.6.18-gentoo-r6
37
38 title=Gentoo 2.6.18-r4
39 root (hd0,1)
40 kernel /kernel-genkernel-x86-2.6.18-gentoo-r4 real_root=/dev/sda6 udev
41 initrd /initramfs-genkernel-x86-2.6.18-gentoo-r4
42
43 title=Linux 2.6.11.12
44 root (hd0,1)
45 kernel /vmlinuz-2.6.11.12 real_root=/dev/sda6 udev
46 initrd /initrd-2.6.11.12.img
47
48 title=Windows XP
49 rootnoverify (hd0,0)
50 makeactive
51 chainloader +1
52
53
54
55
56 --
57 gentoo-user@g.o mailing list

Replies