I wasn't sure about posting this thread here, or on the apple community. However, as I am using a PC running Ubuntu, I am posting this here.
My macbook pro (mid-2015) is out of service. I need to reinstall OS X on it. Note that I can't access the recovery partition; it has been wiped out too.
I have the InstallESD.dmg
file, that I found online; I checked the hash value.
I would like to know how to make a bootable USB device with that file. Note that I have a USB key with a MBR partition. I am not sure, but it should be using GUID to be recognized by my macbook pro?
What I tried:
Convert the
.dmg
file to a.iso
file, usingdmg2img
:$ dmg2img -v -i Downloads/InstallESD.dmg -o Downloads/ElCapitan.iso
Copy the
ElCapitan.iso
file on my USB key:$ dd if=Downloads/ElCapitan.iso of=/dev/sdb bs=16M && sync
Plug the USB key and boot.
Result: nothing happens, the USB key doesn't appear.
ALT
button to access the startup disk menu, with the list of WiFi networks. The USB does not appear. – Kilui Mar 07 '16 at 14:16.iso
files to USB flash drives works for Ubuntu installation disks because these disks use a Frankenstein's Monster of a disk format. I don't know offhand if Apple's disks use anything similar. If not, the resulting disk won't be bootable, except maybe if you used rEFInd and its ISO-9660 driver to kick off the boot process. You might have better luck with Unetbootin, Rufus, or something similar, but I've not checked that these tools support OS X. – Rod Smith Mar 07 '16 at 17:19