From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A00AE1381F3 for ; Tue, 27 Aug 2013 11:32:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8EA39E0C41; Tue, 27 Aug 2013 11:31:47 +0000 (UTC) Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9102DE0C1E for ; Tue, 27 Aug 2013 11:31:46 +0000 (UTC) Received: by mail-ob0-f172.google.com with SMTP id er7so4548320obc.31 for ; Tue, 27 Aug 2013 04:31:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=FzlN9/EJCRjmQvaqPRfelIbq2yKjhdA+7GnvFJaMXhs=; b=CTrmoUy9jfzNInd+bBE+nMOJsTmTmqCt0QKcRtdRjG+YVwYKKZlphxpry94SrqtnCl qhBsoUyn/ZtxCYWuz9R9vqwfpJc5k1jmMwahF196AcytJhuEcrJnI8xMV//ktnAjCedI OZF0XRVRdBZ70vBS1UZzYGWnKAhbK49D09XShcoCnpxkewitj7c0capqF/EinL5CFaWP 4dnUEd7LPKJ/shmIZcvC8MXZsOniFAVZXSuqRM1QJIw4uvxkDHwOf6YY/IFxyk5FHiO1 1OeTC0PaJi4t5aMmGpZriDX2CgA9VAXMNZBLgZXblV637EXkoSa8rTMu4AbdOdRorYCC wm9A== X-Received: by 10.60.133.233 with SMTP id pf9mr5991121oeb.46.1377603105557; Tue, 27 Aug 2013 04:31:45 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.60.52.79 with HTTP; Tue, 27 Aug 2013 04:31:05 -0700 (PDT) In-Reply-To: References: <521B7F80.5000706@hadt.biz> <521C492B.5020302@hadt.biz> From: Francisco Ares Date: Tue, 27 Aug 2013 08:31:05 -0300 Message-ID: Subject: Re: [gentoo-user] grub2 or kernel config - unable to properly boot To: gentoo-user Content-Type: multipart/alternative; boundary=047d7b472078bf906104e4ec37f0 X-Archives-Salt: 2269ba82-79e7-4404-bc5b-a1a3da7a2175 X-Archives-Hash: 6690c0a11506a1c793c146e5e8d4a6cd --047d7b472078bf906104e4ec37f0 Content-Type: text/plain; charset=UTF-8 2013/8/27 Wang Xuerui > 2013/8/27 Francisco Ares : > > 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 --047d7b472078bf906104e4ec37f0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

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

Well, GRUB modules are *GRUB* modules, that is, they're there onl= y 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 rep= ly, Wang

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

root=3D(hd0,msdos5)

I have used genkerne= l to build both the kernel and the initramfs, so I don't know what coul= d be wrong. In fact, I have never tried to build my own initramfs.

Any hints on how to diagnose a initram= fs?=C2=A0 AFAIK it is a filesystem.=C2=A0 How can I mount it to check its c= ontents?

Thanks again,
Francisco
--047d7b472078bf906104e4ec37f0--