linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

carcus, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?

Learned about the importance of trailing slashes in rsync by using the -delete flag.

Quazatron, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?
@Quazatron@lemmy.world avatar

Found out the hard way that if you edit /etc/sudoers with anything other than visudo you best be absolutely sure the syntax is correct, otherwise sudo will refuse to read it and you’ll be locked out.

Also learned to add -rf to the rm command at the end, after I re-read it to make sure it does what it should do. Something like rm /path -rf instead of rm -fr /path. That protects you from your fat fingers hitting the enter key half way through.

fl42v,

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

Quazatron,
@Quazatron@lemmy.world avatar

IIRC the root account was disabled (with no password), so I resorted to my trusty SystemRescueCD pen to fix things. Never leave home without it.

sxan, in I'm addicted to caring for my Linux distro, polishing things, optimising stuff it's so funny! Got some stories like that?
@sxan@midwest.social avatar

You might like to consider a job in system administration. It’s like that, only with the added hell of users.

INeedMana, (edited ) in What's (are) the funniest/stupidest way(s) you've broken your linux setup?
@INeedMana@lemmy.world avatar

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 bouncing in your head: “damn, what did I expect to happen?”.

Nah, that’s when the fun really starts! ;)

The package refused to either work or install complaining that the version of glibc was incorrect… So, I installed glibc from Debian’s repos.

:D That one is a classic. Most distributions don’t include packagers from other distros because 99% of the time it’s a bad idea. But with Arch you can do whatever you want, of course

My two things:

  • I’ve heard about some new coreutils (rm, cp, cat… this time the name really fits the contents :D) and I decided to test it out. Of course it was conflicting with my current coreutils package and I couldn’t just replace it because deleting the old package would break requirements. So without thinking I forced the package manager to delete it “I’ll install a new one in just a second”. Turns out it’s hard to install a package without cp, etc :D
  • I don’t remember what I was doing but I overwrote the first bytes of hdd. Meaning my partition table disappeared. Nothing could be mounted, no partitions found. Seemingly a brick.
    Turns out, if you run a rescue iso, ask it to try and recognize partitions and recreate the table without formatting, Linux will come back to life as if nothing happened
fl42v,

Nah, that’s when the fun really starts! ;)

Well, on the upside, it definitely works better than coffee or energy drinks :D

Also, nice save with the last one!

wahming,

Funny, that’s when I give up for the night and go to sleep

maness300, in what's a normie KDE distro?

Manjaro.

Adanisi,
@Adanisi@lemmy.zip avatar

“Stable”, really? Delaying packages isn’t stable, in fact it can break AUR packages.

maness300,

I never had an issue and I’ve been using Manjaro exclusively for 3+ years.

I think Arch has had issues that Manjaro was able to avoid in the meantime because Manjaro doesn’t push updates as quickly as Arch.

Presi300, (edited ) in (Constructively) What is your least favorite distro & why?
@Presi300@lemmy.world avatar

Pull out your pitchforks, debian.

Don’t get me wrong, it’s good in a VM or a server, but it’s the worst Linux desktop experience I’ve ever had.

  • Apt sucks, it’s the worst package manager imo (and I use Gentoo). Slow, bad a dependency resolution and apt-autoremove nuked my system both times I tried to use debian.
  • It’s old. LTS is only good for servers, you cannot change my mind and I don’t see a reason to use sid or unstable, when I can use literally why other distro with a better prepare manager.

And it just does some bizarre things, like not setting up sudo with the graphical installer…

Dariusmiles2123, in My First Month of Linux

It’s really nice to see a post like this.

Back in the day I was also dual booting windows and Ubuntu but windows was messing with the system clock.

Then I decided to just have a windows VM to be able to backup my iPhone (not my own choice😞), but I’d want to replace that VM by a MacOs so that at least I learn how to use a new system since I have to keep using windows at work anyway.

The community is a big plus on Linux and you always find someone ready to help you.

I also love the spirit of Linux where you rely way less on big corporations.

MyNameIsRichard, in What software is best to have in a flatpak on tumbleweed?
@MyNameIsRichard@lemmy.ml avatar

