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

Linux

48230 readers
876 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
[–] Chais@sh.itjust.works 52 points 1 year ago* (last edited 1 year ago) (6 children)

Accidentally flashed a live image (PCBSD, IIRC) onto my 1TB external HDD instead of the thumb drive. Lost years of collected music and movies that night. I learned two things:

  1. Don't do this sort of thing in the middle of the night, when you're tired and should be sleeping.
  2. dd is nicknamed 'disk destroyer' for good reason.
[–] CaptDust@sh.itjust.works 23 points 1 year ago (1 children)

😵‍💫 the 3am tinkering, it calls to me 😵‍💫

[–] LostXOR@kbin.social 30 points 1 year ago (2 children)
[–] BlueEther@no.lastname.nz 3 points 1 year ago

Not done it at 3am but have dd'd to the wrong disk late in the evening, possibly after a few vinos

[–] flashgnash@lemm.ee 1 points 1 year ago

Fortunately my laptop only has nvmes built in, so 99% of the time all 3am me has to do is not type nvme and I'm good

[–] onion@feddit.de 9 points 1 year ago
  1. Disconnect all other drives
[–] cmnybo@discuss.tchncs.de 8 points 1 year ago (1 children)

When using dd, check the command before pressing enter, then check it again for good measure.

[–] MonkderZweite@feddit.ch 2 points 1 year ago

then replace dd with cat or cp.

[–] MonkderZweite@feddit.ch 4 points 1 year ago* (last edited 1 year ago)

... no use in dd to write an image to disk. Just use cat/cp/pv...

dd is a scalpell, not a shovel.

Useless use of dd

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

Oh, am I talking to myself? Hah.

Yeah, I wish I had all the stuff I torrented in high school. Lost treasure.

[–] techwithjake@lemm.ee 4 points 1 year ago* (last edited 1 year ago)

Late to the party but this why I like Ventoy. It only looks for removable drives and then all you do is drag and drop your live images onto the removable drive. Pretty hard to mess anything up.