Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [secure-erase]

Secure erase is the practice of erasing content in such a way that it cannot be (easily) restored.

-3
votes
2answers
158 views

How to write zeros in one pass to free space on FAT32 drive?

Most people will think either using dd or sfill to usually wipe free space with zeros... however, the limit with FAT32 drives are that the largest file size can only be 4 GB. How can I create ...
0
votes
1answer
48 views

Shrink tool vs SHIFT+Del on SSD

Since we all know the general rule about random writing on SSD disks, I was wondering if shred command makes any sense on Ubuntu running on an SSD disk. If shred reports fake result that it has ...
0
votes
1answer
402 views

hdparm secure-erase error: “ERASE_PREPARE: Invalid argument”

(Although I'm playing with fire, please pitch advice to a Noob... Thanks) Now then, Trying a low level format of a 2TB damaged HDD so that it can use SMART to self mark bad sectors/blocks. ...
1
vote
3answers
521 views

Securely erase encrypted HDD?

I have an old computer running Lubuntu, and I want to give it away. Before that, I want to make sure none of my data can be recovered from the hard drive. I tried doing this using shred and dd from ...
0
votes
1answer
89 views

Safely remove contents from .Private folder : Ubuntu 16.04

I have a problem with my growing .Private folder. I want to keep the encryption going but want to remove the stale copies of the files under .Private folder in my home directory. 1) Is it possible to ...
1
vote
1answer
158 views

What is the accelerate method of free space wiping with random fill?

I am currently using sfill to wipe free space in my root partition ( /dev/sdaX). Its default setting is a 38 pass sudo sfill -v directory/mountpoint but its taking hours to complete this step. I then ...
1
vote
1answer
974 views

Wiping free disk space by deleting large amount of files regularly?

I was looking for a better way to securely clean free space in my ubuntu system. I found this link and there are some valuable advices to wipe free disk space. I have tried bleachbit method with free ...
2
votes
2answers
2k views

secure erase with hdparm - can still see file content

I downloaded latest stable Ubuntu (ubuntu-16.04.3-desktop-amd64.iso image that I double checked for authenticity) and used it to boot my new Win10 system which I wanted to wipe. I followed the ...
3
votes
2answers
3k views

How to know the progress of sfill free space wiping process?

I want to wipe free space in my ubuntu partition and after a search found this sfill software which I installed using sudo apt install secure-delete Then I have used this command to wipe free ...
0
votes
1answer
303 views

Which partitions and in what order should I shred

I am selling my old laptop and I do not want my data to be recoverable with recovery tools. I found this post How to wipe a hard disk completely so that no data recovery tools can retrieve anything? ...
1
vote
1answer
101 views

ubuntu install to erase harddrive

I bought used Asus Eee 1101HAB on Ebay running Windows XP and want to erase everything from the previous owner and run Ubuntu. Can i install Ubuntu in a way that will erase or wipe the hard drive in ...
1
vote
0answers
212 views

secure-delete, “Warning: Couldn't find a free filename for X”

I want to use secure-delete to securely delete folders/files and I did the following test: mkdir foldertest echo "something" > foldertest/filetest.txt srm -rv foldertest/ here the results: Using ...
0
votes
2answers
416 views

How to completely delete a file, so that data recovery softwares can't recover it? [duplicate]

Deleted files can be recovered using recovery programs, is there any way to completely remove the files?
1
vote
1answer
343 views

Sfill caused a disk max capacity error to show [closed]

The ooooooo.ooo created by sfill is now larger than my root directory. Can i let it run or do i need to cancel it and make a larger root partition?
2
votes
1answer
372 views

What is the difference between the -f and -l options of secure-delete srm?

Regarding the secure-delete command in Linux, what is the difference between srm -f, srm -l and srm -fl ? Which is fastest? Which is most secure?
1
vote
1answer
879 views

Overwriting the whole disk with zeroes (bad sectors)

I found bad sectors on my usb external drive and so I want to perform a full wipe overwriting the disk with zeroes. I found this command: sudo dd if=/dev/zero of=/dev/sd<disk-letter> bs=8M ...
4
votes
2answers
795 views

How can I shred all disks but /dev/sda and log the output to a file?

I'm trying to make one command that will take all drives that are not sda and run shred on them and dump the output to a log file. So far I have find /dev/ -name "sd?" -not -name "sda" -exec [shred -...
0
votes
0answers
422 views

Securely wipe RAM before shutdown

I want my machine to wipe RAM before every shutdown, so I can prevent cold-boot attacks. I read How to wipe RAM on shutdown (prevent Cold Boot Attacks)?, but I don't know at which version of Ubuntu ...
9
votes
1answer
6k views

How to securely wipe files from SSD drive?

