boot-repair should fix broken protective MBR

Bug #1810065 reported by Josh Haberman
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Boot-Repair
Incomplete
Undecided
Unassigned

Bug Description

The Qubes installer corrupts the protective MBR on UEFI systems. This causes my UEFI firmware to ignore that disk. boot-repair did not detect or fix this problem.

I spent a long time troubleshooting, and eventually came across this, which exactly describes my problem and shows how to fix it:

https://unix.stackexchange.com/questions/323677/qubes-clobbered-my-boot-how-can-i-re-enable-efi-booting

gparted knows how to fix this problem:

> Warning: The 0xEE protective partition in the MBR is marked as active. This is
> technically a violation of the GPT specification, and can cause some EFIs to
> ignore the disk, but it is required to boot from a GPT disk on some BIOS-based
> computers. You can clear this flag by creating a fresh protective MBR using
> the 'n' option on the experts' menu.

boot-repair should detect and fix this problem like gparted does.

Revision history for this message
Michael Ramendik (mr-ramendik) wrote :

I have been affected by the same issue (except it was the CentOS installer, booted in CSM while the system on the hard rive was EFI). I have already reported the bug to CentOS. I used boot-repair but it did not help; I later stumbled onto the solution while experimenting (I could ont google it out). Boot-repair should fix this issue.

Revision history for this message
YannUbuntu (yannubuntu) wrote :

hi, please can anyone attach a Boot-Info report (https://help.ubuntu.com/community/Boot-Info) created just before fixing the issue with gdisk ?

Changed in boot-repair:
status: New → Triaged
status: Triaged → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.