DBeaver because it’s not in the repos or obs

Petter1, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?

For me, it was a simple enabling of AUR im manjaro, twice Now I use arch, lol.

halfway_neko, (edited ) in What's (are) the funniest/stupidest way(s) you've broken your linux setup?
@halfway_neko@lemmy.dbzer0.com avatar

Deleted my entire efi partition while trying to install some grub themes.

And then my backup didn’t work when I tried to restore it.

I have pretty colours now though, so it was all worth it :)

lemmyreader,

😁

Cwilliams,

Been there, done that. But I haven’t had any problems once I switched to systemd-boot 🤷

hawgietonight, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?

Not the installation strictly speaking, but my most “funny” fuckup was setting up xfree86. There was a configuration for crt monitor scan frequency that you had to setup. I messed up something and the monitor started to squeel like crazy and quickly hit hard reset in panic.

The monitor didn’t die, but it had a slight high pitch noise to it after.

aard,
@aard@kyu.de avatar

Back then I was testing modelines to see the maximum I could push to my 14" monitor. I then backed it with a 1200x1600 virtual screen.

My girlfriend got sick from watching me scrolling around and bought me a 19" display which could do that resolution - and ended up frustrated when I added a larger virtual screen.

hawgietonight,

A 19" monitor was quite big for the day, and expensive! I hope your gf didn’t beat you up too much for that :)

Delta_44,

I know little about crt because I was born in 2000. Can you explain why did the monitor started to make scary sounds?

I know that crt monitors didn’t have any method to report the supported frequency, aside from more recent models, correct?

hawgietonight,

Yeah, monitors were somewhat dumb, just received and did what the vga output asked to do.

The noise most likely came from the semiconductors that controlled the magnet field that directed the rays onto the screen. These components are selected for a specific speed that the monitor can handle. So going under or over it’s spec can make something resonate in the audible range, and could even destroy the components if stressed too much.

The thing is that for each resolution and refresh rate you had two values to configure, one for the vertical speed in Hz, and horizontal speed in kHz. These values were usually specified in the owners manual. Typos can happen, and this was quite a risky operation.

aard,
@aard@kyu.de avatar

A good starting point for a wikipedia rabbit hole covering the software aspects on how to drive a display: en.wikipedia.org/wiki/XFree86_Modeline

BestBouclettes, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?

CTRL-C-ing apt because it looked stuck for more than 10 minutes. I don’t recommend doing it.

maynarkh,

Haven’t used apt in a while, is it not atomic? What happens if you mess with it?

BestBouclettes,

I don’t think it is, if it doesn’t run its course on its own, you’re screwed. It’s Debian so you can recover, but, at least for me, it was painful.

Cwilliams,

Man, gotta love apt sometimes

BestBouclettes,

apt is great, but yeah, if it’s gonna fail, let it fail on its own.

skeletorfw, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?

My own classic was fiddling with the nvidia PRIME config to try and get rid of some very mildly irritating screen tearing. No graphics output at all. Now this is fixable of course, but it’s a pig.

And I’d decided to do this 2 hours before an incredibly important progress review meeting for my PhD.

Got it back with about 10 mins to spare and decided just to leave the driver config alone after that.

Bonus round

Also a friend managed to bork his ubuntu 16 laptop by trying to switch from unity to gnome and ending up with sort of neither. That was reinstall territory right there.

FQQD, in How to fool a laptop into thinking a monitor is connected?
@FQQD@lemmy.ohaa.xyz avatar

I think there are dummy hdmi plugs that act as a monitor, that might work

Frederic,

This, EDID dummy plug, $2 on aliexpress

tubbadu,

just ordered one XD

If I’ll find a better solution I’ll have wasted 1.67€

squid_slime, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?
@squid_slime@lemmy.world avatar

I was new to Linux, I made the not so calculated decision to use manjaro as my daily, deleted xorg to in an attempt to reinstall xorg to then hopefully fix the stuttering. Everything went wrong, no display obviously, /boot/ files where corrupt. I now use arch and am wiser

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #