1 |
On 2015-01-04 11:44, Konstantinos Agouros wrote: |
2 |
> Hi, |
3 |
> |
4 |
> I have a box running a xen-domu. If I want to use grub2-mkconfig, |
5 |
> I learned that I have to put the kernel-.config into /etc/kernels. |
6 |
> However this does not create an entry which includes the initrd |
7 |
> (it creates one without xen though). |
8 |
> How do I achieve this? Also I only want entries with xen and I need |
9 |
> to pass some params to xen as well as the linux kernel. Which entries |
10 |
> in /etc/default/grub do that? |
11 |
> |
12 |
> Regards, |
13 |
> |
14 |
> Konstantin |
15 |
|
16 |
You may put your kernel configuration in /boot as well. The important |
17 |
thing is to have xen enabled in that configuration - that is what grub |
18 |
looks for. It only creates xen entries if xen is enabled. Also the name |
19 |
must match - for example config-*, kernel-* and so on. You can can set |
20 |
to boot xen by default with grub2-set-default (specify the menuentry) - |
21 |
it's written to grubenv. Before that, set GRUB_DEFAULT="saved" to |
22 |
/etc/default/grub. |