this post was submitted on 30 Oct 2023
36 points (100.0% liked)
Linux
48193 readers
1387 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I’m probably too paranoid to use someone else’s old storage media, but if I did I suppose I’d erase any existing partitioning, create a new partition (or multiple if you wanted them for some reason) and go to town.
Curious to hear if anyone has better best practices than that.
Firstly, I'd check if there are any firmware updates for the drive and install them. Then I'd run a full disk scan/diagnostics using the manufacturer's diag tools - eg Samsung has their HUTIL software, Seagate has Seatools etc. The scan should also pick up any bad sectors or other issues with the drive. Finally, I'd do a full wipe - either a DBAN single pass, or if I'm within Linux then I'd just write zeros using
dd
. Wiping the entire disk isn't really necessary, but I just feel like it gives me that "new drive" feeling - otherwise you'd be stepping over someone else's 1s and 0s, and that just feels gross.Yeah agreed