Secure erasure of data disks - TUXEDO Computers

  • Notebooks
    • Notebooks/Laptops with preinstalled and configured Linux and more. TUXEDO Computers are individually built computers and PCs being fully Linux-suitable, custom tailored Linux hardware so to say. We deliver all TUXEDOs ready to go so you only ha...
    • 10-14 inch
    • 15-16 inch
    • 17 inch
    • Immediate shipping
    • Business notebooks
    • Gaming-Notebooks
    • Mobility notebooks
    • Deep Learning AI
    • All Notebooks
  • Computers / PCs
    • Computers / PCs with Linux preinstalled & more TUXEDO Computers are individually built computers and PCs being fully Linux-suitable, custom tailored Linux hardware so to say :) We deliver all TUXEDOs ready to go so you only have to unwrap,...
    • Mini Systems
    • Midi Systems
    • Maxi Systems
    • AMD Systems
    • Intel Systems
    • All Systems
  • Accessories
    • Here you will find accessories, components and peripherals for your TUXEDO system. Nothing suitable found here? Get in touch with us directly!
    • Batteries
    • Displays
    • Dockingstations
    • Books
    • Input Devices & Peripherals
    • Bags & Sleeves
    • Fan Merchandise
    • Notebook Power Supplies & Cords
    • Components & Complements
      • Cables
      • Drives
      • Hard Disk Drives 2.5"
      • Memory
      • PC Power Supplies
      • SSDs 2.5"
      • SSDs m.2 (SATAIII and NVMe)
      • WiFi, LAN & Mobile Network
      • Licenses
  • B2B
    • In this category you can find equipment for your company, office, school, university or educational institution and servers and solutions. Appliances with CRM, ERP and merchandise management, cloud storage, cloud server for self-hosting, services...
    • Business notebooks
    • Business computers
  • Novelties
  •  
    • Notebooks
      • 10-14 inch
      • 15-16 inch
      • 17 inch
      • Immediate shipping
      • Business notebooks
      • Gaming-Notebooks
      • Mobility notebooks
      • Deep Learning AI
      • All Notebooks
    • Computers / PCs
      • Mini Systems
      • Midi Systems
      • Maxi Systems
      • AMD Systems
      • Intel Systems
      • All Systems
    • Accessories
      • Batteries
      • Displays
      • Dockingstations
      • Books
      • Input Devices & Peripherals
      • Bags & Sleeves
      • Fan Merchandise
      • Notebook Power Supplies & Cords
      • Components & Complements
        • Cables
        • Drives
        • Hard Disk Drives 2.5"
        • Memory
          • DDR4 DIMM
          • DDR4 SO-DIMM
          • DDR5 DIMM
          • DDR5 SO-DIMM
        • PC Power Supplies
        • SSDs 2.5"
        • SSDs m.2 (SATAIII and NVMe)
        • WiFi, LAN & Mobile Network
        • Licenses
    • B2B
      • Business notebooks
      • Business computers
    • Novelties
  • Settings

  • Deutsch
  • English

  • Customer Account

  • Log in
  ATTENTION: To use our store you have to activate JavaScript and deactivate script blockers!  
Thank you for your understanding!

Secure erasure of data disks

Secure deletion of harddrives, ssds and other data storage devices protects your privacy and is partly subject to legal regulations in the company. We explain how it works.

Secure erasure of harddrives and ssds

If you delete data files on your PC, notebook or smartphone using the operating system tools, the files and their data are not irretrievably lost. Usually they can be recovered without too much effort. There are plenty of instructions for this on the web.

When deleting, only the references to the data in the index, the table of contents of the hard disk, are deleted and the area is released for overwriting. The overwriting of the now free area may happen much later. Until then, the data or parts of it can be recovered.

Even formatting or partitioning a disk does not necessarily ensure that the data cannot be recovered. Conventional formatting (fast high-level formatting), on the other hand, merely deletes the table of contents and replaces it with a new one; the data is still on the disk.

To ensure that the data on your disks is erased in such a way that there is no chance of recovery, you must ensure that the disk is overwritten, preferably several times, with specific or random characters.

When to erase storage media irretrievably?

A storage device should be securely deleted when you remove it from your personal environment. For example, because you want to sell it, give it away or donate it, or return a device to the manufacturer. The best way to do this is to use specialized tools that reliably overwrite the data.

