Skip to content

Instantly share code, notes, and snippets.

@embarq
Created December 26, 2017 22:10
Show Gist options
  • Select an option

  • Save embarq/85766ea75864dbd9337c71d4e6a65379 to your computer and use it in GitHub Desktop.

Select an option

Save embarq/85766ea75864dbd9337c71d4e6a65379 to your computer and use it in GitHub Desktop.
> diskutil list
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 251.0 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_CoreStorage Macintosh HD 250.0 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD +249.7 GB disk1
Logical Volume on disk0s2
396EECED-8130-4CCD-8C24-02EE2A28C99D
Unencrypted
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *7.8 GB disk2
1: DOS_FAT_32 WIN 7.8 GB disk2s1
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: C_ALL_X86-64FRE_EN-... +4.5 GB disk4
> diskutil unmountDisk /dev/disk2
Unmount of all volumes on disk2 was successful
> sudo dd if=/Users/embarq/Downloads/Win10_1709_English_x64.iso of=/dev/disk2 bs=1m;
4479+1 records in
4479+1 records out
4697362432 bytes transferred in 1854.985112 secs (2532291 bytes/sec)
> diskutil eject /dev/disk2
Disk /dev/disk2 ejected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment