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
.dmgfile to a.isofile, usingdmg2img:$ dmg2img -v -i Downloads/InstallESD.dmg -o Downloads/ElCapitan.isoCopy the
ElCapitan.isofile on my USB key:$ dd if=Downloads/ElCapitan.iso of=/dev/sdb bs=16M && syncPlug the USB key and boot.
Result: nothing happens, the USB key doesn't appear.