Using your Mac to convert a bootable ISO to a USB key.

Thu 03 March 2011

Filed under OS

Tags apple osx usb

hdiutil convert -format UDRW -o ubuntu-10.10-netbook-i386.dmg ubuntu-10.10-netbook-i386.iso

tulkas:Public joshua$ diskutil list
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            371.5 GB   disk0s2
   3:       Microsoft Basic Data Joshua7                 128.2 GB   disk0s3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *2.0 GB     disk1
   1:                 DOS_FAT_32 NO NAME                 2.0 GB     disk1s1

Hint: Can you tell which one is the USB key and which is my hard drive? I can!

Dismount the USB hard drive - "disk1"

diskutil unmountDisk /dev/disk1

dd the image:

  • BSD-dd: sudo dd if=ubuntu-10.10-netbook-i386.dmg of=/dev/rdisk1 bs=1m
  • GNU-dd: sudo dd if=ubuntu-10.10-netbook-i386.dmg of=/dev/rdisk1 bs=1M

Note: The 'rdisk' instead of 'disk', in this case. rdisk is raw disk, which some say is "faster". regardless, I recommend it.


Up To Something © Joshua M Schmidlkofer Powered by Pelican and Twitter Bootstrap. Icons by Font Awesome and Font Awesome More