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 371F31381F3 for ; Tue, 27 Aug 2013 12:14:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95A09E0DCD; Tue, 27 Aug 2013 12:14:48 +0000 (UTC) Received: from mail-ob0-f178.google.com (mail-ob0-f178.google.com [209.85.214.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 879CDE0D77 for ; Tue, 27 Aug 2013 12:14:47 +0000 (UTC) Received: by mail-ob0-f178.google.com with SMTP id ef5so4678768obb.9 for ; Tue, 27 Aug 2013 05:14:46 -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=j7XeRuZmwLL8pURbZ5TPCCa3hrcuMeYUHbtwpW3Ijd8=; b=Qfwrd7G565mBAMC8VT9TUB8jPpQxZ0W9IhIhwFN41j5m4EJkqi+DlKMXfmYJ9A9ZMJ x1HKtwTcRwoDWHaTGPR/ywtoMbANkghf/XweO+QV63P95SjctQ1jKeZjBsexrGJHzt06 sA2MmYsZgWApR2F6UlP1ZpWDVme6nmwuAbmgQ1yqmyvI9FbV16hHZ5V7Ov+GeJMVCrwU pnM5H2Tpz8b10oebpgU++zmu3dFkHsHhDRRTlq4PEVJvTZBzUZqRcI21Hi3/29+Q7kXV kGV5spf+vm03qVGkPy9CblvTjWz5GUrCQkSN3X8ePdYq1w45tBvpW7AaLKcRDTukkdUt MuJA== X-Received: by 10.182.45.195 with SMTP id p3mr18506038obm.29.1377605686543; Tue, 27 Aug 2013 05:14:46 -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 05:14:06 -0700 (PDT) In-Reply-To: References: <521B7F80.5000706@hadt.biz> <521C492B.5020302@hadt.biz> From: Francisco Ares Date: Tue, 27 Aug 2013 09:14:06 -0300 Message-ID: Subject: Re: [gentoo-user] grub2 or kernel config - unable to properly boot To: gentoo-user Content-Type: multipart/alternative; boundary=089e01537e4296548004e4ecd1c0 X-Archives-Salt: bfbe57d7-5585-4462-ae84-edb38ea52543 X-Archives-Hash: f2e2aaa7e06f1fab7637acde33664cf9 --089e01537e4296548004e4ecd1c0 Content-Type: text/plain; charset=UTF-8 2013/8/27 Francisco Ares > > 2013/8/27 Francisco Ares > >> >> 2013/8/27 Francisco Ares >> >>> >>> 2013/8/27 Michael Hampicke >>> >>>> Am 26.08.2013 20:11, schrieb Francisco Ares: >>>> > Hi, Michael, thanks for you reply. >>>> > >>>> > Please forgive me for not having mentioned grub2-mkconfig and >>>> > grub2-install. The mentioned grub.cfg was a sample from a working >>>> system, >>>> > with legacy grub:0, from which I have recovered parts of the kernel >>>> command >>>> > line parameters. >>>> > >>>> > After "genkernel" finished to build the kernel, I've issued: >>>> > >>>> > grub2-mkconfig -o /boot/grub2/grub.cfg >>>> > grub2-install /dev/sda >>>> > >>>> > Sorry for this. >>>> > Francisco >>>> On a failed boot, can you reach the rescue system from the initramfs? >>>> (The message is something like "enter password for rescue or ctrl+d) If >>>> so, are you able mount your actual root partiton (sda5) manually? >>>> >>>> >>> No, unfortunately. But I am able to use the grub console prior to boot. >>> >>> By doing so, I have listed the command about to be used to boot the >>> first entry in the grub menu, it installs some modules. 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. >>> >>> Thanks again >>> Francisco >>> >>> >> It didn't work, so I suppose the embedded ext2, ext3 and ext4 in the >> kernel is not the issue, and might be working. Going to explore the grub >> console now. >> >> Thanks >> Francisco >> > > > In the grub console, prior to boot, I was able to mount any partition > using commands like: > > root=(hd0,msdos5) > > and then listing the directory tree structure with " ls / " gave the > expected results. > > Francisco > > I think I might have found it. Although I have selected in the kernel "menuconfig" to compress the initramfs using gzip and deselected all other decompression forms. a simple "file initramfs-xxx" told me that it was "XZ compressed data", so now I am rebuilding the kernel with all decompression algorithms built in. I will (hope) soon post the results. Thanks, Francisco --089e01537e4296548004e4ecd1c0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= 2013/8/27 Francisco Ares <frares@gmail.com>

2013/8/27 Francisco Ares <frares@gmail.com>

2013/8/27 Francisco Ares <frares@gmail.com>

2013/8/27 Michael Hampicke <mh@hadt.biz>
Am 26.08.2013 20:11, schrieb Francisco Ares:
> Hi, Michael, thanks for you reply.
>
> Please forgive me for not having mentioned grub2-mkconfig and
> grub2-install. The mentioned grub.cfg was a sample from a working syst= em,
> with legacy grub:0, from which I have recovered parts of the kernel co= mmand
> line parameters.
>
> After "genkernel" finished to build the kernel, I've iss= ued:
>
> grub2-mkconfig -o /boot/grub2/grub.cfg
> grub2-install /dev/sda
>
> Sorry for this.
> Francisco
On a failed boot, can you reach the rescue system from the initramfs?=
(The message is something like "enter password for rescue or ctrl+d) I= f
so, are you able mount your actual root partiton (sda5) manually?


No, unf= ortunately. But I am able to use the grub console prior to boot.

By doing so, I have listed the command about = to be used to boot the first entry in the grub menu, it installs some modul= es. In regard of file systems, it only loads a ext2 module, and the root pa= rtition is ext4 formated.

Although this kernel has ext2, ext3 an= d ext4 built in (not modules), can this be a cue?=C2=A0 Right now I am prep= aring to format the root partition as ext2, just to check this out.

=
Thanks again
= Francisco


It didn= 't work, so I suppose the embedded ext2, ext3 and ext4 in the kernel is= not the issue, and might be working.=C2=A0 Going to explore the grub conso= le now.

Thanks
= Francisco


In = the grub console, prior to boot, I was able to mount any partition using co= mmands like:

root=3D(hd0,msdos5)
and then listing the directory tree structure with " ls / " gave = the expected results.

Francisco



I think I might= have found it.=C2=A0 Although I have selected in the kernel "menuconf= ig" to compress the initramfs using gzip and deselected all other deco= mpression forms. a simple "file initramfs-xxx" told me that it wa= s "XZ compressed data", so now I am rebuilding the kernel with al= l decompression algorithms built in.

I will (hope) soon post the results.<= br>
Thanks,
Francisco
--089e01537e4296548004e4ecd1c0--