2017-06-13 01:36:12 +02:00
|
|
|
# make sure to use /dev/mapper/dmroot, not /dev/xvda directly - both have the
|
|
|
|
# same fs, including UUID
|
2020-11-02 04:33:56 +01:00
|
|
|
GRUB_DEVICE=/dev/mapper/dmroot
|
2017-06-13 01:36:12 +02:00
|
|
|
GRUB_DISABLE_LINUX_UUID=true
|
|
|
|
GRUB_DISABLE_OS_PROBER=true
|
2019-12-07 17:56:53 +01:00
|
|
|
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX root=/dev/mapper/dmroot console=tty0 console=hvc0"
|
2017-06-13 01:36:12 +02:00
|
|
|
# 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"
|
2018-06-26 13:02:34 +02:00
|
|
|
# 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"
|
2017-06-13 01:36:12 +02:00
|
|
|
GRUB_TIMEOUT=0
|