aa50b2fedc
Grub scripts are very persistent in trying to use what is currently mounted as /. Even if currently (TemplateVM) /dev/xvda3 is mounted directly, all the configuration should use /dev/mapper/dmroot, to work also in AppVM. GRUB_DEVICE is used in various places as root device (including constructing root= parameter in some versions). Force it to /dev/mapper/dmroot QubesOS/qubes-issues#6174
14 lines
627 B
Plaintext
14 lines
627 B
Plaintext
# make sure to use /dev/mapper/dmroot, not /dev/xvda directly - both have the
|
|
# same fs, including UUID
|
|
GRUB_DEVICE=/dev/mapper/dmroot
|
|
GRUB_DISABLE_LINUX_UUID=true
|
|
GRUB_DISABLE_OS_PROBER=true
|
|
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX root=/dev/mapper/dmroot console=tty0 console=hvc0"
|
|
# make SWIOTLB smaller - it isn't really needed unless PCI passthrough is used,
|
|
# and even then, 16MB is enough
|
|
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX swiotlb=8192"
|
|
# add noresume - to avoid a 30 second hang on Debian HVM boot as it tries to
|
|
# locate swap space for hibernation
|
|
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX noresume"
|
|
GRUB_TIMEOUT=0
|