If this involves the data medium that houses the operating system, it is important that the software you use to erase it is started from a bootable medium such as a CD or a USB thumb drive. Otherwise, the entire data medium cannot be safely overwritten.

When such software is started from the operating system during runtime, the Windows recovery partition, for example, will not be overwritten. As an alternative to a live medium, you can remove the storage devide and install it in another device and delete it from there.

Differences between HDD, SSD and NVMe

When proceeding to securely erase hard disks, differences in the procedure and the programs used between HDD, SSD and NVMe must be taken into account. General differences between these data carriers are explained in the article HDD, SSD or NVMe Which data carrier for which purpose.

Secure Erase: HDD and SSD with SATA connection

A tool for securely erasing disks is already on board with every Linux installation: dd. Start a live environment with the ISO of TUXEDO OS or another distribution and determine the device id in the first step with the command lsblk.

lsblk
(out)NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
(out)sda           8:0    0 232,9G  0 disk
(out)└─sda1        8:1    0 232,9G  0 part /media/ft/mini-ssd1
(out)sdb           8:16   0 232,9G  0 disk
(out)└─sdb1        8:17   0 232,9G  0 part /media/ft/c578fee0-643e-49c6-bbc5-09b828cd385f1
(out)nvme0n1     259:0    0 931,5G  0 disk
(out)├─nvme0n1p1 259:1    0   529M  0 part
(out)├─nvme0n1p2 259:2    0   100M  0 part
(out)├─nvme0n1p3 259:3    0    16M  0 part
(out)├─nvme0n1p4 259:4    0 149,6G  0 part
(out)└─nvme0n1p5 259:5    0 781,2G  0 part /

The exemplary output lists three disks: sda and sdb are hard disks, connected via the SATA port. It does not matter for secure erasure whether it is a mechanical HDD or an SSD as long as it uses the SATA protocol.

Based on the output, you should be able to determine the identifier of the HDD to be erased. Next, make sure that the disk is not mounted. You can do this in a file manager or on the command line. Replace the X in the path of the commands with the correct identifier from the above output.

sudo umount /dev/sdX   # (or /dev/nvme0nX if you want to address a NVMe)

Then, in our case, the dd tool comes into play for sda or sdb: Depending on the size of the storage device, the process can take quite a long time, since the command overwrites each bit of the disk with random characters. Therefore, you should let the process run about overnight – make sure that the computer does not automatically go into standby.

sudo dd if=/dev/urandom of=/dev/sdX bs=1

Why overwriting with zeros is not sufficient for secure deletion is explained in this article. In addition to Dd, there is also the command shred for the command line, which is also already present in TUXEDO OS and most other distributions. The use is simple:

shred -vfz -n 3 /dev/sda

The option n 3 tells the command to overwrite the disk, here /dev/sda, three times with random numbers. The switch -z initiates another pass that fills the disk with zeros. This disguises the fact that data has been erased. The parameter -v then shows a progress bar. Shred is much faster than Dd. However, the following also applies here: Secure deletion of a complete volume is only possible if the tool is started in a live session.

Secure Erase: NVMe SSDs

These SSDs work with the NVMe protocol and are connected via PCI Express without the need for manufacturer-specific drivers. While there are tools provided by the respective manufacturer for the management of NVMe SSDs for Windows, the nvme-cli package is used under Linux.

The package contains a large number of individual commands. You can display these with nvme help. For safe deletion you need the command nvme sanitize. In the first step, use nvme list to determine the device ID of the volume to be erased. A possible output looks like this:

sudo nvme list
(out)Node                  SN                   Model          Namespace Usage                      Format           FW Rev  
(out)--------------------- -------------------- -------------- --------- -------------------------- ---------------- --------
(out)/dev/nvme0n1          1932822900012855056C Force MP600    1          1,00  TB /   1,00  TB     512   B +  0 B   EGFM11.2

After that, use the identifier to determine the SSD’s capabilities:

sudo nvme id-ctrl /dev/nvme0n1 -H | egrep "Sanitize"
(out)  29:29 : 0   No-Deallocate After Sanitize bit in Sanitize command Supported
(out)    2:2 : 0   Overwrite Sanitize Operation Not Supported
(out)    1:1 : 0   Block Erase Sanitize Operation Supported
(out)    0:0 : 0   Crypto Erase Sanitize Operation Not Supported

In this case, the firmware of the disk supports the Block Erase function. Other NVMe SSDs offer other routines for erasing the stored contents. In our example, you initiate the erase with the following command.

nvme sanitize -a 2 /dev/nvme0n1

You can check the status with:

nvme sanitize-log /dev/nvme0n1

If you prefer an application with a graphic interface, you can use the proven open source tool Parted Magic. The download of the ready-to-use ISO image costs 15 Euros in the cheapest variant. The Erase Disk tool is included, which is divided into Secure Erase ATA Devices for SATA and NVMe Secure Erase and thus covers both areas.

Physically destroy data medium

If the data medium is to be disposed of, it can alternatively be physically destroyed. For household use, the use of a hammer should do the task. If, on the other hand, the storage devices of self-employed persons, companies or authorities are to be securely deleted, this is not sufficient.

Large companies have collection garbage cans for this purpose, which hold the data media until a specialized company collects them and destroys them in a shredder in accordance with DIN 66399. Afterwards, the customer receives a certificate of destruction, which serves as proof of data protection-compliant data media destruction.

Service & Support

Welcome to TUXEDO Support - how can we help you?

Linux at TUXEDO

Are you wondering if Linux is right for you? Our team will be happy to answer your questions and explain details about the free operating system at TUXEDO.
Let the advantages and services convince you!

Hardware

Notebook, PC, both - and which model? Our technical service team also provides advice on selection, equipment and puts together suitable offers for your technical requirements.

Questions and Answers

Frequently asked questions and the corresponding answers can be found here. If you cannot find a solution to your problem here, it is also worth taking a look at the instructions section.


Find out more

Instructions and Tips

Most situations can be solved quickly and easily by yourself. This saves you time and you can use your device directly again. We provide you with instructions, first steps and short tips for all TUXEDO models.


Find out more

System Recovery

Even in the case of a case, you don't have to rely on us: Your device can be reset to the factory settings - completely automatically! Everything is included with your order and you can get started right away.


Find out more

Technical Service

Our competent technicians are also happy to help with service requests. You have different possibilities to contact us. We are personally there for you Monday to Friday from 9 am to 1 pm and from 2 pm to 5 pm. But also outside these times, you can contact our team with your request by e-mail.
An extra function is available in your customer account for repair requests (RMA).

 

Contact

We are personally there for you Monday to Friday from 9 am to 1 pm and from 2 pm to 5 pm (German time). But also outside these times you can contact our team with your request by e-mail. Please include your customer number, the model name of your laptop or PC and as detailed a description of your request as possible. The more details you give us, the faster we can process your request!

We might not be able to answer questions about third party hardware or software. For questions about popular open source software (Thunderbird, Filezilla...) please contact a forum e.g. ubuntuforums.org. The research effort for application specific setup is immense and not manageable at the current time. Basic compatibility questions e.g. are of course still welcome!

An extra function is available in your customer account for repair requests (RMA).

 

Image of Tux

Linux compatible
image of 5 years warranty badge

Up to 5 Years Warranty
stylized image of a Rocket

Immediately ready for use
image of germany with a wrench in the center

Assembled in Germany
image of germany with a section sign in the center

German Data Privacy
stylized image of a tech support worker

German Tech Support

Guidance

  • B2B
  • Service & Support
  • Newsletter


Mo - Fr: 9-13 & 14-17h
+49 (0) 821 / 8998 2992

About TUXEDO

  • Why TUXEDO
  • TUXEDO Control Center
  • TUXEDO Tomte
  • TUXEDO WebFAI
  • TUXEDO OS
  • TUXEDO Aquaris
  • Individual logos and keyboards

Help & Support

  • Downloads & Drivers
  • System Diagnostics
  • Frequent questions (FAQ)
  • Instructions
  • Help with my device
  • Revocation right
  • Shipping costs & delivery times
  • Payment methods

News & more

  • News & Blog
  • Press
  • Newsletter
  • Event Calendar
  • Jobs & Career
  • Sponsoring

Community


Your Linux specialist since 2004

  • Accessibility
  • Privacy policy
  • Imprint
  • Battery disposal
  • Conditions of Use

Shipping costs & delivery times

We ship your order to almost all countries, in Europe mostly even free of charge! The respective shipping costs and the cost threshold above which we will cover the costs for you can be found here or for international shipping in the table below.

 


Free shipping within Germany

There are no shipping costs within Germany for goods worth €100 or more.

 

7.99 € shipping cost at max!

No matter how many small articles you order, such as USB stick card reader, LAN adapters or fan articles, with us, you pay a maximum of 7.99 € shipping costs.

  • 7.99 € shipping fee for all orders below 100 € of goods
  • Free shipping from 100 € total value of goods

You can check all occurring shipping costs or if we even deliver for free right before sending your order!

 


International delivery

Here are the shipping costs as well as the amount threshold for your order. The threshold is referring to the total amount of your order, which enables free shipping.
 

Taxes and customs outside the EU:

For orders outside the EU there might be additional duties, taxes or charges needed to be paid by the customer. These don't have to be paid to the supplier, but to local authorities. Please check for any details with your local customs or tax authorities before ordering! But as a benefit you don't have to pay German taxes, this means you save up to 19%!
Due to the Brexit and the associated changes, there may be delays of several days in customs clearance on site for deliveries to the UK. This is not within our sphere of influence, so we ask for your understanding.

 

 
⚠️   Countries to which we unfortunately cannot ship, and information on how you can still order from us, can be found here!
Country Shipping Fee Free Shipping From
Albania 99,00 EUR -
Andorra 59,00 EUR -
Belarus Temporarily no delivery possible 59,00 EUR -
Belgium 8,49 EUR 100 EUR
Bulgaria 15,99 EUR 160 EUR
Denmark 8,49 EUR 100 EUR
Estonia 15,99 EUR 160 EUR
Faroe Islands 129,00 EUR -
Finland 14,99 EUR 150 EUR
France 9,99 EUR 120 EUR
Greece 22,90 EUR -
United Kingdom 9,99 EUR 120 EUR
Hong Kong 199,00 EUR -
India 199,00 EUR -
Ireland 14,99 EUR 150 EUR
Island 129,00 EUR -
Italy 9,99 EUR 120 EUR
Japan 99,00 EUR -
Canada 99,00 EUR -
Croatia 34,90 EUR 500 EUR
Latvia 15,99 EUR 160 EUR
Lithuania 15,99 EUR 160 EUR
Luxembourg 8,49 EUR 100 EUR
Macau 199,00 EUR -
Malta 34,90 EUR 500 EUR
Macedonia 59,00 EUR -
Moldova 199,00 EUR -
Monaco 19,00 EUR -
Montenegro 99,00 EUR -
Netherlands 8,49 EUR 100 EUR
Norway 14,99 EUR 150 EUR
Austria 8,49 EUR 100 EUR
Poland 15,99 EUR 160 EUR
Portugal 14,99 EUR 150 EUR
Romania 15,99 EUR 160 EUR
San Marino 9,99 EUR 120 EUR
Sweden 14,99 EUR 150 EUR
Switzerland 13,99 EUR 150 EUR
Serbia 34,90 EUR 500 EUR
Singapore 199,00 EUR -
Slovakia 15,99 EUR 160 EUR
Slovenia 15,99 EUR 160 EUR
Spain (without Canary Islands) 14,99 EUR 150 EUR
Czech Republic 15,99 EUR 160 EUR
Ukraine Temporarily no delivery possible 129,00 EUR -
Hungary 15,99 EUR 160 EUR
USA including Hawaii 99,00 EUR -
United Arabic Emirates 199,00 EUR -
Cyprus 34,90 EUR 500 EUR
Qatar 199,00 EUR -
⚠️ Countries to which we unfortunately cannot ship, and information on how you can still order from us, can be found here!

 


Time of delivery

If not stated differently in the article's description, we deliver goods in:

  • 7-10 working days within Germany
  • 10-12 working days outside Germany

For orders paid in advance, the delivery time starts with receipt of the payment. Please keep in mind that there is no delivery on Sundays or on holidays.
For goods delivered as download, there will be no shipping fees due.
Access data for downloads are sent out via e-mail 1-3 working days after contract formation. For orders with advanced payment, we will deliver after receiving the payment. You can download the item by using the link sent to you via e-mail.

Self-pick-up of orders is not possible, unfortunately.