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.
Linux
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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
It always involves
sudo rm -rf *
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.
Bought a Samsung mini laser printer and found that it is Windows only. I gave it to a neighbour.
This is a bit late since you've already gotten rid of it but there IS s Samsung unified Linux driver for printers.
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
Good to know
My theory for what happened is:
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 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.
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.
I don't think I've ever lost more time than I've gained in knowledge from the mistakes, if that makes any sense.
Never lost any money with linux.
DE hopping/Switching to a new Distro without testing it in a VM
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.
You do backup important data, right?
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 😅
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.
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
.
I tried to enroll secure boot without understanding what I'm doing. I locked myself out of the motherboard.
Also when you accidentally create a directory called '~' the command rm -r ~
is not the right one...
I feel like you can be a long time linux user and muscle memory can get you with the rm -rf ~
...
Also when you accidentally create a directory called '~' the command
rm -r ~
is not the right one...
Ughh ! That one is nasty !
I tried to enroll secure boot without understanding what I'm doing. I locked myself out of the motherboard.
Also when you accidentally create a directory called '~' the command rm -r ~
is not the right one...
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 😆
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.
Bluetooth didn't work on my laptop. Got new bluetooth card (exact same type). Bluetooth still didn't work.
Turns out:
- The specific card doesn't support Linux.
- My laptop has a hardware whitelist in the BIOS that prevents me from installing any other card.
- My headphones don't support USB bluetooth.
Hardware whitelist is unholy
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
None, using Linux never been a mistake, every mishaps is a learning process
Yep no mistake, I TOTALLY MEANT TO DO THAT !
Upgrade my PC. I put new parts in but I dont notice any real gains because my system was already running well.
My most costly mistake was probably installing gentoo on a Chromebook. That took so long and was both fun and extremely frustrating. It was working but now I'm getting these weird drive errors because the entire thing is loaded on an SD to avoid using the Chromebooks 15gb internal storage.
Buying a Framework 16. Never again.
Why? If nothing else, don't they hold their value really well?
Elaborate?
Mostly USB unreliability. But also build quality.
I am also curious
me too
distrohopping. timewaster.
dd if=fedora.iso of=my ssd instead of flash drive :’(
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)
Now you know why it’s called the Disk Destroyer.
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.
TIL about using lsblk
instead of just reading through the output of journalctl
to find the disk and partitions. Thanks!
Glad I could help! This command is just so much nicer.
Always triple check dd
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?
Oh god!