I'm throwing in the towel and asking for help from the community. I've been trying to create a macOS Lion (10.7.5) USB installer and it has been absolute hell. The device I'm working on is a MacBook Pro 13" mid-2012 (model A1278) which supports OS X 10.7.3 and up and it's currently running OS X Lion 10.7.5. This is the method I'm applying, broken down in steps.
The comedic part of this all, is that I have a functional 10.7.5 USB installer which by the life of me I can't remember how I made it work flawlessly.
Here's all the alternatives I've tried so far
- Downloaded OS X Lion Installer from Apple website directly (InstallMacOSX.dmg)
- The downloaded InstallMacOSX.dmg contains a file named InstallMacOSX.pkg which checks if your computer supports Lion, after which it places Install Mac OS X Lion installer in the Applications folder.
- I right-click Install Mac OS X Lion -> Show package contents and then browse through Contents -> SharedSupport to copy InstallESD.dmg to the desktop, which holds the bootable drive image
- I mount this InstallESD.dmg to the filesystem by double-clicking it
- Insert a 64 GB flash drive and format it to MacOS Extended (journaled)
- I launch Disk Utility and click on tab restore, drag the mounted InstallESD.dmg volume to the Source field and drag the empty volume to the Destination field and start the process. It finishes without problems
The comedic part of this all, is that I have a functional 10.7.5 USB installer which by the life of me I can't remember how I made it work flawlessly.
Here's all the alternatives I've tried so far
- Tried a different USB drive: no luck
- Restored InstallESD.dmg from file rather than mounted .dmg: no luck
- Restored InstallESD.dmg from file, in the recovery environment on internal drive: no luck
- Restored InstallESD.dmg from file, in the recovery environment on the functional Lion USB installer, no luck
- Restored volume from functional Lion USB installer to new USB drive: no luck
- Used terminal to flash InstallESD.dmg in command line: no luck
- Used Disk Maker X (I believe 3.x): no luck
- Used Balena Etcher: no luck
- Even tested on an older 2011 variant A1278: no luck