maltob / DiskSlaw

Script to wipe disks
GNU General Public License v3.0
7 stars 3 forks source link
erasedata python3 wipe

DiskSlaw

DiskSlaw is a tool for mass wiping of disks whether they be mechanical or solid state.

This project is archived, I no longer have the hardware to maintain and test the various hardware configurations.

If the drive secure erase fails, you may end up with a difficult to boot system that will ask for a password.

Motivation

I wanted a solution that would:

Features

Screenshots

Wiping Screen

Screenshot of wiping progress bar

Results Screen - With Fallback

The NVMe drive shows a warning because VirtualBox doesn't emulate NVMe format so it fell back to using shred Screenshot of results panel

Quick Start

Overview of use

ISO

1) Download ISO from releases 2) Burn ISO to disk 3) Boot the flash drive by using F12/F10 to select it from the boot menu on the PC you would like to wipe

USB

1) Download the ISO from releases 2) Use a tool such as RUFUS or YUMI to create a bootable flash drive by pointing to the ISO 3) Boot the flash drive by using F12/F10 to select it from the boot menu on the PC you would like to wipe

Network - iPXE

Using iPXE is recommended due to the download being over half a gigabit. See Setting Up Network boot on a Linux Server on the Wiki for a step by step guide 1) Configure the DHCP scope to boot ipxe - See instructions from ipxe.org Chainloading iPXE on ipxe.org 2) Download the ISO from releases 3) Extract or mount the ISO 4) Copy the filesystem.squashfs vmlinuz, and initrd from our disk (v0.3-alpha) or higher 4.1. If you use Microsoft IIS as your web server you will need to add ".squashfs" and "." as a MIME type of "application/octet-stream" 5) Create an iPXE script like below to boot the disk (WARNING : It will autoamtically wipe without further input unless there is a frozen SSD)

    #!ipxe
    kernel http://<WEBSERVER>/vmlinuz
    initrd http://<WEBSERVER>/initrd.lz
    imgargs vmlinuz boot=live dhcp fetch=http://<WEBSERVER>/casper/filesystem.squashfs nouveau.modeset=0 nomodeset --
    boot