[Bug 1647495] [NEW] Corrupted /boot/grub/grub.cfg with 2 UEFI boot menu entries

UlfZibis 1647495 at bugs.launchpad.net
Mon Dec 5 22:19:47 UTC 2016


Public bug reported:

I have 2 Ubuntu 64-Bit installations on 2 different partitions.
After booting into the 2nd installation, I have changed in /etc/default/grub:
GRUB_DISTRIBUTOR="Ubuntu-64"
After grub-install and update-grub I got new .efi files in /boot/efi/EFI/ubuntu-64 and a new /boot/grub/grub.cfg and /boot/efi/EFI/ubuntu-64/grub.cfg refers to the partition of the 2nd installation.

Now /boot/grub/grub.cfg of the 2nd installation is corrupted (see attached grub_2.cfg):
- There are some entries like:
  menuentry 'Ubuntu 16.04.1 LTS (16.04) (auf /dev/sda8) (auf /dev/sda5)'
- Some of them don't define initrd.

I tried again after deleting /boot/grub/grub.cfg in the 1st installation
and got another corrupted one with similar errors (see attached
grub_1.cfg).

After booting into the 1st installation with update-grub I got similar
errors.

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

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

** Affects: os-prober (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "grub_2.cfg"
   https://bugs.launchpad.net/bugs/1647495/+attachment/4787752/+files/grub_2.cfg

** Also affects: grub2-signed (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: os-prober (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  Corrupted /boot/grub/grub.cfg with 2 UEFI boot menu entries

Status in grub2-signed package in Ubuntu:
  New
Status in multiboot package in Ubuntu:
  New
Status in os-prober package in Ubuntu:
  New

Bug description:
  I have 2 Ubuntu 64-Bit installations on 2 different partitions.
  After booting into the 2nd installation, I have changed in /etc/default/grub:
  GRUB_DISTRIBUTOR="Ubuntu-64"
  After grub-install and update-grub I got new .efi files in /boot/efi/EFI/ubuntu-64 and a new /boot/grub/grub.cfg and /boot/efi/EFI/ubuntu-64/grub.cfg refers to the partition of the 2nd installation.

  Now /boot/grub/grub.cfg of the 2nd installation is corrupted (see attached grub_2.cfg):
  - There are some entries like:
    menuentry 'Ubuntu 16.04.1 LTS (16.04) (auf /dev/sda8) (auf /dev/sda5)'
  - Some of them don't define initrd.

  I tried again after deleting /boot/grub/grub.cfg in the 1st
  installation and got another corrupted one with similar errors (see
  attached grub_1.cfg).

  After booting into the 1st installation with update-grub I got similar
  errors.

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



More information about the foundations-bugs mailing list