Comment 5 for bug 1009294

Revision history for this message
Steve Langasek (vorlon) wrote :

Indeed, here's the diff between the /etc/default/grub in the precise AMI, and the default one provided by grub. So this is a bug with how the AMI is built, not a bug in the grub package which has no way to automatically merge this using ucf.

The AMI image build probably needs to inject the grub settings via debconf preseeding, so that ucf as shipped in the image knows the intended answers to the debconf questions.

--- etc/default/grub 2012-06-01 22:37:36.000000000 -0700
+++ /usr/share/grub/default/grub 2012-05-17 00:07:17.000000000 -0700
@@ -4,11 +4,11 @@
 # info -f grub -n 'Simple configuration'

 GRUB_DEFAULT=0
-#GRUB_HIDDEN_TIMEOUT=0
-#GRUB_HIDDEN_TIMEOUT_QUIET=true
+GRUB_HIDDEN_TIMEOUT=0
+GRUB_HIDDEN_TIMEOUT_QUIET=true
 GRUB_TIMEOUT=10
 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
-GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0"
+GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
 GRUB_CMDLINE_LINUX=""

 # Uncomment to enable BadRAM filtering, modify to suit your needs
@@ -17,7 +17,7 @@
 #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

 # Uncomment to disable graphical terminal (grub-pc only)
-GRUB_TERMINAL=console
+#GRUB_TERMINAL=console

 # The resolution used on graphical terminal
 # note that you can use only modes which your graphic card supports via VBE