bugGNU GRUB - Bugs: bug #67134, Backup GTP table should be used...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #67134: Backup GTP table should be used when primary is corrupted

Submitter:  Alice <nonbin>
Submitted:  Sat 17 May 2025 08:46:50 AM UTC
   
 
Category:  Disk & Partition Severity:  Major
Priority:  5 - Normal Item Group:  Feature Request
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release:  other
Release:  Reproducibility:  None
Planned Release:  None

Sat 17 May 2025 08:46:50 AM UTC, original submission:  

I have NixOS with GRUB 2.12, I installed Windows on a separate partition, which corrupted the main GPT table.

I was dumped to the grub shell (I don't think it was rescue mode) and "ls" showed only hd0 with no partitions. I then booted a live  USB to diagnose, and running fdisk gave me the message: "The backup GPT table is corrupt, but the primary appears OK, so that will be used." I copied the backup table and everything went back to normal.

My suggestions for improving this type of issue:
- show a message explaining why we have fallen back to shell or rescue (in all cases)
- boot using the backup table after a confirmation
- add a shell and rescue command to use the backup table

Alice <nonbin>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nonbin (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code