Skip to content

Instantly share code, notes, and snippets.

@pm-hwks
Last active January 9, 2020 21:47
Show Gist options
  • Save pm-hwks/9fd97c5a4ec58f9718370f8635a29dfa to your computer and use it in GitHub Desktop.
Save pm-hwks/9fd97c5a4ec58f9718370f8635a29dfa to your computer and use it in GitHub Desktop.
[macOS disk utility and dd commands] Use this create USB disk images and restore from images #usb #macos #disk_utility #dd #image #restore #wip
## **** This is a work in progress snippit **** ##
## Link https://www.cyberciti.biz/faq/how-to-create-disk-image-on-mac-os-x-with-dd-command/
# Step 1: Erase & format the usb drive with exFAT using the macos disk utility app
# step 2: list all the disk and identify the usb disk
diskutil list
# step 3: unmount disk using the disk utility macos app
# step 4: Write the iso file to usb disk
dd if=abc.iso of=/dev/disk2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment