public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: morlix <morlix@morlix.de>
To: Gentoo User <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] genkernel initramfs and grub2-mkconfig
Date: Mon, 04 Jun 2012 20:40:05 +0200	[thread overview]
Message-ID: <4FCD0105.4000906@morlix.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 565 bytes --]

Hello,

does anybody of you know how to get the grub2-mkconfig script to
correctly detect initramfs and set the kernel parameter "root=" to
/dev/ram0 or just don't set the parameter at all.

I'm using genkernel and want to use my generated initramfs, but
everytime grub2-mkconfig gets called it sets the kernel parameter root=
to my root partition and then the initramfs won't get used.

I think manually editing /boot/grub2/grub.cfg and deleting the root=
parameter and setting real_root isn't a good choice for long term.

Kind regards,

morlix


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

             reply	other threads:[~2012-06-04 18:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-04 18:40 morlix [this message]
2012-06-04 19:10 ` [gentoo-user] genkernel initramfs and grub2-mkconfig Paul Hartman
2012-06-04 19:50   ` Michael Hampicke
2012-06-05  8:13     ` morlix

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=4FCD0105.4000906@morlix.de \
    --to=morlix@morlix.de \
    --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