Create Bootable USB Drive


/ Published in: Bash
Save to your folder(s)

This is just a note for myself, not my own code.


Copy this code and paste it in your HTML
  1. diskutil list
  2.  
  3. diskutil unmountDisk /dev/diskN
  4.  
  5. sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m
  6.  
  7. diskutil eject /dev/diskN

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.