Skip to content

Instantly share code, notes, and snippets.

@skhavari
Last active August 29, 2015 13:57
Show Gist options
  • Save skhavari/9573930 to your computer and use it in GitHub Desktop.
Save skhavari/9573930 to your computer and use it in GitHub Desktop.
skav:~ skhavari$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 499.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *15.9 GB disk1
1: Windows_FAT_32 94.4 MB disk1s1
2: Linux 15.8 GB disk1s2
skav:~ skhavari$ diskutil unmountDisk /dev/disk1
Unmount of all volumes on disk1 was successful
skav:~ skhavari$ sudo dd bs=1m if=/Users/skhavari/Downloads/archlinux-hf-2013-07-22.img of=/dev/disk1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment