PalmaSolutions

Destroy partition USB stick/HDD

Feb 11th, 2018
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ##you must unmount the usb Stick first!!!!
  2.  
  3. ## Clean the USB Stick (destroy the partition table)
  4. sudo dd count=1 bs=512 if=/dev/zero of=/dev/sdx && sync
  5.  
  6. ## Put the ISO to your USB Stick
  7. sudo dd bs=1M if=/path/to/mycool.iso of=/dev/sdx && sync
Advertisement
Add Comment
Please, Sign In to add comment