Convalesco

Current revision: 0.5

Last update: 2018-11-04 07:56:26 +0000 UTC

The heaviest penalty for declining to rule is to be ruled by someone inferior to yourself.

Plato , The Republic - 380 B.C.


Create disk image using dd under OSX

Date: 06/10/2009, 21:11

Category: technology



Here is a handy list of commands using macosx native diskutil command. In my case for creating a USB image of Moblin v 2.0 for my atom powered Acer Aspire One Z5.

$ diskutil list
$ diskutil unmountDisk /dev/diskN
$ sudo dd if=/path/to/downloaded.img of=/dev/diskN bs=1024
$ sudo dd if=moblin-2.0-final-20090924-001.img of=/dev/disk4
Password:
1476608+0 records in
1476608+0 records out
756023296 bytes transferred in 1924.583704 secs (392824 bytes/sec)
$ diskutil eject /dev/diskN

Of course you must be quite sure about the device that is mounted. It’s better to issue the “diskutil list” command before pluging the USB device that you want to convert into image.

via nerdlogger