Gentoo Archives: gentoo-installer

From: Greg Morin <gpmorin@×××××.com>
To: gentoo-installer@l.g.o
Subject: [gentoo-installer] Grub causing kernel panic? - ThinkPad T40 - new install
Date: Fri, 03 Nov 2006 15:07:41
Message-Id: 677143dd0611030706n4e53715ek82bca9a2b725f00@mail.gmail.com
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

Replies