Grub causing kernel panic? - ThinkPad T40 - new install

"Greg Morin" <[email protected]> Fri, 3 Nov 2006 10:06:31 -0500
Newsgroups gmane.linux.gentoo.installer
Message-ID <[email protected]>
------=_Part_17999_7981687.1162566391361
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Good day,

I've installed (several times) on a ThinkPad T-40, trying both manual kernel
config and genkernel. I followed the online manual explicitly (I think). The
machine is currently loaded with the manual config. Either way, the results
are similar.

Grub shows the two boot options, then begins loading the OS.

The machine begins to boot, starts loading modules, then kernel panics:
   VFS:Cannot open root device "hda3" or unknown-block(0,0)
   Please append a correct "root=" boot option
   Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)

There is a single fixed disk:
   Device        Boot     Size    System          Filesystem        Mount
point
   =======   ====    ===== =========   =========      =========
   /dev/hda1       *        32M    Linux             ext2
/boot
   /dev/hda2                3G      Linux swap     none                 none
   /dev/hda3                ~71G  Linux              ext3                  /

I am able to mount and use these partitions after booting from CD.
/etc/fstab (/mnt/gentoo/etc/fstab when booted from disk) looks good.

Filesystems ext2 and ext3 are compiled into the kernel.

Grub details:
   device.map
        (hd0)   /dev/hda
   grub.conf
        default   0
        timeout   5
        splashimage=(hd0,0)/boot/grub/spash.xpm.gz

        title=Gentoo Linux 2.6.17-r8
        root (hd0,0)
        kernel /boot/kernel-2.6.17-gentoo-r8 root=/dev/hda3

        title=Gentoo Linux 2.6.17-r8 (rescue)
        root(hd0,0)
        kernel /boot/kernel-2.6.17-gentoo-r8 root=/dev/hda3 init=/bin/bb

   I used grub-install /dev/hda with no errors. I've played around with the
"root=" entry, but to no avail - not sure I'm understanding this one...

The kernel image appears to be valid, with no typos in filename/grub
entries.

Any ideas? Seems that the kernel begins to load, but can't mount the root
filesystem?

Thank-you for any pointers.


-- 

Gpm
The Morins of Plantsville

------=_Part_17999_7981687.1162566391361
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Good day,<br>
<br>
I've installed (several times) on a ThinkPad T-40, trying both manual
kernel config and genkernel. I followed the online manual explicitly (I
think). The machine is currently loaded with the manual config. Either
way, the results are similar.<br>
<br>
Grub shows the two boot options, then begins loading the OS.<br>
<br>
The machine begins to boot, starts loading modules, then kernel panics:<br>
&nbsp;&nbsp; VFS:Cannot open root device &quot;hda3&quot; or unknown-block(0,0)<br>
&nbsp;&nbsp; Please append a correct &quot;root=&quot; boot option<br>
&nbsp;&nbsp; Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)<br>
<br>
There is a single fixed disk:<br>
&nbsp;&nbsp; Device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Boot&nbsp;&nbsp;&nbsp;&nbsp; Size&nbsp;&nbsp;&nbsp; System&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mount point<br>
&nbsp;&nbsp; =======&nbsp;&nbsp; ====&nbsp;&nbsp;&nbsp; ===== =========&nbsp;&nbsp; =========&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =========<br>
&nbsp;&nbsp; /dev/hda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 32M&nbsp;&nbsp;&nbsp; Linux&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ext2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /boot<br>
&nbsp;&nbsp; /dev/hda2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3G&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Linux swap&nbsp;&nbsp;&nbsp;&nbsp; none&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; none<br>
&nbsp;&nbsp; /dev/hda3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ~71G&nbsp; Linux&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ext3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /<br>
<br>
I am able to mount and use these partitions after booting from CD.
/etc/fstab (/mnt/gentoo/etc/fstab when booted from disk) looks good.<br>
<br>
Filesystems ext2 and ext3 are compiled into the kernel.<br>
<br>
Grub details:<br>
&nbsp;&nbsp; device.map<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (hd0)&nbsp;&nbsp; /dev/hda<br>
&nbsp;&nbsp; grub.conf<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default&nbsp;&nbsp; 0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; timeout&nbsp;&nbsp; 5<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; splashimage=(hd0,0)/boot/grub/spash.xpm.gz<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; title=Gentoo Linux 2.6.17-r8<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root (hd0,0)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; kernel /boot/kernel-2.6.17-gentoo-r8 root=/dev/hda3<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; title=Gentoo Linux 2.6.17-r8 (rescue)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root(hd0,0)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; kernel /boot/kernel-2.6.17-gentoo-r8 root=/dev/hda3 init=/bin/bb<br>
<br>
&nbsp;&nbsp; I used grub-install /dev/hda with no errors. I've played around with
the &quot;root=&quot; entry, but to no avail - not sure I'm understanding this
one...<br>
<br>
The kernel image appears to be valid, with no typos in filename/grub entries.<br>
<br>
Any ideas? Seems that the kernel begins to load, but can't mount the root filesystem?<br>
<br>
Thank-you for any pointers.<br clear="all"><br clear="all"><br>-- <br><br>Gpm<br>The Morins of Plantsville

------=_Part_17999_7981687.1162566391361--
-- 
[email protected] mailing list