Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't boot upgraded kerne;
Date: Tue, 13 Mar 2012 07:11:32
Message-Id: 201203130710.20256.michaelkintzios@gmail.com
In Reply to: [gentoo-user] Can't boot upgraded kerne; by roger@cs.wisc.edu
1 On Tuesday 13 Mar 2012 05:36:38 roger@×××××××.edu wrote:
2 > I recently decided to update my AMD64 box from 2.38 to the new 3.2 kernel.
3 > I used genkernel all to compile the upgraded kernel but when I go to boot
4 > I get the following error.
5 >
6 > >>Loading modules
7 > >>Determining root device
8 >
9 > !!Block device /dev/sdb2 is not a valid root device
10 > !!Could not find the root block device in .
11 > Pleas specify another value or" press enter for the same, type "shell" for
12 > a shell, or "q"to skip..
13 > root block device()::
14 >
15 > However at this point the computer is hung and I am no longer able to
16 > input anything. I just switched over to gentoo from bsd a year or so ago
17 > and am still a newbie at some of the installation procedures but I believe
18 > I have followed the manual correctly with the only change being that /boot
19 > is located on the root partition and not a seperate partition. I'm still
20 > able to use my older kernel without a problem and the only difference that
21 > I can note between the two is that older kernel seems to load in a bunch
22 > of modules and starts mdev, I believe, before trying to locate root. I am
23 > also using Lilo since my motherboard doesn't seem to like grub. Any help I
24 > could get would be appreciated.
25 >
26 > roger
27 >
28 > Here is a print out of lilo.conf
29 > boot=/dev/sdb
30 > map=/boot/map
31 >
32 > prompt
33 > timeout=50
34 > default=Windows
35 >
36 > image=/boot/kernel-genkernel-x86_64-2.6.38-gentoo-r6
37 > label=2.6.38
38 > read-only
39 > append="real_root=/dev/sdb2"
40 > vga=773
41 > initrd=/boot/initramfs-genkernel-x86_64-2.6.38-gentoo-r6
42 >
43 > image=/boot/kernel-genkernel-x86_64-3.2.1-gentoo-r2
44 > label=3.2.1
45 > read-only
46 > append="real_root=/dev/sdb2"
47 > initrd=/boot/initramfs-genkernel-x86_64-3.2.1-gentoo-r2
48 >
49 >
50 > other=/dev/sda1
51 > label=Windows
52 >
53 >
54 > Here is a print out of fdisk
55 > Disk /dev/sdb: 80.0 GB, 80026361856 bytes
56 > 255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
57 > Units = sectors of 1 * 512 = 512 bytes
58 > Sector size (logical/physical): 512 bytes / 512 bytes
59 > I/O size (minimum/optimal): 512 bytes / 512 bytes
60 > Disk identifier: 0x37cd3650
61 >
62 > Device Boot Start End Blocks Id System
63 > /dev/sdb1 2048 12584959 6291456 82 Linux swap /
64 > Solaris /dev/sdb2 * 12584960 14682111 1048576 83 Linux
65 > /dev/sdb3 14682112 156301487 70809688 5 Extended
66 > /dev/sdb5 14684160 18878463 2097152 83 Linux
67 > /dev/sdb6 18880512 23074815 2097152 83 Linux
68 > /dev/sdb7 23076864 65019903 20971520 83 Linux
69 > /dev/sdb8 65021952 156301487 45639768 83 Linux
70 >
71 > Here is a print out of fstab
72 > # /etc/fstab: static file system information.
73 > #
74 > # noatime turns off atimes for increased performance (atimes normally
75 > aren't # needed); notail increases performance of ReiserFS (at the expense
76 > of storage
77 > # efficiency). It's safe to drop the noatime options if you want and to
78 > # switch between notail / tail freely.
79 > #
80 > # The root filesystem should have a pass number of either 0 or 1.
81 > # All other filesystems should have a pass number of 0 or greater than 1.
82 > #
83 > # See the manpage fstab(5) for more information.
84 > #
85 >
86 > # <fs> <mountpoint> <type>
87 > <opts> <dump/pass>
88 >
89 > # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
90 > /dev/sdb2 / ext3 noatime
91 > 0 1
92 > /dev/sdb1 none swap sw
93 > 0 0
94 >
95 > /dev/sdb5 /var ext3 defaults
96 > 1 2
97 > /dev/sdb6 /tmp ext3 defaults
98 > 1 2
99 > /dev/sdb7 /usr ext3 defaults
100 > 1 2
101 > /dev/sdb8 /home ext3 defaults
102 > 1 2
103 >
104 > /dev/cdrom /mnt/cdrom auto noauto,ro
105 > 0 0
106 >
107 > /dev/sda2 /mnt/Windows ntfs defaults
108 > 1 2
109 >
110 > proc /proc proc
111 > defaults 0 0
112 > shm /dev/shm tmpfs
113 > nodev,nouisd,noexec 0 0
114 >
115 > #tmpfs /var/tmp/portage tmpfs
116 > size=500M,mode=0777 0 0
117
118
119 In all likelihood you have not included in your kernel (built in, not as
120 modules) the corresponding SATA controller driver. Run a diff between old and
121 new kernel .config to find out what's missing, or cp your old .config into your
122 new kernel tree and run 'make oldconfig'.
123 --
124 Regards,
125 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies