From: Francisco Ares <frares@gmail.com>
To: gentoo-user <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] grub2 or kernel config - unable to properly boot
Date: Wed, 28 Aug 2013 08:36:21 -0300 [thread overview]
Message-ID: <CAHH9eM63_yW8ZMBEM=jJWReSsdtrnnLTRXkizktsBVnTz6Cadw@mail.gmail.com> (raw)
In-Reply-To: <521D9D0F.8080701@hadt.biz>
[-- Attachment #1: Type: text/plain, Size: 1831 bytes --]
2013/8/28 Michael Hampicke <mh@hadt.biz>
> 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
[-- Attachment #2: Type: text/html, Size: 2734 bytes --]
prev parent reply other threads:[~2013-08-28 11:37 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-26 15:41 [gentoo-user] grub2 or kernel config - unable to properly boot Francisco Ares
2013-08-26 16:17 ` Michael Hampicke
2013-08-26 18:11 ` Francisco Ares
2013-08-27 6:37 ` Michael Hampicke
2013-08-27 10:18 ` Francisco Ares
2013-08-27 10:28 ` Wang Xuerui
2013-08-27 11:31 ` Francisco Ares
2013-08-27 12:21 ` Neil Bothwick
2013-08-27 20:41 ` Francisco Ares
2013-08-27 10:28 ` Francisco Ares
2013-08-27 11:33 ` Francisco Ares
2013-08-27 12:14 ` Francisco Ares
2013-08-27 20:40 ` Francisco Ares
2013-08-28 6:47 ` Michael Hampicke
2013-08-28 11:36 ` Francisco Ares [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHH9eM63_yW8ZMBEM=jJWReSsdtrnnLTRXkizktsBVnTz6Cadw@mail.gmail.com' \
--to=frares@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox