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.

Reply via email to