What have been your costliest mistakes in using Linux?
For me it is not recording credentials with the assumption I would simply remember them later, while having every opportunity to archive them before eventually forgetting. Also, not keeping detailed enough notes & photos of exactly how my hardware is attached.
I once reset a computer and forgot I had a Bitcoin wallet on it. So I reset the drive and forgot to keep the home partition.
It had multiple Bitcoin back when it was less than 10ish. Mined with a bunch of people for the fun of it. Thought nothing of it until recently lol. That hard drive died a long time ago and is in some dump somewhere. I guess I helped keep the price for everyone else. So your welcome?
Before using dd, I prefer to run lsblk first so that I can see what each disk is called. Before pressing enter, I also double check the names with the lsblk output.
i love the raspberry pi imager for that reason. i don’t want no balena etcher stealing my data, but a gui is very convenient for flashing isos, so raspi imager it is! (works for any iso you want)
I installed Ubuntu back when that was popular, and insisted on having all the graphical bling, like 3d cube that would spin to change desktops. And windows that shook like jello when you moved them.
Of course all this messing around by an amateur did nothing for stability and after 3 or 4 frustrating issues I went back to Windows.
One time I've lost around 200gb of data, by accidentally removing a folder, instead of its symlink. Didn't have backups either, but it wasn't anything I couldn't get again
Me, finding out this exists after buying a used sff HP pc and wondering why it won't display out to any new monitor unless I unplug and plug the power cord: 💀
Luckily (or not so luckily), I was able to turn off the HP "security feature" from the bios. The pc came from a former school fleet of sff pcs
Using topgrade without realizing what I was doing. Seemed okay for a few days until my headphones suddenly jacked to 1000 and began some sort of alarm-like buzzing. Thankfully they were not on my head, because it was so loud my gf and I thought there was some sort of fire alarm going off. This was on EndeavourOS.
I tried topgrade again, not knowing that the app was what had done it. This time on vanilla Arch. I was not so fortunate this round and I took the sound full blast into my earholes. I reacted in milliseconds and Hulk-smash threw them halfway across the room. No lasting damage since I was so quick, but fuck me wearing headphones is more dangerous than I thought.
Luckily I've learned from past mistakes and made Timeshift restore points before every update. I reverted to before the topgrade changes and my distro has still been holding strong since then. I think I'll make my own alias for full upgrade and call it updawg.
Hibernating my computer and then forgetting about it and booting into a different OS (Fedora Silverblue) on the same partition (BTRFS subvolume stuff). AND THEN TRYING TO RESUME THE HIBERNATED OS (Arch btw).
my filesystem was pretty much unrecoverable and it was my fault
There might have been some delayed writes on Arch, but that's no the main issue.
When booting into Fedora and running an update, the state of the filesystem changed to the point that when resuming Arch, it put the filesystem into an extremely inconsistent state (where the Arch system might have cached (meta)data that was changed since hibernation).
Also, to clarify, I still managed to recover my data, but the FS was not mountable and btrfsck couldn't do shit.
And I'm still using that Arch install to this day. XDDD
When I first installed linux I set up a dualboot because I still had data on windows. A week passes, I get cocky, I customize the grub loader, somehow nuked the windows install in the process because (unbeknownst to me, I was installing a new bootloader on the linux drive) I ran some commands off the stack exchange. When I went to my windows drive the C part was gone-gone, I had documents on that C drive. Said to myslef "I guess I have a free drive now" and never looked back.
Those documents were important, no backups. Time, nerves and money consuming to get them again.
Not Linux, but OpenBSD. I got a sun ultra 5 for free so I decided to make a router out of it. After some research OpenBSD looked like the best option. I bought a pf book and started writing configs. After about a week I had a really nice router that did exactly what I asked it. This was back in the early days of xbox360 so getting all of the port forwarding right was kind of a pain since we had three of them connected in our apartment along with all of the computers. Then the harddrive crashed and I hadn't made any backups. That was a lot of work down the drain.
I bought a National Instrument's data acquisition card (PCIe-6535B) not knowing that National Instruments is not very Linux-friendly and I was not able to get it working. At least it was a used card so I did not pay to much for it, but I learned my lesson not to assume compatibility.
Once I also used 'rm -rvf *' from my home directory while SSH'd into a supercomputer (I made a syntax error when trying to cd into the folder that I actually wanted to delete). I was able to get my data restored from a backup, but sending that e-mail was a bit embarrassing 😆
When installing arch, I wanted to kill my old drive. So 2 times in a row, I forgot to look up my drives Name, and proceeded to wipe my USB stick with /dev/random. 2 times.
Probably trying to share a Stream drive between Linux and Windows. Trying to run games from NTFS just didn't work and resulted in all kinds of weird issues. I was close to giving up on Linux but after I switched to an ext3 partition things just started working :|
back around 2013 I was working on a school project, did the ol' get out my laptop without putting on my glasses bit, and ran "rm -rf" on the wrong folder because the characters sorta looked similar to my farsighted eyes.
Since I didn't make backups, that was a few weeks of work down the drain.
Encrypting a drive with Linux, then encrypting a VM within Linux with my Bitcoin wallet information in it, which I was gifted 5 bitcoin before it was popular and just forgot about it. I was 13 at the time and didn't know what I was doing. Lost all my passwords, or I might have even just wiped my entire drive. Got a pile of hard drives to go through and see which one has Linux on it, but that's only the first step.
I wasted a few hours, trying to make some flatpak apps do as I wanted, before I understood how flatpaks works, and why they are not always a good solution.
Not costly in anything but time, but I tried to crossgrade an i386 server to x86_64. Eventually it got broken enough that I restored from a backup and just rebuilt a new server from scratch in a VM to replace it.
I installed some library from sources on my working laptop, and it stopped booting lol. Had to change my laptop for the newer Thinkpad, because you cannot insert into working devices any flash drives to boot from and fix the system.
It hasn't cost me anything, but was pretty funny
I'm actually amazed I haven't had any costly mistakes yet considering I'm the kind of person to say "it's just dd, what's the worst that can happen? it'll be fine no worries". Since I've installed Arch a year ago I've been constantly expecting to catastrophically break something... and my system is still running, somehow. It's very perplexing.
Right... sure... erm... of course I do, obviously 😅
Actually I always mean to do it but I keep forgetting... Recently I've resigned myself to the fact that I'll never remembering to do it so I've been trying to set up an auto-sync to my NAS with rsync and inotifywait so I won't have to ever think about backups again... But I really suck at coding so it's not going too well 😅
Sometimes I forget why I did something and undo it. Then, when I remember, I hope I made a text file documenting what I did to begin with. If not, back to search.
In my case it didn't even need sudo to ruin my day. I wanted to delete a temporary directory in home by typing rm -r ~/ tmp. See how a space snuck in between the slash and tmp? Yeah, great day that was.