qubes-installer-qubes-os/lorax-templates-qubes/templates/config_files/x86/xen-efi.cfg
Marek Marczykowski-Górecki ae8b332ca8
lorax-templates-qubes: boot xen.efi directly, bypass grub
Grub cause problems while loading xen.efi on many machines, mostly
because xen.efi support loading dom0 kernel and initramfs only via EFI
services and xen.efi needs to be loaded through them too. But grub in
some cases uses own filesystem handling code instead, leaving xen.efi
without dom0 kernel.

This should improve when xen.efi will get multiboot2 support (Xen 4.10?)
- then grub could load dom0 kernel and initramfs too and pass them to
xen.efi.

For now, bypass grub and launch xen.efi directly. This have unfortunate
effect of not having boot menu, so choose the most universal option:
verbose, with all known workarounds for UEFI applied.

Fixes QubesOS/qubes-issues#3505
2018-01-30 06:06:40 +01:00

25 lines
499 B
INI

[global]
default=qubes-verbose
[qubes-check]
options=console=none
kernel=vmlinuz @ROOT@ i915.preliminary_hw_support=1 quiet rhgb rd.live.check
ramdisk=initrd.img
[qubes]
options=console=none
kernel=vmlinuz @ROOT@ i915.preliminary_hw_support=1 quiet rhgb
ramdisk=initrd.img
[qubes-verbose]
options=console=vga efi=attr=uc
noexitboot=1
mapbs=1
kernel=vmlinuz @ROOT@ i915.preliminary_hw_support=1
ramdisk=initrd.img
[qubes-rescue]
options=loglvl=all
kernel=vmlinuz @ROOT@ rescue
ramdisk=initrd.img