Re: kernel panic - not syncing: VFS - unable to mount root fs onunknown-block

From: Jiri Slaby
Date: Mon Aug 14 2006 - 10:48:38 EST


Hulin Thibaud wrote:
Sorry, new kernel is 2.6.17. to install suspend2.
I believe using LVM, but I'm not sure.

see
/dev/mapper/*

lvm(8) and lvdisplay, vgdisplay, pvdisplay...

mount(8) output

In effect, initrd is not present ! I rode this lines in my menu.lst :
title Ubuntu, kernel 2.6.171915
root (hd1,4)
kernel /boot/vmlinuz-2.6.171915 root=/dev/hdb5 ro quiet splash
savedefault
boot

So, I suppose that's the center of the problem, but actually, I don't know how to solve it.

You need to run mkinitrd with appropriate parameters on created initrd dir.
See a small howto here:
http://linuxreviews.org/howtos/Kernel-Build-HOWTO/en/x543.html
or use google (and man) to find out howto involve mkinitrd.

regards,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/