public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Tomas Mozes <tomas.mozes@shmu.sk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] grub2-mkconfig vs. xen
Date: Sun, 04 Jan 2015 20:36:05 +0100	[thread overview]
Message-ID: <2c6c8b4d78990e321a246025abe97afa@shmu.sk> (raw)
In-Reply-To: <1420368292.594231@rumba.localnet>

On 2015-01-04 11:44, Konstantinos Agouros wrote:
> Hi,
> 
> I have a box running a xen-domu. If I want to use grub2-mkconfig,
> I learned that I have to put the kernel-.config into /etc/kernels.
> However this does not create an entry which includes the initrd
> (it creates one without xen though).
> How do I achieve this? Also I only want entries with xen and I need
> to pass some params to xen as well as the linux kernel. Which entries
> in /etc/default/grub do that?
> 
> Regards,
> 
> Konstantin

You may put your kernel configuration in /boot as well. The important 
thing is to have xen enabled in that configuration - that is what grub 
looks for. It only creates xen entries if xen is enabled. Also the name 
must match - for example config-*, kernel-* and so on. You can can set 
to boot xen by default with grub2-set-default (specify the menuentry) - 
it's written to grubenv. Before that, set GRUB_DEFAULT="saved" to 
/etc/default/grub.


      parent reply	other threads:[~2015-01-04 19:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-04 10:44 [gentoo-user] grub2-mkconfig vs. xen Konstantinos Agouros
2015-01-04 13:26 ` Neil Bothwick
2015-01-04 19:36 ` Tomas Mozes [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=2c6c8b4d78990e321a246025abe97afa@shmu.sk \
    --to=tomas.mozes@shmu.sk \
    --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