ShredOS Usage
Wipe SSDs (NVMe & SATA) and HDDs with ShredOS
Prerequisites:
- USB-Stick (1GB+)
- BIOS+UEFI USB / minimum 2GB RAM / writable
Step 1: Preparations
- Download and flash the ShredOS Image to a USB-Stick with a program like rufus.
- Expand the shredos partition with a partition manager (or linux tools like fatresize etc.)
- Copy the following files to /etc/nwipe/ onto the stick:
- nwipe.conf
- nwipe_customers.csv
- Edit the following bootloader entries as shown below
- boot/grub/grub.cfg
- EFI/BOOT/grub.cfg
menuentry "ShredOS" {
linux /boot/bzImage console=tty3 loglevel=3
}
to:
menuentry "ShredOS" {
linux /boot/bzImage console=tty3 loglevel=3 shredos_exclude_boot_disc="yes" loadkeys=de
}
Then save both files and eject the stick.
Step 2: Booting
Make sure the computer/cerver you're using only has disks connected that you want to wipe.
- Insert the stick and boot to bios
- Check the boot order and change it if necessary
- (if using hardware RAID-Card) Enable HBA-Mode (IT-Mode) in the controller settings
and remove existing raid config from the disks - boot the computer until you see the blue nwipe screen
Step 3: Wiping disks
HDDs
- nwipe will ask you to configure the business and customer data. Change or accept with [a].
- Use the arrow keys to navigate the drive list and press [Space] to select the disks you want to wipe.
- Press [m] to choose the wipe method.
- (Optional) Press [p] to change the PRNG, [r] for rounds, or [d] to toggle forward/reverse/scatter wipe mode.
- Press [Shift+S] to start wiping.
- Wait until all selected disks show a successful status. Do not remove the USB stick or power off the machine during the wipe.
Our default settings for SATA/SAS HDDs:
Method: HMG IS5 enhanced
Rounds: 1 (with method actually 4 incl. zero fill)
Blanking: Yes
Direction: forward
Useful shortcuts:
- [c] - open config settings
- [m] - wipe method
- [f] - toggle interface scaling (useful on high-resolution displays)
- [Ctrl+C] - quit nwipe
SATA and NVMe SSDs (Secure Erase)
For SSDs, prefer a firmware-level secure erase over overwriting every block. This is faster and avoids unnecessary wear. Use the shell on a second virtual terminal while nwipe is running.
Make sure you have selected the correct device before issuing erase commands. Most of these commands do not ask for further confirmation.
- Press [Alt+F2] to open a shell.
- List disks on the system:
fdisk -l
SATA SSDs:
- Check that the drive is not frozen:
hdparm -I /dev/sdX | grep frozen - If frozen, put the system to sleep and wake it again (repeat until
not frozen):echo -n mem > /sys/power/state - If supported, sanitize the disk (preferred):
hdparm --sanitize-status /dev/sdX hdparm --yes-i-know-what-i-am-doing --sanitize-block-erase /dev/sdX - Otherwise use ATA Security Erase:
hdparm --user-master u --security-set-pass p /dev/sdX security_password="p" hdparm --user-master u --security-erase p /dev/sdX security_password="p" - Verify the disk is erased:
dd if=/dev/sdX bs=8192 status=progress | hexdump
NVMe SSDs:
- List NVMe devices:
nvme list - If supported, sanitize the disk (preferred):Use
-a 2for Block Erase,-a 3for Overwrite,-a 4for Crypto Erase. - Otherwise use NVMe format:
Usenvme format /dev/nvmeX -n 0xffffffff -ses=2-ses=2for Crypto Erase if supported, otherwise-ses=1for User Data Erase. - Verify the disk is erased:
dd if=/dev/nvmeX bs=8192 status=progress | hexdump
Switch back to nwipe with [Alt+F1].
Step 4: Reports
When wiping is complete, nwipe writes PDF certificates and log files to the USB stick (if PDF_Enable is enabled in nwipe.conf).
- The following files are created on the stick:
- nwipe_report_YYYY-MM-DD-*.pdf (per-disk wipe certificate)
- nwipe_system_report_YYYY-MM-DD-*.pdf (system summary)
- nwipe_log_*.txt (detailed wipe log)
- Review the PDF reports and copy them to your records before reusing the stick.
Step 5: Shutdown
- Press [Ctrl+C] to exit nwipe if you are still in the menu.
- Power off the machine and remove the USB stick.
- If disks reported errors during the deletion progress, mark them and/or physically destroy before disposing