sudo dd if=<EFR_IMAGE_FILE.img> of=/dev/rdiskX bs=4m
Use /dev/rdiskX (raw disk) rather than
/dev/diskX for faster write speeds. Replace
diskX with your disk identifier. The operation may
take several minutes. When it completes, dd displays
a summary of records transferred.
After writing completes, run:
If macOS displays a dialog that the disk is unreadable, click
Ignore — do not click
Erase.
The EFI partition written by
dd is not recognized by
macOS.
Verify the USB drive file structure by mounting the USBEFR volume and listing
its contents:
ls -R /Volumes/USBEFR
The USB drive should contain the following directory structure:
EFI/
BOOT/
BOOTX64.EFI
grubx64.efi
centos/
SHIMX64.EFI
grubx64.efi
fonts/
unicode.pf2
boot/
resusys.vmlinuz
resusys.cpio
resusys.cpio.sig
IMAGES/
README