From 6c965a6dac0f552d1032046c18b6654fa3dadc42 Mon Sep 17 00:00:00 2001 From: awokd Date: Tue, 26 Jun 2018 05:02:34 -0600 Subject: [PATCH] grub: add noresume to kernel cmdline Under R4.0, when Debian HVMs are created from the debian-9 template, they hang on boot for 30 seconds without this option. --- misc/grub.qubes | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc/grub.qubes b/misc/grub.qubes index 39125bf..c7807fb 100644 --- a/misc/grub.qubes +++ b/misc/grub.qubes @@ -6,4 +6,7 @@ GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX root=/dev/mapper/dmroot console=hvc0 con # 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