Wednesday, January 2, 2019

how to backup EFI boot entries

I have two hard drives with Arch Linux and Windows 10 installed respectively in UEFI mode. Let's say they are disk1 and disk2. Now I want to try Hackintosh on disk2, overwriting existing windows install. Before all that, I want to make a full backup of disk2 including its EFI boot entry or maybe entire EFI boot entry table.


I have created a image of disk2 with dd under linux:


dd if=disk2 conv=sync status=progress bs=64K | gzip -c > $(date -Idate).gz

Now, how to backup EFI boot entries? I can see with efibootmgr you can only list or add boot entries. Or, do I really need to make a backup, since disk2's ESP partition is already included in the disk image?

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...