Wednesday, August 27, 2008

Make a Bootable USB from a DMG

Here's the simplest process I have seen...


  • Mount a bootable DMG image so it appears in /Volumes (eg. /Volumes/SomeAppDisk)

  • Mount a USB Key you don't mind erasing (eg. /Volumes/USBToBeWiped ) (should happen just by sticking it in the machine)

  • From a terminal type
    sudo asr --restore --source /Volumes/SomeAppDisk --target /Volumes/USBToBeWiped --erase

  • wait ....10....20....30....40....50....60....70....80....90....100


Note: --erase will cause the usb key to be wiped AND is what 'bless'es the device so it becomes bootable.

There you go..
Post a Comment

GitHub Projects