tab-completion for grub-set-default suggests wrong id for kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
When using grub-set-default, it offers tab-completion on the command line.
On my system, entering "grub-set-default" and then pushing tab twice will result in a list of possible kernels, e.g.
Ubuntu, with Linux 3.12.0-rc7-custom
Ubuntu, with Linux 3.19.0-23-generic
Ok, so let's use on of these:
grub-set-default "Ubuntu, with Linux 3.19.0-23-generic"
That won't work. Instead, "update-grub" will complain:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Warning: Please don't use old title `Ubuntu, with Linux 3.19.0-23-generic' for GRUB_DEFAULT, use `Advanced options for Ubuntu>Ubuntu, with Linux 3.19.0-23-generic' (for versions before 2.00) or `gnulinux-
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found memtest86+ image: /boot/memtest86
done
So if tab-completion is suggestion the wrong title, it should be fixed.
This bug occured on Ubuntu 15.04 with grub2-common 2.02~beta2-
This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.