During an 'apt-get update && apt-get install grub-pc' on a currently released ami (ami-4a0df923) I'm prompted twice by debconf for grub-pc. ami-4a0df923 is us-east-1 ebs/ubuntu-lucid-10.04-amd64-server-20101020.
The two prompts are for:
* Linux command line
* Continue without installing grub
a diff of 'debconf-get-selections' from before and after shows only:
-grub-pc grub-pc/install_devices_empty boolean false
+grub-pc grub-pc/install_devices_empty boolean true
The first prompt can be avoided by:
$ printf "%s\t%s\t%s\t%s\n" grub-pc grub2/linux_cmdline string "x" |
sudo debconf-set-selections
The second prompt can be avoided by:
$ printf "%s\t%s\t%s\t%s\n" grub-pc grub-pc/install_devices_empty boolean true |
sudo debconf-set-selections
For the first, though, a value has already been pre-seeded, just to an empty value.
During the image build process, we seed
grub-pc grub2/linux_cmdline string " "
Also, subsequent revert to 1ubuntu7 and then forward to 1ubuntu8 do not see any prompts.
I'm not sure whether or not this prompt is new with 1ubuntu8, and looking at the changelog alone, I would suspect that either
a.) it has been present in all updates of grub-pc on lucid ec2
b.) it was new in 1.98-1ubuntu7
Overall, there is no reason for the ec2 user to see this prompt, and I've attempted to seed properly so that the prompts would be avoided. How can I ensure that the user isn't prompted?
Binary package hint: grub2
During an 'apt-get update && apt-get install grub-pc' on a currently released ami (ami-4a0df923) I'm prompted twice by debconf for grub-pc. ami-4a0df923 is us-east-1 ebs/ubuntu- lucid-10. 04-amd64- server- 20101020.
The two prompts are for:
* Linux command line
* Continue without installing grub
a diff of 'debconf- get-selections' from before and after shows only: install_ devices_ empty boolean false install_ devices_ empty boolean true
-grub-pc grub-pc/
+grub-pc grub-pc/
The first prompt can be avoided by: set-selections
$ printf "%s\t%s\t%s\t%s\n" grub-pc grub2/linux_cmdline string "x" |
sudo debconf-
The second prompt can be avoided by: install_ devices_ empty boolean true | set-selections
$ printf "%s\t%s\t%s\t%s\n" grub-pc grub-pc/
sudo debconf-
For the first, though, a value has already been pre-seeded, just to an empty value.
During the image build process, we seed
grub-pc grub2/linux_cmdline string " "
Also, subsequent revert to 1ubuntu7 and then forward to 1ubuntu8 do not see any prompts.
I'm not sure whether or not this prompt is new with 1ubuntu8, and looking at the changelog alone, I would suspect that either
a.) it has been present in all updates of grub-pc on lucid ec2
b.) it was new in 1.98-1ubuntu7
Overall, there is no reason for the ec2 user to see this prompt, and I've attempted to seed properly so that the prompts would be avoided. How can I ensure that the user isn't prompted?
ProblemType: Bug ature: User Name 2.6.32-309.18-ec2 2.6.32.21+drm33.7 Zone: us-east-1c
DistroRelease: Ubuntu 10.04
Package: grub-pc 1.98-1ubuntu8
ProcVersionSign
Uname: Linux 2.6.32-309-ec2 x86_64
Architecture: amd64
Date: Tue Nov 30 19:51:05 2010
Ec2AMI: ami-0e1bec67
Ec2AMIManifest: (unknown)
Ec2Availability
Ec2InstanceType: t1.micro
Ec2Kernel: aki-ba1aeed3
Ec2Ramdisk: unavailable
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: grub2