35
15
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?
You can as well just use
– kaiser – 2016-01-12T02:48:21.603hdiutil convert EXAMPLE.dmg -format RdWr -o EXAMPLE.img
, according to this answer.How USB should be formatted? Partitionmap GUID/MBR? Formatting FAT/NTFS/HFS+? – IFightCode – 2016-04-21T13:20:29.503
3why you cannot directly do DD from the .dmg to the USB ? – Francesco – 2014-01-06T20:11:55.167
@Francesco - Do some research on the format differences between a
dmg
(non-standard) andiso
(standard) – nerdwaller – 2014-01-06T20:19:58.5371
Accordign to this guide: http://www.macbreaker.com/2014/01/install-osx-mavericks-on-pc-with-niresh.html
this should work on Mac Osx:
sudo dd if="location of Niresh disk image" of=/dev/r"identifier" bs=1m
So why should not on linux ?1
@Francesco - Never said it doesn't. Please ask your own questions rather than piggy backing off other's and providing unrelated/chatty comments. You can also see if anyone is available in chat.
– nerdwaller – 2014-01-07T14:26:12.9903I just want to add detail to the answer ... why you should to convert the image if it is not required ? – Francesco – 2014-01-07T17:24:58.350
2@Francesco - Again, look at the differences between
dmg
andiso
.iso
is a standard,dmg
is often contains compressed items, whereiso
s do not. To avoid the few rare cases in which admg
behaves as aniso
, it's best to just convert it to a known valid format. If you write the commondmgs
(that contain compression) to a USB, many things do not handle them correctly. So you aren't adding details, you're asking questions without researching it beyond a single case in which your point is true while ignoring the numerous cases in which it is false. – nerdwaller – 2014-01-07T17:39:40.160