Ubuntu

grub-efi overwrites an existing grub*.efi file

Reported by YannUbuntu on 2012-09-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Wishlist
Unassigned

Bug Description

On Ubuntu 12.04 (grub 1.99), grub-efi creates a /efi/ubuntu/grubx64.efi file, which is recognized as an entry in the UEFI firmware.

When you install two Ubuntu (let's say UbuntuA, then UbuntuB) in dualboot, UbuntuB will overwrite the /efi/ubuntu/grubx64.efi file (linked to UbuntuA) by a new /efi/ubuntu/grubx64.efi file (linked to UbuntuB).

THE PROBLEM IS:
if UbuntuB's /boot/grub/grub.cfg is damaged or erased, the user can't access neither UbuntuA nor UbuntuB.

EXPECTED BEHAVIOR:
UbuntuA creates its own entry (eg /efi/ubuntu/grubx64_uuidA.efi ), and UbuntuB creates another entry (eg /efi/ubuntu/grubx64_uuidB.efi ), so that if UbuntuB's /boot/grub/grub.cfg is damaged, the user can still access UbuntuA via the UEFI firmware.

YannUbuntu (yannubuntu) on 2012-09-25
description: updated
Phillip Susi (psusi) wrote :

Note that if the primary config file is missing or corrupt, the grub rescue shell provides enough functionality to direct it to the config file of the other install, allowing recovery from such a scenario.

Changed in grub2 (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers