From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-150082-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 ADD151381F3
	for <garchives@archives.gentoo.org>; Tue, 27 Aug 2013 11:33:55 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 883C3E0D94;
	Tue, 27 Aug 2013 11:33:47 +0000 (UTC)
Received: from mail-oa0-f41.google.com (mail-oa0-f41.google.com [209.85.219.41])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 40EA2E0C32
	for <gentoo-user@lists.gentoo.org>; Tue, 27 Aug 2013 11:33:46 +0000 (UTC)
Received: by mail-oa0-f41.google.com with SMTP id j17so673439oag.14
        for <gentoo-user@lists.gentoo.org>; Tue, 27 Aug 2013 04:33: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=j0vO5OY4r+jCeE36RhD4+ZVX8EDL9igoglJ5aYo2tbc=;
        b=GBgxfrIx0hfqzSfZHLf5gLDdkf+mBc5ikRW2xlbOVt86RPV8E54cDLq9sAYOzp+iAN
         LB4R10pov32mxrZKBSjGCYVNL7nxECmpFaJ2QSdo/6FkjM71w36A50RpYK3gGN/KJrCl
         HO7tOh8d2C1Bm7jEjaVSXGEwC7Gda2i4tK9yPey6GkFULsoMjCE64Ct8kLkJYotJva9G
         3xIetvUdrgGG3FbiGDOHwGS1bx9HwwGLBH8MVMG1XBmvuxDYexJweYIKy9b+hr8hJjei
         WuqQxLYD3rN0ZIYaG9u8HkXV6p59PlAajY7IVP6lPY37zQhW8pl91ZkHcNjqYGosmnR1
         Z02g==
X-Received: by 10.182.101.165 with SMTP id fh5mr1718439obb.58.1377603225438;
 Tue, 27 Aug 2013 04:33:45 -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 04:33:05 -0700 (PDT)
In-Reply-To: <CAHH9eM58Sug2FteeHRdJi2bfORGLJn+6gUyg+BwEVJQ4LcWq2w@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>
From: Francisco Ares <frares@gmail.com>
Date: Tue, 27 Aug 2013 08:33:05 -0300
Message-ID: <CAHH9eM7FPb82ROuJ4SvUfsafZhbJfezD1bN2HzaLo_uG2RJKwQ@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=e89a8f6436d2e4d28b04e4ec3e3e
X-Archives-Salt: d23d71a1-6167-413e-aa5b-a49cc2715941
X-Archives-Hash: e4e33ac2b734a0a4edce93e23b4fec71

--e89a8f6436d2e4d28b04e4ec3e3e
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 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

--e89a8f6436d2e4d28b04e4ec3e3e
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:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-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:0 0 0 .8ex;border-left:1p=
x #ccc solid;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:0 0 0 .8ex;border-left:1px #ccc solid=
;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 class=3D"HOEnZb"><font color=
=3D"#888888"><br></font></span></div><span class=3D"HOEnZb"><font color=3D"=
#888888"><div class=3D"gmail_extra">Francisco<br></div></font></span></div>
</blockquote></div><br><br></div><div class=3D"gmail_extra">In the grub con=
sole, prior to boot, I was able to mount any partition using commands 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.<br><br></div><div class=3D"gmail_extra">Francisco<br>=
<br></div></div>

--e89a8f6436d2e4d28b04e4ec3e3e--