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?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.