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 E13401381F3 for ; Tue, 27 Aug 2013 20:41:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8EB8E0FE9; Tue, 27 Aug 2013 20:41:12 +0000 (UTC) Received: from mail-oa0-f47.google.com (mail-oa0-f47.google.com [209.85.219.47]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 97AB5E0C26 for ; Tue, 27 Aug 2013 20:41:11 +0000 (UTC) Received: by mail-oa0-f47.google.com with SMTP id g12so6358274oah.20 for ; Tue, 27 Aug 2013 13:41:10 -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=iG2B0Vhna4NddFEAZvIBu97exX6abCL36sImgZ1hPn4=; b=nX3GDQF+fv0njfEvfkCLox8eRILaRENWDG/ViEe9aCzMMW4PkDD99F2MYrnGp0/hAk U5tKrpwzRpT312rW38HHR6V0zyFIbZNNF1xNaxUJDbcmJsSNoR1y6t4WH9M4+olLeXr4 m2SGmdeNuVziKgxoXP1B+VdCq3bNFvMGPcPMTxCVtAe62pptbOrzExYSyUqqRuvG/knj xrW2LXXJe7DirU8rVOgID04EDuBL6c+Tv0+KxjWmJu1kqeVmYoBQ0MCdvv6X7SaSYn1g ChmBM4dwwid8k3Es61z6pQ14hvRcmMsTyXsfjn1QXfjPtfGyHevtsl2AZaEI5UrrlGCI TDEw== X-Received: by 10.60.52.81 with SMTP id r17mr20726445oeo.3.1377636070725; Tue, 27 Aug 2013 13:41:10 -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 13:40:30 -0700 (PDT) In-Reply-To: References: <521B7F80.5000706@hadt.biz> <521C492B.5020302@hadt.biz> From: Francisco Ares Date: Tue, 27 Aug 2013 17:40:30 -0300 Message-ID: Subject: Re: [gentoo-user] grub2 or kernel config - unable to properly boot To: gentoo-user Content-Type: multipart/alternative; boundary=001a1133073aa01f1404e4f3e44c X-Archives-Salt: 554e1916-5f6c-4047-aa9b-cedbcf4f585f X-Archives-Hash: 9dc1355a193b7f561a321eae05e4911b --001a1133073aa01f1404e4f3e44c 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 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 > It did not work :-( Francisco --001a1133073aa01f1404e4f3e44c 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 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 t= hink I might have found it.=C2=A0 Although I have selected in the kernel &q= uot;menuconfig" to compress the initramfs using gzip and deselected al= l other decompression forms. a simple "file initramfs-xxx" told m= e that it was "XZ compressed data", so now I am rebuilding the ke= rnel with all decompression algorithms built in.

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


It did not work= :-(

Francisco
--001a1133073aa01f1404e4f3e44c--