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...
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.
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.
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.
Its possible using homedir backup etc. Or on Fedora Atomic simply switching desktops. But yeah Desktops are all over the place, having a ~/.kde folder where EVERYTHING is stored would be great.
I got started in Linux about 15 years ago. I'm not skilled nor a techie but knowledgeable enough to make things work. After running endless cracked windows machines I switched to Linux and started distro hopping. But I didn't have enough money at the time to afford a lot of hard drive space.
I remember going from one distro to another while trying to transfer a couple of GBs worth of work on the same drive. Two GB of data was a big deal to me at the time. At one point late one night after about the tenth distro attempt, I wiped an entire drive worth of my unbacked up work. Worst moment of digital loss I ever had.
I've kept double triple and quadruple backups since then .... and I still worry about losing data.
I tend to be pretty cavalier with my data, because only recently have I started amassing anything of value (starting to be the adult I needed to be 10 years ago).
Yes... I have some storage shopping to do.
It was waaay past midnight when I made my mistake. I should have been sleeping at least 3 hours before.
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.
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
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.
I put my home directory on another partition, because I heard very early on that it can better facilitate distro hopping. That is not the stupid part, that's actually good advice.
The stupid part was assuming that Linux users are identified by name, and that as long as I create a user with the same name as the one on my previous install, things would Just Work.
Im reality, Linux users are integer IDs under the hood. And in my original system, my current user at the time was not the first user I had created on that system. Thus, when I set up my new OS, mounted the home partition, and set the first user to have the same name, I was immediately unable to log in. The name match meant I was trying to read my home dir, but the UID mismatch was telling me I had no permission to read it. I was feeling ballsy with the install and elected to not enable the root user, so I had an effectively bricked OS right out of the box.
I'm sure there was some voodoo I could have done to recover it on that attempt, but I just said screw it and reinstalled.
There is a way to recover it. You can use a root shell aka recovery shell (usually available through your GRUB menu) to change the permissions on your home directory. But just reinstalling was probably easier anyway.
All you really would've need to do is update the ownership via root user, which you can actually do from the installer. Kinda funny cause you already went through the process of mounting and running the installer, so you were already there.
Appreciate the good humor on your part! I’m just being a bit tongue in cheek but PSA: everyone should follow 3-2-1 backup protocol! You’ll never lose your data again!
3 backups
2 formats
1 off-site
So I recommend everyone get 2 decent HDD’s (2nd is clone of 1st) and 1TB of cloud storage. Most services are under $100/yr and let me tell you, you’ll want to spend 5x that to save half of what you lose without it. It’s easier and cheaper than ever to follow this system.
I wiped my drive with a lot of non-backed-up data on it intentionally because the Fedora installer was too confusing. Lost among other things my Celeste and Minecraft saves, a lot of images, and other stuff with sentimental value.
Damn. I am sorry for that loss. I agree, I am always boggled every time I use the Fedora installer. I don't know how I clicked the wrong disk. I didn't read close enough, or I don't know.
I hope the new things you make are better than what was wiped.
Tbh I don't even remember much of the stuff that I lost anymore. I had a lot of images, a legally downloaded series, a good amount of legally downloaded music that I keep forgetting I don't have on my phone, the aforementioned game saves, and I don't remember more rn. I was luckily more creative during school so the more important stuff (Siberian sniper crocodile) was on another device.
Personally, I keep the redundant backup as cold storage to minimize loss. Three 8TB content or archival drives that are always attached via USB but not powered until needed, plus another on NAS for streaming, and two more 8TB each for double backup that are only turned on when I want to do a sync. So the drives get minimal wear, and whenever a primary dies, the backups get promoted and a new one is bought to be third in line. I have lost too much data in the past. As well as I can manage, never ever again.
Yes! I am becoming more careful. I am definitely getting deeper in my knowledge of programs and linux. The stuff to learn is immense. But, it makes my life so much better.
Nothing special, I just kept distrohopping and backing up my home folder to a seperate drive each time via rsync. Eventually I messed that up somewhere, some data was lost. I think that was early this year.
Nothing to major, bit of a nuisance is all. And a grim reminder that eventually you WILL mess up. It's just a matter of time really. So try to minimize the factors that lead to mishaps like distrohopping and be diligent with your backups.
dd'ed an ISO onto the system drive instead of a USB stick. Luckily, the first partition was the Windows one, so not too important; and the rest I recovered from the GPT backup table.
I tried dual-booting Manjaro from my Ubuntu install, since VMs were slow on my machine at the time and I wanted to give Manjaro a try.
Manjaro wouldn't boot (X11 sessions crashes on boot), and then when I returned to Ubuntu, I got dropped straight to the GRUB rescue shell because I had shrunk the partition from the Manjaro installer, and it had fucked up the Ubuntu install :/ so instead of two OSes I had none
I feel like I have done that too, but long time ago. I always got confused with dual booting. I get weird trying to calculate how much to space to give each partition.
Wrecked my first Ubuntu install over the course of 2 years, wanted something new and tried Arch. The 4th time pacman wrecked my system I moved to Fedora at around F20 and have been happy ever since. I tried Gentoo in there somewhere, and managed to install it, but just the install burned me out. That was back when the Sakaki guide was one of the only ways to install on UEFI except with Fedora.
I would say my biggest mistake was not understanding the scope of Linux and that something like Arch and Gentoo are more for a CS grad student level of user.
I have a much better understanding of operating system design principals and architectures now, but I still prefer Fedora, really because the Anaconda system, Nvidia kernel driver build system, and UEFI shim are the best system for Linux I have encountered. The bootloader is one of the largest vulnerabilities in modern computers.
i hopped way to often for miniscule diffrences.
i now know, what de i want, i dont care about the package managers.
i prefer fresh fresh packages with access to nonfree stuff (fuck you nvidia), unless its a server.
the rest just doesnt matter.
i stressed out way to much about diskspace, to splitt home into a seperate partition, when it would have made the occasional reinstall so much easier.
roling release distros are overrated,
just use latest.
normal updates broke my roling distros fare more than an occasional version upgrade.
Debian based, arch based, rhel based are all somewhat different and have different package managers (with flatpak, appimage and snap that might be less important nowadays though)
Nobara comes with all the stuff for gaming, not everyone who uses Linux knows exactly what they need to install themselves
NixOS is fantastic and drastically different from all the others
NixOS, silverblue, vanilla are all immutable which makes a massive difference
Also not everyone wants to install their own DE, so if they want something like cinnamon, pantheon, KDE they need a distro that comes with it preinstalled
You are right. I was happy with linux mint, and before that MX Linux. This is all just bike shedding. I spend a lot of time setting things up Hell, I spend too much time just downloading crap because I have not bothered to make a script that would automate installation of the apps I use.