tab-completion for grub-set-default suggests wrong id for kernel

Bug #1477854 reported by Hanno
6
This bug affects 1 person
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-3.19.0-23-generic
Found initrd image: /boot/initrd.img-3.19.0-23-generic
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-advanced-956a13ed-762e-4b00-8688-67f6339d5c37>gnulinux-3.19.0-23-generic-advanced-956a13ed-762e-4b00-8688-67f6339d5c37' (for 2.00 or later)
Found linux image: /boot/vmlinuz-3.12.0-rc7-custom
Found initrd image: /boot/initrd.img-3.12.0-rc7-custom
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
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-22ubuntu1.1

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

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.

Changed in grub2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for grub2 (Ubuntu) because there has been no activity for 60 days.]

Changed in grub2 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.