Gentoo Archives: gentoo-user

From: Francisco Ares <frares@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] grub2 or kernel config - unable to properly boot
Date: Tue, 27 Aug 2013 11:32:00
Message-Id: CAHH9eM6h3Vu-v_T9fZF1aTc-p=Ctcq2mBCBMkSrhm8P0N=VYSA@mail.gmail.com
In Reply to: Re: [gentoo-user] grub2 or kernel config - unable to properly boot by Wang Xuerui
1 2013/8/27 Wang Xuerui <idontknw.wang@×××××.com>
2
3 > 2013/8/27 Francisco Ares <frares@×××××.com>:
4 > > In regard of file systems,
5 > > it only loads a ext2 module, and the root partition is ext4 formated.
6 > >
7 > > Although this kernel has ext2, ext3 and ext4 built in (not modules), can
8 > > this be a cue? Right now I am preparing to format the root partition as
9 > > ext2, just to check this out.
10 >
11 > Well, GRUB modules are *GRUB* modules, that is, they're there only for
12 > GRUB to be able to understand your partition table and read your
13 > filesystems. After successfully reading the kernel into memory and
14 > passing control to it, they're not relevant any more, so you really
15 > don't have to reformat /.
16 >
17 > Instead, focus on your initramfs as the error shows some inconsistency
18 > between the expected and actual initramfs content. Also that last line
19 > seems to come from initramfs, based on its appearance (unlike dmesg
20 > lines). You may understand your problem better there.
21 >
22 > Hope that helps.
23 >
24 >
25 Thanks for your reply, Wang
26
27 You are probably right, because using the grub console interface, it was
28 possible to mount any other partitions using commands like
29
30 root=(hd0,msdos5)
31
32 I have used genkernel to build both the kernel and the initramfs, so I
33 don't know what could be wrong. In fact, I have never tried to build my own
34 initramfs.
35
36 Any hints on how to diagnose a initramfs? AFAIK it is a filesystem. How
37 can I mount it to check its contents?
38
39 Thanks again,
40 Francisco

Replies

Subject Author
Re: [gentoo-user] grub2 or kernel config - unable to properly boot Neil Bothwick <neil@××××××××××.uk>