Package: grub2
Version: 2.14-5
Severity: wishlist

The variable quiet_boot in /etc/grub.d/10_linux is hard-coded to "0".
Users who want a quiet boot have no other choice than modifying the
script itself, with the risk of seeing it rewritten at the next
upgrade.

Users should be able to customize this aspect of the boot with a flag
GRUB_QUIET_BOOT in /etc/default/grub just like many other preferences.

The attached patch allows exactly this, while preserving the
quiet_boot="0" default when users do not override it. It modifies
exactly 3 files:
/etc/default/grub
/etc/grub.d/10_linux
/sbin/grub-mkconfig

MFC
--- a/etc/default/grub	2026-11-29 21:52:15.955236908 +0100
+++ b/etc/default/grub	2026-11-29 21:58:26.492003789 +0100
@@ -24,6 +24,9 @@
 # Uncomment to disable graphical terminal
 #GRUB_TERMINAL=console
 
+# Uncomment to suppress "Loading..." messages during boot.
+#GRUB_QUIET_BOOT=1
+
 # The resolution used on graphical terminal
 # note that you can use only modes which your graphic card supports via VBE/GOP/UGA
 # you can see them in real GRUB with the command `videoinfo'
--- a/etc/grub.d/10_linux	2026-11-29 19:25:17.798662554 +0100
+++ b/etc/grub.d/10_linux	2026-11-29 22:00:19.713187116 +0100
@@ -21,7 +21,7 @@
 exec_prefix="/usr"
 datarootdir="/usr/share"
 ubuntu_recovery="0"
-quiet_boot="0"
+quiet_boot="${GRUB_QUIET_BOOT:-0}"
 quick_boot="0"
 gfxpayload_dynamic="0"
 
--- a/sbin/grub-mkconfig	2026-11-29 21:37:06.220136329 +0100
+++ b/sbin/grub-mkconfig	2026-11-29 21:38:59.149702330 +0100
@@ -242,6 +242,7 @@
   GRUB_CMDLINE_NETBSD \
   GRUB_CMDLINE_NETBSD_DEFAULT \
   GRUB_CMDLINE_GNUMACH \
+  GRUB_QUIET_BOOT \
   GRUB_TOP_LEVEL \
   GRUB_TOP_LEVEL_XEN \
   GRUB_TOP_LEVEL_OS_PROBER \

Reply via email to