Petter Reinholdtsen <pere@hungry.com> (2014-09-10):
> Control: tags -1 + patch
>
> [Petter Reinholdtsen 2014-08-31]
> > I did a install today using debconf priority medium, and there I am
> > asked by grub-installer for the "Device for boot loader
> > installation", and the two options are "Enter device manually" and
> > "/dev/sda (ata-QEMU_HARDDISK_QM00001)". The selected one is "Enter
> > device manually". This make me believe that if we change the
> > selection of this debconf question, we might solve this issue for a
> > lot of users.
>
> I had a look at the code, and found the template and the order of the
> devices shown. I suggest to move the manual option last in the list
> of devices like this:
>
> diff --git a/debian/grub-installer.templates b/debian/grub-installer.templates
> index e439ad0..66043dc 100644
> --- a/debian/grub-installer.templates
> +++ b/debian/grub-installer.templates
> @@ -88,9 +88,9 @@ _Description: Device for boot loader installation:
>
> Template: grub-installer/choose_bootdev
> Type: select
> -Choices-C: manual, ${DEVICES_LIST}
> +Choices-C: ${DEVICES_LIST}, manual
> #flag:translate!:2
> -__Choices: Enter device manually, ${DESCRIPTIONS}
> +__Choices: ${DESCRIPTIONS}, Enter device manually
> # :sl2:
> _Description: Device for boot loader installation:
> You need to make the newly installed system bootable, by installing
>
> An alternative would be to set the selected value to something more
> sensible than manual, for example if there only is one device to
> choose from.
>
> Both alternatives should solve the problem for Debian Edu and the
> simple case with only disk present, while still keeping it easy to
> specify the device manually. :)
>
> OK to commit?
That also means people being too “Enter happy” might overwrite their
installation medium.
Mraw,
KiBi.
Attachment:
signature.asc
Description: Digital signature