Parcourir la source

Update grub configuration

This configuration isn't included twice - it's Debian post-installation
script of grub that copy settings to /etc/default/grub, which results in
parameters being duplicated. Leave it as is for now.

Add GRUB_TIMEOUT=0 for faster VM startup.

QubesOS/qubes-issues#2577
Marek Marczykowski-Górecki il y a 7 ans
Parent
commit
2b9d49f960
1 fichiers modifiés avec 5 ajouts et 8 suppressions
  1. 5 8
      misc/grub.qubes

+ 5 - 8
misc/grub.qubes

@@ -2,11 +2,8 @@
 # same fs, including UUID
 GRUB_DISABLE_LINUX_UUID=true
 GRUB_DISABLE_OS_PROBER=true
-# don't append twice
-if [ -z "$QUBES_APPENDED" ]; then
-    GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX root=/dev/mapper/dmroot 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"
-    QUBES_APPENDED=1
-fi
+GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX root=/dev/mapper/dmroot 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"
+GRUB_TIMEOUT=0