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