Preserve your Hackintosh bootable USB before it fails.
Hackintosh bootable USB drives have a limited lifespan. USB flash memory degrades over time, and a single cosmic ray (solar flare, EMP, or just age) can corrupt your carefully crafted OpenCore or Clover bootloader—leaving you unable to boot or reinstall. Hackintosh Lifeboat creates bit-perfect, compressed backup images of your bootable USB so you can restore a working drive whenever you need it.
USB drives aren't reliable long-term storage. Your Hackintosh bootable USB is irreplaceable—if it fails, you're starting over from scratch. Hackintosh Lifeboat solves this:
- USB Failure Insurance: Capture your working bootable USB before it fails
- Bit-Perfect Recovery: Saves every byte, including hidden partitions and bootloader data
- Easy Restore: Your backup works across Windows (Rufus), Mac, and Linux (balenaEtcher)
- Fast Backups: 32GB bootable USBs typically compress to ~15-25GB, backing up in minutes
- Right after creating your bootable USB - Before you use it for installation
- After successful Hackintosh deployment - You've got a working system, now protect your installer
- Periodically - USB degradation is unpredictable; re-backup every 6-12 months as insurance
- Before lending your USB to someone - Restore a fresh copy afterward
- Bit-Perfect Backups: Captures the entire USB, including all partitions and bootloader data
- Compressed Format: Saves as
.img.gzfor efficient storage (32GB USB typically compresses to 15-25GB) - Universal Compatibility: Compatible with Rufus (Windows), balenaEtcher (Mac/Linux), and
dd - TUI Interface: Professional terminal interface with real-time progress tracking
- Optional Progress Bar: Install
pvfor a live backup progress indicator
- macOS (tested on Big Sur and later)
- External storage with at least 32GB free space (recommended for most Hackintosh USBs)
- Sudo/Admin access (required to read the raw disk)
- Your bootable USB drive plugged in and recognized by macOS
Clone the repo:
git clone https://github.com/richknowles/Hackintosh-Lifeboat
cd Hackintosh-LifeboatMake it executable:
chmod +x Hackintosh-Lifeboat.commandInstall Dependencies (Optional but Recommended):
brew install pvThis adds a real-time progress bar during backup, so you can see exactly how long your backup will take.
Easy way - Double-click the script:
- Navigate to the
Hackintosh-Lifeboatfolder in Finder - Double-click
Hackintosh-Lifeboat.command - Follow the prompts
Terminal way:
./Hackintosh-Lifeboat.commandThe script will:
- List your available external drives and USB devices
- Ask you to confirm which USB to backup
- Display your target backup location and estimated size
- Unmount the drive safely
- Create a bit-perfect compressed image
- Show you where the backup was saved
Note: The first run will prompt for your sudo password. This is necessary to read the raw disk data.
Your backup is saved as Hackintosh_Backup_YYYY-MM-DD.img.gz.
- Download and install Rufus
- Plug in your target USB drive (must be at least 32GB)
- Open Rufus and select your
.img.gzbackup file - Click "Start" and wait for the write to complete
- Boot from the restored USB
Using balenaEtcher (recommended - graphical):
- Download balenaEtcher
- Open balenaEtcher
- Select your backup file
- Select your target USB drive
- Click "Flash"
Using dd (advanced users):
# First, identify your USB drive (e.g., /dev/disk2)
diskutil list
# Unmount it (replace disk2 with your drive)
diskutil unmountDisk /dev/disk2
# Restore from backup (replace disk2 and path to your backup)
gunzip -c ~/path/to/Hackintosh_Backup_2026-03-23.img.gz | sudo dd of=/dev/rdisk2 bs=1m"Permission denied" error
- Make sure the script is executable:
chmod +x Hackintosh-Lifeboat.command - The script will prompt for your sudo password during backup
Backup is very slow
- Install
pvfor a progress indicator:brew install pv - USB backup speed depends on your drive and connection type (USB 2.0 vs USB 3.0)
- Tip: USB 3.0+ is recommended for reasonable backup times
"Not enough space" error
- Your external storage doesn't have enough free space for the backup
- Typical 32GB bootable USB will compress to ~15-25GB depending on what's installed
Script exits unexpectedly
- Ensure your bootable USB is properly connected and recognized by macOS
- Run
diskutil list external physicalto verify your USB is visible - Make sure you have write permissions to your backup destination
- Full Hackintosh system backup - Back up your entire installed Hackintosh drive for complete system recovery
- Scheduled backups - Automated periodic backups
- Backup verification - Integrity checking for restored images
Found a bug? Have a feature idea? Contributions are welcome!
This tool was built for the Hackintosh community by the Hackintosh community. Special thanks to:
- The OpenCore project and community
- All the Hackintosh builders who inspired this tool
Built with ❤️ by Rich Knowles
[Add your license here - MIT, GPL, etc.]
