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…
THANK YOU EVERYONE who recommended PHOTOREC! This community is fantastic.
You might be able to rebuild your partitions with testdisk, too. Work from a backup.
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:
- Don’t do this sort of thing in the middle of the night, when you’re tired and should be sleeping.
dd
is nicknamed ‘disk destroyer’ for good reason.
When using dd, check the command before pressing enter, then check it again for good measure.
… no use in dd to write an image to disk. Just use cat/cp/pv…
dd is a scalpell, not a shovel.
Before you perform another task on that hard drive, try photorec. You might be able to get a majority of your files back if they’re important
I remember shortly after college I was living with a couple of people and one day we all heard “NOOOOOOOOOO!” and went running to see what tragedy happened. He had started formatting the one porn drive he had been collecting on over the last few years.
I’ll never forget that scream, I thought a sound like that was reserved for when the cat ran behind the couch and stepped on the surge protector button, corrupting the hard drive as you were almost finished writing your graduate thesis, which wasn’t backed up yet.
Honestly a thesis is way higher stakes and value. Yeah, imagine thinking there was an emergency only to find out your roommate will need to spend the rest of the semester using their imagination.
Make a donation to the testdisk author!