From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-150087-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 371F31381F3
	for <garchives@archives.gentoo.org>; 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 <gentoo-user@lists.gentoo.org>; Tue, 27 Aug 2013 12:14:47 +0000 (UTC)
Received: by mail-ob0-f178.google.com with SMTP id ef5so4678768obb.9
        for <gentoo-user@lists.gentoo.org>; 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: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
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: <CAHH9eM7FPb82ROuJ4SvUfsafZhbJfezD1bN2HzaLo_uG2RJKwQ@mail.gmail.com>
References: <CAHH9eM4gY1zeTdUQy=HBgpjay13c-w1yhQmeDzeemjWt1hWWtQ@mail.gmail.com>
 <521B7F80.5000706@hadt.biz> <CAHH9eM6Kh3CmH4Pg_1R1zv2Vpbfgkp7Aqi7a_2nt22h6j6oVbQ@mail.gmail.com>
 <521C492B.5020302@hadt.biz> <CAHH9eM75jKo0fLwm7fHr_Zq1m=WcMy0jVfDzRdQWk-+JCHQWEA@mail.gmail.com>
 <CAHH9eM58Sug2FteeHRdJi2bfORGLJn+6gUyg+BwEVJQ4LcWq2w@mail.gmail.com> <CAHH9eM7FPb82ROuJ4SvUfsafZhbJfezD1bN2HzaLo_uG2RJKwQ@mail.gmail.com>
From: Francisco Ares <frares@gmail.com>
Date: Tue, 27 Aug 2013 09:14:06 -0300
Message-ID: <CAHH9eM61rQ0m7ZPmAyxyMuE7nB2M_ythCaHVZPDV1d+OmgK33Q@mail.gmail.com>
Subject: Re: [gentoo-user] grub2 or kernel config - unable to properly boot
To: gentoo-user <gentoo-user@lists.gentoo.org>
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 <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
>>>> 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

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
2013/8/27 Francisco Ares <span dir=3D"ltr">&lt;<a href=3D"mailto:frares@gma=
il.com" target=3D"_blank">frares@gmail.com</a>&gt;</span><br><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid=
 rgb(204,204,204);padding-left:1ex">

<div dir=3D"ltr"><div><div class=3D"h5"><div class=3D"gmail_extra"><br><div=
 class=3D"gmail_quote">2013/8/27 Francisco Ares <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:frares@gmail.com" target=3D"_blank">frares@gmail.com</a>&gt;</=
span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">

<div dir=3D"ltr"><div><div><div class=3D"gmail_extra"><br><div class=3D"gma=
il_quote">2013/8/27 Francisco Ares <span dir=3D"ltr">&lt;<a href=3D"mailto:=
frares@gmail.com" target=3D"_blank">frares@gmail.com</a>&gt;</span><br><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
:1px solid rgb(204,204,204);padding-left:1ex">



<div dir=3D"ltr"><div><div><div class=3D"gmail_extra"><br><div class=3D"gma=
il_quote">2013/8/27 Michael Hampicke <span dir=3D"ltr">&lt;<a href=3D"mailt=
o:mh@hadt.biz" target=3D"_blank">mh@hadt.biz</a>&gt;</span><br><blockquote =
class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px sol=
id rgb(204,204,204);padding-left:1ex">




Am <a href=3D"tel:26.08.2013%2020" value=3D"+12608201320" target=3D"_blank"=
>26.08.2013 20</a>:11, schrieb Francisco Ares:<br>
<div>&gt; Hi, Michael, thanks for you reply.<br>
&gt;<br>
&gt; Please forgive me for not having mentioned grub2-mkconfig and<br>
&gt; grub2-install. The mentioned grub.cfg was a sample from a working syst=
em,<br>
&gt; with legacy grub:0, from which I have recovered parts of the kernel co=
mmand<br>
&gt; line parameters.<br>
&gt;<br>
&gt; After &quot;genkernel&quot; finished to build the kernel, I&#39;ve iss=
ued:<br>
&gt;<br>
&gt; grub2-mkconfig -o /boot/grub2/grub.cfg<br>
&gt; grub2-install /dev/sda<br>
&gt;<br>
&gt; Sorry for this.<br>
&gt; Francisco<br>
</div>On a failed boot, can you reach the rescue system from the initramfs?=
<br>
(The message is something like &quot;enter password for rescue or ctrl+d) I=
f<br>
so, are you able mount your actual root partiton (sda5) manually?<br>
<br>
</blockquote></div><br></div></div></div><div class=3D"gmail_extra">No, unf=
ortunately. But I am able to use the grub console prior to boot.<br><br></d=
iv><div class=3D"gmail_extra">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.<br>




<br></div><div class=3D"gmail_extra">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.<br><br>=
</div>




<div class=3D"gmail_extra">Thanks again<span><font color=3D"#888888"><br></=
font></span></div><span><font color=3D"#888888"><div class=3D"gmail_extra">=
Francisco<br><br></div></font></span></div>
</blockquote></div><br></div></div></div><div class=3D"gmail_extra">It didn=
&#39;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.<br>


<br>
</div><div class=3D"gmail_extra">Thanks<span><font color=3D"#888888"><br></=
font></span></div><span><font color=3D"#888888"><div class=3D"gmail_extra">=
Francisco<br></div></font></span></div>
</blockquote></div><br><br></div></div></div><div class=3D"gmail_extra">In =
the grub console, prior to boot, I was able to mount any partition using co=
mmands like:<br><br></div><div class=3D"gmail_extra">root=3D(hd0,msdos5)<br=
>

<br></div><div class=3D"gmail_extra">
and then listing the directory tree structure with &quot; ls / &quot; gave =
the expected results.<span class=3D""><font color=3D"#888888"><br><br></fon=
t></span></div><span class=3D""><font color=3D"#888888"><div class=3D"gmail=
_extra">

Francisco<br><br></div></font></span></div>
</blockquote></div><br><br></div><div class=3D"gmail_extra">I think I might=
 have found it.=C2=A0 Although I have selected in the kernel &quot;menuconf=
ig&quot; to compress the initramfs using gzip and deselected all other deco=
mpression forms. a simple &quot;file initramfs-xxx&quot; told me that it wa=
s &quot;XZ compressed data&quot;, so now I am rebuilding the kernel with al=
l decompression algorithms built in.<br>

<br></div><div class=3D"gmail_extra">I will (hope)  soon post the results.<=
br><br></div><div class=3D"gmail_extra">Thanks,<br></div><div class=3D"gmai=
l_extra">Francisco<br></div></div>

--089e01537e4296548004e4ecd1c0--