Skip to content

Bash script to delete all partitions and wipe all data from disks in Linux

License

Notifications You must be signed in to change notification settings

84adam/wipealldisks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

wipealldisks.sh

Bash script to delete all partitions and wipe all data from disks in Linux

Do not use this unless you want to start from scratch and re-install your OS.

Particularly helpful in cases where md RAID or ZFS partition metadata remains on drives during re-installation attempts.

To install, run:

git clone https://github.com/84adam/wipealldisks.git ; cd wipealldisks ; chmod +x wipealldisks.sh

Then run as root (or sudo):

  • # ./wipealldisks.sh
  • or
  • $ sudo ./wipealldisks.sh

Type 'Y/y/YES/yes' only if you are absolutely sure you want to delete everything on all disks.

About

Bash script to delete all partitions and wipe all data from disks in Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages