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



You need to use the initrd. See the man pages for update-initramfs and maybe mkinitramfs. The initrd is where all the drivers get loaded and hardware is detected in an Ubuntu system. It is required for root to be on LVM.

Hulin Thibaud wrote:
Sorry, new kernel is 2.6.17. to install suspend2.
I believe using LVM, but I'm not sure.
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.


-
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/



Relevant Pages

  • Re: Cannot boot from root lvm volume: lvm2 broken?
    ... Failed to create lvm type filter ... I'm seeing this too (though i can boot). ... It seems that the initrd environment is broken at the moment. ... You'll notice that this limited shell (busybox) doesn't function ...
    (Debian-User)
  • Re: switch from 2.4.24 lvm1 to 2.6.10 lvm 2 problems
    ... this LVM group still boots OK on other kernels? ... boots ok with 2.4.24 kernel and an initrd. ... so if i would add your script i have a chance that it works. ...
    (Debian-User)
  • Re: Root auf LVM ohne InitRD?
    ... macht jedoch nicht der Kernel sondern ein Programm "vg_activate" (evt. ... Von wo sollte das Programm ... LVM angelegt, auch den Partitions-Typ auf 8E gesetzt. ... oder muss ich mich doch noch in InitRD einlesen? ...
    (de.comp.os.unix.linux.misc)
  • [Fwd: Re: Kernel panic with a recompiled LVM kernel.]
    ... Kernel panic with a recompiled LVM kernel. ... Il giorno mer, 23/01/2008 alle 10.01 -0500, Damon L. Chesser ha scritto: ... > all other useful option for my hardware are checked, but WITHOUT initrd. ...
    (Debian-User)
  • Re: switch from 2.4.24 lvm1 to 2.6.10 lvm 2 problems
    ... > Went home with a compiled 2.6.10 kernel and an initrd. ... this LVM group still boots OK on other kernels? ... writable /etc for lvmtab' in the lvm-init script on my site. ...
    (Debian-User)