Gentoo Archives: gentoo-user

From: Jeff Cranmer <jcranmer01@×××××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Kernel 2.6.22-r9 installation problems
Date: Sun, 18 Nov 2007 17:04:22
Message-Id: 200711181155.59169.jcranmer01@earthlink.net
In Reply to: Re: [gentoo-user] portage update problems due to sane-backends by Jeff Cranmer
1 I have just tried to install the latest 2.6.22-r9 kernel
2 I copied the config file across from the present 2.6.17.r8 installed kernel,
3 then recompiled.
4
5 The grub line which works for the 2.6.17-r8 kernel is:
6 # For booting GNU/Linux
7 title Gentoo Linux 2.6.17-r8
8 root (hd0,4)
9 kernel /kernel-2.6.17-gentoo-r8 root=/dev/sda3
10 #initrd /initrd.img
11
12 I created the following grub line for the new kernel
13 # For booting GNU/Linux
14 title Gentoo Linux 2.6.22-r9
15 root (hd0,4)
16 kernel /kernel-2.6.22-gentoo-r9 root=/dev/sda3
17 #initrd /initrd.img
18
19 The fstab is as follows
20 # <fs> <mountpoint> <type> <opts> <dump/pass>
21 /dev/sda5 /boot ext3 noauto,noatime 1 2
22 /dev/sda3 / ext3 noatime 0 1
23 /dev/sda2 none swap sw 0 0
24 /dev/dvdrw /mnt/dvdrw iso9660 noauto,user 0 0
25 #/dev/fd0 /mnt/floppy auto noauto 0 0
26 /dev/sda7 /mnt/data ext3 noatime 0 1
27 /dev/hde1 /mnt/backup ext3 noatime 0 1
28 proc /proc proc defaults 0 0
29 shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
30
31 In other words, the boot directory is at sda5, and the root directory is at
32 sda3. sda3 is the bootable partition.
33
34 When I try to access the new kernel, I get the following error text
35 (summarised)
36
37 Cannot open root device "sda3" or unknown block (0,0)
38 Please append a correct "root=" boot option.
39 Here are the available partitions
40 hde driver: ide-disk
41 hde1
42 hdf driver: ide-disk
43 hdf1
44 hda driver: ide-cdrom
45 kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(0,0)
46
47 Can anyone point me in the direction of why the new kernel will not boot,
48 while the old one boots fine?
49
50 Thanks
51
52 Jeff
53 --
54 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Kernel 2.6.22-r9 installation problems "b.n." <brullonulla@×××××.com>
Re: [gentoo-user] Kernel 2.6.22-r9 installation problems Billy Holmes <billy@××××××.net>