[Bug 1477854] Re: tab-completion for grub-set-default suggests wrong id for kernel

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 13:08:33 UTC 2020


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

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

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

Status in grub2 package in Ubuntu:
  Incomplete

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

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



More information about the foundations-bugs mailing list