this post was submitted on 11 Nov 2023
136 points (97.2% liked)

Linux

48178 readers
1096 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I just discovered something I did so idiotic I need a stronger adjective that what is in my name.

For one of my installs, I accidentally overwrote my 1TB HDD. A few minutes ago I wanted to put back some files... and all I saw was a distro.

It confused me because I was not sure if I was on my solid state drive or the HDD.

So, those files are gone. A lot is gone. Nothing too precious, I think... It might be a tremendous fuck up.

See kids, this is why you back up. Off the computer. Oh well.

EDIT: Recovering files using Photorec. Everyone who recommended this to me is a hero. Also a hero is the person who recommended FTK, but I was too eager to use something now than to sign up to download. I still should though...

you are viewing a single comment's thread
view the rest of the comments
[–] Starbuck@lemmy.world 7 points 1 year ago (1 children)

It sounds like you need to learn about disk forensics before you go any further. Check out FTK

[–] DidacticDumbass@lemmy.one 6 points 1 year ago (4 children)

Hah, I don't think I illustrated how dumb I am. I deleted the partitions already.

[–] Starbuck@lemmy.world 9 points 1 year ago (1 children)

Unless it was encrypted, it prob doesn’t matter. The partition table is just the road map that points to the houses (files). A tool like FTK or PhotoRec goes byte by byte to find the files and figure out what they are. You won’t have file names, but the data might still be there.

[–] DidacticDumbass@lemmy.one 6 points 1 year ago

I got it running now! I did not have that much to recovery, so everything will fit in home. Mostly word files, PDFs, and pictures. Few movies and music.

[–] static_dragon@lemmy.zip 5 points 1 year ago (1 children)

Oh, I’ve nuked partitions in the past before, and was able to recover using photorec, when doing it, just make sure you don’t save the files to the drive you’re running recovery on

[–] DidacticDumbass@lemmy.one 3 points 1 year ago

Good tip! I... would maybe have realized that would worsen the situation.

[–] Starbuck@lemmy.world 3 points 1 year ago (1 children)

Also, all of us have done things because we didn’t know better. The only dumb thing to do here is to not learn how to fix this. Try and fail, so next time you know how it works and can do better.

[–] DidacticDumbass@lemmy.one 1 points 1 year ago

Thank you! This is just my way of laughing at the situation. I am definitely learning some new skills like data recovery and critical thinking.

[–] snowe@programming.dev 1 points 1 year ago (1 children)
[–] DidacticDumbass@lemmy.one 1 points 1 year ago