r/Operatingsystems • u/mac5499 • 5h ago
Wiping computer clean
I received refurbished desktop with no OS. I want to make sure it is truly clean and free of junk/spyware/virus before installing Linux....how can i check this?
3
u/PocketNicks 5h ago
Try a little warm water with a little soap to dampen a cloth. Should clean it right up.
2
u/doc_willis 5h ago
I tend to just write a new partition table using gparted, and repartition the drive as I want.
Making a new partition table will quickly (but not securely) erase the drive.
Depending on the type of drive, and how overkill you want to be, there are other options.
1
u/MathAndMirth 4h ago
There's not going to be any working malware if there's no OS. But if you're worried about what non-functional ( but potentially recoverable with forensics) things a previous owner might have left, you could wipe it with DBAN before installing Linux.
1
u/X-Nihilo-Nihil-Fit 3h ago
Don't be paranoid. Once you install Linux nobody can (or wants to) access your system.
1
u/TygerTung 2h ago
During the linux installation, it will partition the drive, and all the file headers will be deleted. Once this happens, any viruses will be effectively deleted, as they will not appear on the filesystem. The underlying data will remain until it is overwritten, but that underlying data cannot be accessed by anything, apart from special data recovery tools. So no need to worry.
1
u/guiverc 42m ago
I volunteered at a recycler, where we'd use DBAN to ensure the drive was 'clean' before the image of what provided on system was put on the system. You could use dban yourself - https://dban.org/
For a number of years I used to purchase refurbished drives; or just collect them from systems in trash piles, and practice my data recovery skills by trying to 'restore' whatever was on the drive before hand. Whilst most drives from recyclers usually had no easily/restorable data from them, those from rubbish dumps almost always had recoverable data (as folks just 'formatted' the drive which was easily reversed). I did nothing with that data; key to me was a drive where I didn't know what was there & thus was somewhat unbiased in my recovery; but once I knew what the PC was used for (such as office/business, home photos etc) I just wiped the drive myself wanting just practice with recovery. You could do that yourself, though for the wipe dban if you want to, or just creating a new partition table is usually good enough for me.
1
3
u/ALaggingPotato 5h ago
It's no OS man, there's nothing on it...