Public bug reported:

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

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1477854

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1477854/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to