Comment 5 for bug 1997795

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

Verification done on kinetic-proposed.
---

$ lxc launch --vm ubuntu:kinetic grub2-k
$ lxc shell grub2-k

Before: /dev/sda15 (esp) AND /dev/sda

 # dpkg -S /usr/lib/grub/grub-multi-install
 grub-common: /usr/lib/grub/grub-multi-install

 # apt-cache policy grub-common
 grub-common:
   Installed: 2.06-2ubuntu12
   Candidate: 2.06-2ubuntu12
   Version table:
  *** 2.06-2ubuntu12 500
  500 http://archive.ubuntu.com/ubuntu kinetic/main amd64 Packages
  100 /var/lib/dpkg/status

 # DEBIAN_FRONTEND=readline dpkg-reconfigure shim-signed
 Configuring shim-signed
 -----------------------

 The grub-efi package is being upgraded. This menu allows you to select which EFI system
 partions you'd like grub-install to be automatically run for, if any.

 Running grub-install automatically is recommended in most situations, to prevent the installed
 GRUB core image from getting out of sync with GRUB modules or grub.cfg.

   1. /dev/sda (10737 MB; ) on 10737 MB QEMU_HARDDISK 3. none of the above
   2. /dev/sda15 (111 MB; /boot/efi) on 10737 MB QEMU_HARDDISK

 (Enter the items or ranges you want to select, separated by spaces.)

 GRUB EFI system partitions: ^C

After: /dev/sda15 (esp) ONLY

 # add-apt-repository -yp proposed
 # apt install -y grub-common
 # apt-cache policy grub-common
 grub-common:
   Installed: 2.06-2ubuntu12.1
   Candidate: 2.06-2ubuntu12.1
   Version table:
  *** 2.06-2ubuntu12.1 500
  500 http://archive.ubuntu.com/ubuntu kinetic-proposed/main amd64 Packages
  500 http://security.ubuntu.com/ubuntu kinetic-proposed/main amd64 Packages
  100 /var/lib/dpkg/status
      2.06-2ubuntu12 500
  500 http://archive.ubuntu.com/ubuntu kinetic/main amd64 Packages

 # DEBIAN_FRONTEND=readline dpkg-reconfigure shim-signed
 Configuring shim-signed
 -----------------------

 The grub-efi package is being upgraded. This menu allows you to select which EFI system
 partions you'd like grub-install to be automatically run for, if any.

 Running grub-install automatically is recommended in most situations, to prevent the installed
 GRUB core image from getting out of sync with GRUB modules or grub.cfg.

   1. /dev/sda15 (111 MB; /boot/efi) on 10737 MB QEMU_HARDDISK 2. none of the above

 (Enter the items or ranges you want to select, separated by spaces.)

 GRUB EFI system partitions: ^C