* [gentoo-user] Grub causing kernel panic? - ThinkPad T40 - new install [not found] <677143dd0611030706n4e53715ek82bca9a2b725f00@mail.gmail.com> @ 2006-11-03 15:32 ` Greg Morin 2006-11-03 15:55 ` Sergio Polini 2006-11-03 18:49 ` Richard Fish 0 siblings, 2 replies; 4+ messages in thread From: Greg Morin @ 2006-11-03 15:32 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1962 bytes --] 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 [-- Attachment #2: Type: text/html, Size: 3603 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Grub causing kernel panic? - ThinkPad T40 - new install 2006-11-03 15:32 ` [gentoo-user] Grub causing kernel panic? - ThinkPad T40 - new install Greg Morin @ 2006-11-03 15:55 ` Sergio Polini 2006-11-03 17:42 ` Mick 2006-11-03 18:49 ` Richard Fish 1 sibling, 1 reply; 4+ messages in thread From: Sergio Polini @ 2006-11-03 15:55 UTC (permalink / raw To: gentoo-user Greg Morin: > 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 / My layout is similar: /dev/sda5 : /boot /dev/sda6: / >grub.conf > [cut] > title=Gentoo Linux 2.6.17-r8 > root (hd0,0) > kernel /boot/kernel-2.6.17-gentoo-r8 root=/dev/hda3 My grub.conf: title=Gentoo 2.6.17-r8 Stable (sda6) root (hd0,4) kernel /vmlinuz-2.6.17-gentoo-r8 root=/dev/sda6 doscsi > Any ideas? Delete "/boot" from the "kernel" line. HTH Sergio -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Grub causing kernel panic? - ThinkPad T40 - new install 2006-11-03 15:55 ` Sergio Polini @ 2006-11-03 17:42 ` Mick 0 siblings, 0 replies; 4+ messages in thread From: Mick @ 2006-11-03 17:42 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 945 bytes --] On Friday 03 November 2006 15:55, Sergio Polini wrote: > Greg Morin: > > 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 / > > My layout is similar: > /dev/sda5 : /boot > /dev/sda6: / > > >grub.conf > > [cut] > > title=Gentoo Linux 2.6.17-r8 > > root (hd0,0) > > kernel /boot/kernel-2.6.17-gentoo-r8 root=/dev/hda3 > > My grub.conf: > title=Gentoo 2.6.17-r8 Stable (sda6) > root (hd0,4) > kernel /vmlinuz-2.6.17-gentoo-r8 root=/dev/sda6 doscsi > > > Any ideas? > > Delete "/boot" from the "kernel" line. > > HTH > Sergio Make sure the fs type that your / is on has been built in the kernel (not as a module) and reboot. -- Regards, Mick [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Grub causing kernel panic? - ThinkPad T40 - new install 2006-11-03 15:32 ` [gentoo-user] Grub causing kernel panic? - ThinkPad T40 - new install Greg Morin 2006-11-03 15:55 ` Sergio Polini @ 2006-11-03 18:49 ` Richard Fish 1 sibling, 0 replies; 4+ messages in thread From: Richard Fish @ 2006-11-03 18:49 UTC (permalink / raw To: gentoo-user On 11/3/06, Greg Morin <gpmorin@gmail.com> wrote: > VFS:Cannot open root device "hda3" or unknown-block(0,0) The "unknown-block(0,0)" usually means you didn't build the drivers for your disk system into the kernel. Maybe you built them as modules? If you need help here, post the outputs of lspci -v and 'grep -v -e"^#" -e "^$" /usr/src/linux/.config' -Richard -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-11-03 18:54 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <677143dd0611030706n4e53715ek82bca9a2b725f00@mail.gmail.com> 2006-11-03 15:32 ` [gentoo-user] Grub causing kernel panic? - ThinkPad T40 - new install Greg Morin 2006-11-03 15:55 ` Sergio Polini 2006-11-03 17:42 ` Mick 2006-11-03 18:49 ` Richard Fish
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox