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 329161381F3 for ; Wed, 28 Aug 2013 11:37:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37946E0E80; Wed, 28 Aug 2013 11:37:04 +0000 (UTC) Received: from mail-oa0-f48.google.com (mail-oa0-f48.google.com [209.85.219.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D52CDE0B9D for ; Wed, 28 Aug 2013 11:37:02 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id o17so7382292oag.21 for ; Wed, 28 Aug 2013 04:37:02 -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=pzKsnp2E4IF+8wICdPElTERPn1OCzdX7Ct6l3V5iXmE=; b=cGZun8RmEeXWiyTxzy/1z7bsKCJW376hUyOtrorRxdJwkjQ258S3mPM1mCHhPOI9k4 4d8nfjn8mMekbWcpyLxQW51pWkWUk10tVmHIrfO/omD8QQWlFNuska8emCAqsRql1krv paNunnnoc6Tf+XSmx/gddw2wOB029gBPAfaD5+3ExLkPsYfND/LTyesdtdnRGkiSyQYu l8bwgSSIsiMzbFcPnJ2missWqO09Jm5Zvzk8BnW+pviCj6AT8ZcvNMpDwIzvSp/WC7Wc ONR+hdHaBpdsyvQehUh3iyabEApjMkByrjpUWcNB+YJ/0CyQv07pyoigMsJmt9fhXIJL 2gFg== X-Received: by 10.182.45.195 with SMTP id p3mr23086260obm.29.1377689821963; Wed, 28 Aug 2013 04:37:01 -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; Wed, 28 Aug 2013 04:36:21 -0700 (PDT) In-Reply-To: <521D9D0F.8080701@hadt.biz> References: <521B7F80.5000706@hadt.biz> <521C492B.5020302@hadt.biz> <521D9D0F.8080701@hadt.biz> From: Francisco Ares Date: Wed, 28 Aug 2013 08:36:21 -0300 Message-ID: Subject: Re: [gentoo-user] grub2 or kernel config - unable to properly boot To: gentoo-user Content-Type: multipart/alternative; boundary=089e01537e4272ed0004e50068b6 X-Archives-Salt: 6ea02a5b-7cdb-4489-ab71-6c5042bad8a3 X-Archives-Hash: 4a6b76a269291c5d518053365060928e --089e01537e4272ed0004e50068b6 Content-Type: text/plain; charset=UTF-8 2013/8/28 Michael Hampicke > Am 27.08.2013 22:40, schrieb Francisco Ares: > >> > >> 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 :-( > > > > You could try generating an initramfs with dracut - see if that works. > You possible have to change the name of the initramfs in grub.cfg. Files > generated with dracut don't have *genkernel* in it's filename. > > If you can boot with dracut initramfs, you can investigate why the > initramfs of genkernel does not work. > > Thanks, Michael, gonna read about dracut and try it out. Right now "gentoo-sources-3.10.7" is being built, still using genkernel (I was using gentoo-sources-3.8.13). Meanwhile: the profile for this new install is "default/linux/amd64/13.0/no-multilib" - and I see that the directory where grub2 stores modules in /boot/grub2 is named "i386-pc". Switching to a multilib profile and issuing an "emerge -pvuDN world", I see that, for instance, glibc is queued to be rebuilt with "multilib" use flag. What I mean is: does genkernel uses the binaries already available in the filesystem it works on, or does it build its own ones? If so, is genkernel + grub2 compatible with a "no-multilib" profile? I guess so, specially after reading grub2 documentation, but, on the other hand, in a working system, I could see that busybox from the initramfs (thanks, Neil!) and the one in the root filesystem are different. Thanks again! Francisco --089e01537e4272ed0004e50068b6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= 2013/8/28 Michael Hampicke <mh@hadt.biz>
Am 27.08.2013 22= :40, schrieb Francisco Ares:
>>
>> I think I might have found it. =C2=A0Although I have selected in t= he kernel
>> "menuconfig" to compress the initramfs using gzip and de= selected 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 :-(
>

You could try generating an initramfs with dracut - see if that works= .
You possible have to change the name of the initramfs in grub.cfg. Files generated with dracut don't have *genkernel* in it's filename.

If you can boot with dracut initramfs, you can investigate why the
initramfs of genkernel does not work.


Thanks, Michael, go= nna read about dracut and try it out.

Right now "gentoo-sources-3.10.7" is being built, still using = genkernel (I was using gentoo-sources-3.8.13).

Meanw= hile: the profile for this new install is "default/linux/amd64/13.0/no= -multilib" - and I see that the directory where grub2 stores modules i= n /boot/grub2 is named "i386-pc".=C2=A0 Switching to a multilib p= rofile and issuing an "emerge -pvuDN world", I see that, for inst= ance, glibc is queued to be rebuilt with "multilib" use flag.

What I mean is: does genkernel uses th= e binaries already available in the filesystem it works on, or does it buil= d its own ones?=C2=A0 If so, is genkernel + grub2 compatible with a "n= o-multilib" profile?=C2=A0 I guess so, specially after reading grub2 d= ocumentation, but, on the other hand, in a working system, I could see that= busybox from the initramfs (thanks, Neil!) and the one in the root filesys= tem are different.

Thank= s again!
Francisco
--089e01537e4272ed0004e50068b6--