• 1 Post
  • 20 Comments
Joined 1 year ago
cake
Cake day: July 18th, 2023

help-circle




















  • You could (carefully) run a dd command to blast the partition data off the drive, in Linux or any Unix based system.

    Let’s say your drive was recognised as /dev/sdc when you plugged it in.

    First, make sure it’s unmounted:

    1. sudo umount /dev/sdc

    Then blast a gigabyte of zeros over the partition information: 2. sudo dd if=/dev/zero of=/dev/sdc bs=1G count=1

    The partition information is usually stored on the very first couple of megabytes on the drive, so blasting a gig’s worth of zeros linearly onto it should make it show up as an empty device next time you unplug and plug it in.