Macos – Making a bootable OSX USB from dmg on Linux

bootfedoramacmacosusb

I have 2 machines – a MacBook Pro and a desktop running Fedora, I have a USB drive and a OSX 10.8 dmg. The MacBook won't boot into OSX unfortunately, I'm trying to make a bootable mac usb to recover it.

Any insight? I've tried dmg2img but no success putting that image onto the usb drive.

Is there an easy way to do this?

Best Answer

Have you tried "Acetoneiso"?

It'll convert the DMG to an ISO for you. After that, the easiest way I know of to make a bootable USB is using DD.

dd if=/path/to/osx.iso of=/dev/sdX && sync

Note: sdX is an example, you will have to check your flash drive address (usually sdb if you have only one hard disk). Do not add a partition # after that (such as sdb1). This method is a little hard on flash drives (I have killed one or two doing this relatively frequently, but once should be fine).

If you are unfamiliar, DD is a bit by bit copy and sync just verifies that all files have been written to the usb.

Related Question