Gentoo Archives: gentoo-installer

From: George Prowse <cokehabit2003@××××××××.uk>
To: gentoo-installer@l.g.o
Subject: Re: [gentoo-installer] Grub causing kernel panic? - ThinkPad T40 - new install
Date: Fri, 03 Nov 2006 23:50:55
Message-Id: 454BD5B0.80206@yahoo.co.uk
In Reply to: Re: [gentoo-installer] Grub causing kernel panic? - ThinkPad T40 - new install by Greg Morin
1 Greg Morin wrote:
2 > All: thank-you for the help so far. I have posted this on gentoo-user as
3 > well, and will continue to work with folks individually here or
4 > publically on that list.
5 >
6 > The responses so far have helped - Bigfish (Richard), I may respond
7 > directly to your RFI as you may be able to pinpoint the driver(s) I'm
8 > missing. I have added driver support in newly compiled kernels and
9 > gotten different errors - but I think I'm close.
10 >
11 > Again all - thanks. I'll pursue on gentoo-user...
12 >
13 > Gpm
14 >
15 > On 11/3/06, *Ladislav Laska* <ladislav.laska@×××××.com
16 > <mailto:ladislav.laska@×××××.com>> wrote:
17 >
18 > Andrew is right, this is wrong list. Anyway, you should check that
19 > modules for your IDE controller are loaded in initrd (or compiled into
20 > kernel).
21 >
22 > You can do this by selecting the second choice in grub (rescue). It
23 > will boot into busybox (a very basic shell) and you should be (un)able
24 > to mount filesystems. I don't know what exactly will busybox do for
25 > your, but maybe you will need to create device node by hand.
26 >
27 > For more informations, please write to gentoo-user list, or contact me
28 > personally (but NOT this list, unless this is gentoo-installer's
29 > problem).
30 >
31 > On 11/3/06, Greg Morin <gpmorin@×××××.com
32 > <mailto:gpmorin@×××××.com>> wrote:
33 > > Good day,
34 > >
35 > > I've installed (several times) on a ThinkPad T-40, trying both
36 > manual
37 > > kernel config and genkernel. I followed the online manual
38 > explicitly (I
39 > > think). The machine is currently loaded with the manual config.
40 > Either way,
41 > > the results are similar.
42 > >
43 > > Grub shows the two boot options, then begins loading the OS.
44 > >
45 > > The machine begins to boot, starts loading modules, then kernel
46 > panics:
47 > > VFS:Cannot open root device "hda3" or unknown-block(0,0)
48 > > Please append a correct "root=" boot option
49 > > Kernel panic - not syncing: VFS: Unable to mount root fs on
50 > > unknown-block(0,0)
51 > >
52 > > There is a single fixed disk:
53 > > Device Boot
54 > Size System Filesystem Mount
55 > > point
56 > > ======= ==== ===== ========= ========= =========
57 > > /dev/hda1 * 32M Linux ext2
58 > > /boot
59 > > /dev/hda2 3G Linux swap none
60 > > none
61 > > /dev/hda3 ~71G Linux ext3
62 > > /
63 > >
64 > > I am able to mount and use these partitions after booting from CD.
65 > > /etc/fstab (/mnt/gentoo/etc/fstab when booted from disk) looks good.
66 > >
67 > > Filesystems ext2 and ext3 are compiled into the kernel.
68 > >
69 > > Grub details:
70 > > device.map
71 > > (hd0) /dev/hda
72 > > grub.conf
73 > > default 0
74 > > timeout 5
75 > > splashimage=(hd0,0)/boot/grub/spash.xpm.gz
76 > >
77 > > title=Gentoo Linux 2.6.17-r8
78 > > root (hd0,0)
79 > > kernel /boot/kernel-2.6.17-gentoo-r8 root=/dev/hda3
80 > >
81 > > title=Gentoo Linux 2.6.17-r8 (rescue)
82 > > root(hd0,0)
83 > > kernel /boot/kernel-2.6.17-gentoo-r8 root=/dev/hda3
84 > init=/bin/bb
85 > >
86 > > I used grub-install /dev/hda with no errors. I've played
87 > around with the
88 > > "root=" entry, but to no avail - not sure I'm understanding this
89 > one...
90 > >
91 > > The kernel image appears to be valid, with no typos in filename/grub
92 > > entries.
93 > >
94 > > Any ideas? Seems that the kernel begins to load, but can't mount
95 > the root
96 > > filesystem?
97 > >
98 > > Thank-you for any pointers.
99 > >
100 > >
101 > > --
102 > >
103
104 There are also about 1000 posts about this on the forums and on the
105 "installing Gentoo" forum there is a specific thread on Grub errors and
106 how to deal with each one.
107
108 George
109
110 Send instant messages to your online friends http://uk.messenger.yahoo.com
111
112 --
113 gentoo-installer@g.o mailing list