When trying to securely wipe SSDs, we have several problems: SSDs wear out after a limited amount of erase cycles SSDs have a controller that dynamically maps LBAs (logical block addresses used by ...
9
votes
5answers
4k views

What happens when I use 'dd' to overwrite the disk from which Ubuntu is running?

What would happen if I use sudo dd if=/dev/zero of=/dev/sda from an Ubuntu install running from /dev/sda? I tried it in a VM, and it appears to correctly have wiped the disk. Will this be the case ...
1
vote
1answer
592 views

File contents remains on disk after securely erasing it

I have tried wipe, shred, srm, peazip's secure erase, etc. No matter with what options I securely erase the file with all those utilities and then do a search with a hex editor on disk, the contents ...
3
votes
2answers
440 views

Is it insecure to to have a password on the clipboard?

So I've been using truecrypt for several years now. About 6 months ago before I learned off my password (it was really long and I didn't want it vulnerable to word-lists) I used to copy and paste it ...
0
votes
2answers
5k views

secure erase returns input/output error

I've already given a detailed description of my predicament in my previous question. Now I've got this: sudo hdparm --user-master u --security-erase my_password /dev/sda returns: ...
2
votes
0answers
37 views

Force all deletes to be secure

I have setup an Ubuntu Server for my university project. Aside from full disk encryption I also intend to use Dafturn Ofris (a Linux deepfreeze) to make file recovery difficult or for any forensics ...
4
votes
2answers
5k views

GUI tool to securely overwrite whole hard drive

My friend has a Windows laptop that we want to totally wipe and then turn over to a hardware technician (whom we don't trust with the data on the hard drive.) I want to securely wipe, rather than ...
1
vote
2answers
84 views

How do I wipe my USB properly?

USB - 16GB - Had viruses Nwiped USB...didn't complete. Used DoD Short method. Didn't complete Now I can only read 16MiB of USB fdisk -l /dev/sdb Disk /dev/sdb: 16 MB, 16777216 bytes 255 heads, ...
0
votes
1answer
39 views

Erase windows 8.1 installation [duplicate]

My primary operating system is Ubuntu 14.04 lts and then I installed windows 8.1 in another partition. Now, I don't need longer windows installation. Can I just erase the windows files and reformat my ...
3
votes
2answers
201 views

How to erase Ubuntu

My company purchased an Ubuntu computer we are returning due to hardware issues. How can I erase my account? I was going to erase the user will this be sufficient. These guys are honest businessmen ...
1
vote
0answers
210 views

Linux live USB with working sleepmode searched for secure erase SSD

I want to secure delete a SSD drive. I tried to perform the secure delete order with hdparm, but the drive is frozen. Loading the Samsung bootimage lead to the same result: The dialogue says the ...
5
votes
3answers
8k views

How to securely erase hard drive with ubuntu live cd? [duplicate]

I want to sell my old SSD on EBay. How do I prepare the hard drive to protect my personal data and get the hard drive in a good shape using an Ubuntu live cd?
11
votes
1answer
14k views

I need to run a security erase tool on my drive

I downloaded Hirens Boot CD and it just stops and says "No PXE" or similar. So that is obviously a stumbling block and I can't afford to keep downloading on the basis that it may be a bad download. I ...
15
votes
4answers
76k views

How can I completely erase all data on a (micro) SD card?

I just got a micro sd card that I plan on using with the Raspberry Pi. I used the KDE partition manager to delete the original partition on the card and to write a new 12GiB ext4 partition. After ...
2
votes
0answers
109 views

What Does the Verbose Output for 'Wipe' Mean?

This is in regards to the actual "wipe" command. I've looked through the man page and not gotten an answer. I've been unable to find any documentation online which explains what the verbose output ...
1
vote
1answer
777 views

How Can I Combine 'SRM' and 'Find'?

I'm using SRM to securely delete files and directories. Most of the data is on FAT and NTFS volumes since I dualboot with Windows (I'm trying to use Ubuntu as much as possible and stay away from ...
34
votes
3answers
114k views

Securely erase hard drive using the Disk Utility

I am planning on selling my laptop. So I formatted my disk using the Disk Utility and chose to overwrite the disk with zeroes. Two questions: Is this the same as overwriting the disk using dd? sudo ...
11
votes
4answers
53k views

Where are ALL ubuntu logs/terminal history stored

In what folders are the logs and key histories stored so that I may make a script to purge them. Is there a specific folder for the hibernation partition or a file by which it keeps the RAM data on ...
4
votes
1answer
6k views

How to use BleachBit to remove completely any selected file or folder?

The BleachBit website states that the program can "Overwrite specific files found anywhere on the hard drive". Can I select a file and shred it with BB or do I have to delete it first the normal way ...
7
votes
2answers
8k views

Is there a GUI program to securely delete files and folders? [duplicate]

I see there's a lot of info in the answers to this question. I have used such CLI commands added to the context menu of the file manager (mostly Thunar's custom actions, which I favour over Nautilus, ...