Tinkering is all fun and games, until it’s 4 am, your vision is blurry, and thinking straight becomes a non-option, or perhaps you just get overly confident, type something and press enter before considering the consequences of the command you’re about to execute… And then all you have is a kernel panic and one thought...
Yeah, a very unfortunate one: probably, the most painful to recover from. I’d just reinstall, honesty 😅 At least with mine I could simply add the necessary stuff from chroot or pacstrap and not spend a metric ton of time tracking all the files with incorrect permissions
Daaem, I guess the poor dude at the receiving end did not consider it particularly fun. Well, at least they had sbin working, so probably possible to recover without a live cd. Huh, guess who’s now spinning up a VM to check it out 🤣
Checked it out: on arch that results in inability to run tty on reboot, then you’re dropped into initramfs’s rescue shell where you can simply +x new_root’s /usr/bin/* and be back up and running
You can dump the permissions from the working system and restore them. Quite useful when working with archives that don’t support those attributes or when you run random stuff from the web 😁
Oh, I just remembered another one or three. So, resizing the partitions. My install at the time had a swap partition that I didn’t need anymore. Should be simple, right? Remove the partition and the corresponding fstab entry, resize root, profit. Well, the superblock disagreed. Fortunately, I was lucky enough to be able to re-create the scheme as it was, and then take my time to read the wiki and do the procedure properly (e2fsck, resize2fs and all that stuff).
Some people I’ve met since, unfortunately, weren’t so lucky (as far as I remember, both tried to shrink and were past mkfs already) and had to reinstall. The moral is, one does simply mess with superblocks; read the wiki first!
You mean you’ve removed the service partitions used by windows and grown the main one into the freed space? Than yes, it’s not the way. 'Cause creating a new partition instead of growing the existing one shouldn’t have touched the latter at all :/
Been there with sudo. Fortunately, su still works, as well as going to another tty and logging in as root. Well, as long as the root login is enabled; otherwise that old hack with init=/bin/bash may work, unless you’ve prohibited editing kernel cmdline in the boitloader or decided on efistub
I’ve always just used konsole or gnome terminal. Never really looked into what else is available. Tried cool-retro-term the other day, but the novelty wore off pretty fast for me....
Contour currently, but might consider that new one by the cosmic team. Contour is a bit minimalistic like alacritty or foot, yet it ligatures (a weird dealbreaker of mine). Goes well with zellij (pretty neat stuff, if u ask me, although breaking sixel is unfortunate, but they’re working on it).
Used to use kitty and weztetm, the latter was overall less confusing (generally faster, no need to use quirks for ssh). And then wezterm broke on Wayland :D
Kent right here talks about how Linux related companies need to focus on putting their resources towards collaborating and helping big companies port their software and THEN introduce open source software to new users instead of remaking desktop environments, pushing companies away, and overall doing the same thing over and...
Meh, idk tf he says he understands. Like “make [ported adobe CC] popos-exclusive”: sure, big brain, how’s that supposed to work, exactly? Or “there are 3 desktops ppl GAF about”: riiiight, me along with other wm users aren’t ppl anymore, apparently.
The whole video pretty much boils down to “I don’t need X, hence nobody [«meaning the vast majority of ppl»] needs x”. By the same logic, the “vast majority” doesn’t need CC either, it’s mostly necessary for professional designers, etc 🤷
I mean it’s probably possible to choose the windows route and go “we make one steaming pile of garbage that kinda works everyone but perfectly - for nobody”, yet linux distros so far have been pro-choice and pro-customization. You want “just works”? Sure, go with X, Y, and Z distros. Wanna something specifically tailored for your workflow? You may start with the same and replace/modify stuff, but also I, J, and K are a great base to build your future setup from the ground up and avoid banging your head against the wall while figuring out what drugs their devs were on. And the same goes for DEs/WMs: gnome is, gnome also works, yet if you want to change it significantly, you’ll either have to mess with extensions or maintain a fork of a huge codebase you don’t fully understand and most of which you don’t exactly need. So, building from scratch may just be an easier solution.
Technically, you can also PR, yet it can easily be rejected, and then you’re back to forks.
Well, technically, you can kill both your dog and your children. With some consequences, that is. Humans are generally considered more valuable than dogs, hence the consequences are more severe.
Cooking (lemmy.world)
What's (are) the funniest/stupidest way(s) you've broken your linux setup?
Tinkering is all fun and games, until it’s 4 am, your vision is blurry, and thinking straight becomes a non-option, or perhaps you just get overly confident, type something and press enter before considering the consequences of the command you’re about to execute… And then all you have is a kernel panic and one thought...
We aren't gonna like this one.. (lemmy.world)
ifn't (programming.dev)
Which terminal emulator do you use?
I’ve always just used konsole or gnome terminal. Never really looked into what else is available. Tried cool-retro-term the other day, but the novelty wore off pretty fast for me....
This guy has a good take on linux companies, agree or disagree? (www.youtube.com)
Kent right here talks about how Linux related companies need to focus on putting their resources towards collaborating and helping big companies port their software and THEN introduce open source software to new users instead of remaking desktop environments, pushing companies away, and overall doing the same thing over and...
Two moods (ukfli.uk)
[Translated] How I spent summer. Essay. (treebrary.pone.social)
How I spent summer. Essay....
Why is my sister's name Rose? (lemmy.world)
here's what i would look like if i was black or chinese (feddit.de)
Re: Why don't people fight for their pirating rights? (www.reddit.com)
i was just banned from reddit for 3 days for “threatening violence” in this comment...
Heartburn is not the only punishment you'll receive (sh.itjust.works)
Oil is oil guys (lemmy.today)
How to use the Linux kernel's live patching feature (wirekat.com)