[Bug 1647235] Re: Wrong /boot/grub/grub.cfg processed after change of GRUB_DISTRIBUTOR

UlfZibis 1647235 at bugs.launchpad.net
Thu Dec 8 23:33:01 UTC 2016


** Description changed:

  I have 2 Ubuntu 64-Bit installations on 2 different partitions.
  I have added a 2nd UEFI boot directory:
  /boot/efi/EFI/ubuntu-64
  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.
  
  When I again boot via /boot/efi/EFI/ubuntu-64 the /boot/grub/grub.cfg of
  the 1st installation is processed instead the one of the 2nd
  installation. I think, this is wrong.
  
- Looking into /boot/efi/EFI/ubuntu-64/grubx64.efi of the 2nd installation with a hex editor I find the string EFI/ubuntu instead EFI/ubuntu-64.
- After I manually changed this string to EFI/ubuntu-64 with the hex editor, the /boot/grub/grub.cfg of the 2nd installation was processed correctly, but then UEFI secure boot failed, so I had to disable it in UEFI BIOS setup.
+ Looking into /boot/efi/EFI/ubuntu-64/grubx64.efi of the 2nd installation
+ with a hex editor I find the string EFI/ubuntu instead EFI/ubuntu-64.
+ 
+ The failure can only be avoided when installing GRUB with --no-uefi-
+ secure-boot.

-- 
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/1647235

Title:
  Wrong /boot/grub/grub.cfg processed after change of GRUB_DISTRIBUTOR

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

Bug description:
  I have 2 Ubuntu 64-Bit installations on 2 different partitions.
  I have added a 2nd UEFI boot directory:
  /boot/efi/EFI/ubuntu-64
  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.

  When I again boot via /boot/efi/EFI/ubuntu-64 the /boot/grub/grub.cfg
  of the 1st installation is processed instead the one of the 2nd
  installation. I think, this is wrong.

  Looking into /boot/efi/EFI/ubuntu-64/grubx64.efi of the 2nd
  installation with a hex editor I find the string EFI/ubuntu instead
  EFI/ubuntu-64.

  The failure can only be avoided when installing GRUB with --no-uefi-
  secure-boot.

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



More information about the foundations-bugs mailing list