2013/8/27 Wang Xuerui <idontknw.wang@gmail.com>
2013/8/27 Francisco Ares <frares@gmail.com>:
> In regard of file systems,
> it only loads a ext2 module, and the root partition is ext4 formated.
>
> Although this kernel has ext2, ext3 and ext4 built in (not modules), can
> this be a cue?  Right now I am preparing to format the root partition as
> ext2, just to check this out.

Well, GRUB modules are *GRUB* modules, that is, they're there only for
GRUB to be able to understand your partition table and read your
filesystems. After successfully reading the kernel into memory and
passing control to it, they're not relevant any more, so you really
don't have to reformat /.

Instead, focus on your initramfs as the error shows some inconsistency
between the expected and actual initramfs content. Also that last line
seems to come from initramfs, based on its appearance (unlike dmesg
lines). You may understand your problem better there.

Hope that helps.


Thanks for your reply, Wang

You are probably right, because using the grub console interface, it was possible to mount any other partitions using commands like

root=(hd0,msdos5)

I have used genkernel to build both the kernel and the initramfs, so I don't know what could be wrong. In fact, I have never tried to build my own initramfs.

Any hints on how to diagnose a initramfs?  AFAIK it is a filesystem.  How can I mount it to check its contents?

Thanks again,
Francisco