make bootable usb flash drive with linux in MacOS X

bash-3.2# hdiutil convert -format UDRW -o Debian7live.img debian-live-7.0.0-i386-standard.iso
Reading Master Boot Record (MBR : 0)…
Reading Debian wheezy 20130505-06:54 (Apple_ISO : 1)…
Reading (Windows_NTFS_Hidden : 2)…
...........................................................................................................................................................................................................................
Elapsed Time: 4.551s
Speed: 118.2Mbytes/sec
Savings: 0.0%
created: /Users/bentoslack/Downloads/Debian7live.img.dmg

bash-3.2# mv Debian7live.img.dmg Debian7live.img

bash-3.2# diskutil list
/dev/disk4
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *15.8 GB disk4
1: DOS_FAT_32 UNTITLED 1 15.8 GB disk4s1

bash-3.2# diskutil unmountDisk /dev/disk4
Unmount of all volumes on disk4 was successful

bash-3.2# dd if=Debian7live.img of=/dev/disk4 bs=1m
538+0 records in
538+0 records out
564133888 bytes transferred in 105.770259 secs (5333578 bytes/sec)

bash-3.2# hdiutil eject /dev/disk4
"disk4" unmounted.
"disk4" ejected.
bash-3.2#

Leave a Reply

Your email address will not be published. Required fields are marked *