Reference

Troubleshooting

Common issues and their solutions.

Common Issues

Drive is "Frozen" — ATA Secure Erase won't start

Many BIOS implementations "freeze" ATA drives on boot to prevent malware from issuing erase commands. This is the most common issue.

Solution

  1. Suspend your laptop: systemctl suspend
  2. Wake it up (press power button or open lid)
  3. The drive should now be unfrozen — retry the erase

Alternatively, Swipe can attempt this automatically via di_system_unfreeze().

"Permission denied" or "Not running as root"

Direct disk access requires root privileges on Linux.

Solution

sudo swipe

The disclaimer screen checks id -u and will show an error if UID ≠ 0.

No drives detected

If the Discovery tab is empty:

  1. Verify drives exist in lsblk
  2. Ensure libudev is installed: apt install libudev-dev
  3. Check that libdriveinfo.so is in the correct path (co-located with the swipe binary or in /opt/swipe/lib/)
  4. Verify you have kernel support: uname -r should be 4.4+

Wipe speed is extremely slow

Common causes of slow wipe speed:

  • USB drives: USB 2.0 limits speed to ~30 MB/s. Use USB 3.0+ ports.
  • Random fill: PRNG generation is CPU-intensive. Use Zero Fill for maximum throughput.
  • Gutmann 35-pass: Inherently slow due to 35 passes. Consider DoD 3-pass or NIST Clear instead.
  • Thermal throttling: Check drive temperature in the Capabilities tab. Drives throttle at ~70°C.

App crashes on launch / GTK errors

Install missing GTK dependencies:

sudo apt install libgtk-3-0 libblkid1 liblzma5

On headless servers or minimal installs, GTK may not be present. Swipe requires a graphical desktop environment.

SMART health shows "N/A"

SMART data requires smartmontools:

sudo apt install smartmontools

Getting Help