My crippled kernel count is around 6, how about yours?

52 points

The “starting over” part is what made it take so long for linux to “stick” with me.

Once it became “restore from an earlier image”, it was a game changer!

permalink
report
reply

My game changer was circa 2014 when I broke something and got dropped to a basic shell and for the first time instead of panicking and immediately reinstalling I thought for a moment about what I had just done to break it, and undid the change manually. Wouldn’t you know it booted right up like normal.

The lesson here: if it broke, you probably broke it, and if you know how you broke it, you know how to fix it.

permalink
report
parent
reply
25 points
*

100%

The alternative being variations on:

Hi my name is [redacted], I have [X] years experience.

Please run sfc /scannow.

You can find more help at [Irrelevant KB URL].

Please rank me 5 stars.

Ticket closed

permalink
report
parent
reply
14 points
*

I could be weird for this but the starting over part actually contributed to me continuing to use linux tbh. Trying out a new distro, figuring out how to use it, and building a new user interface each time I killed my system kept me engaged with linux beyond its utility. It functioned essentially as a way to learn about computers and as a creative outlet. I don’t fuck around and find out as much as I used to but I still swap distro every year or so.

permalink
report
parent
reply
8 points

It was similar for me, but not quite the same. The thing I hated was starting from scratch. I’m very much not a distro hopper. Back in the day, I enjoyed the challenge of trying to troubleshoot issues and get the system working again, and that kept me interested, but eventually, I’d hit a problem I couldn’t resolve, and I’d have to start again from scratch, and at that point, I’d just go back to Windows.

Now, I still get to do the same thing. If I break it, I get to learn how I broke it and try and fix it, and I find that process compelling. But because I’m using btrfs restore points now, I don’t get to the point where I have to start again from scratch. So I can work at solving it to the limit of my abilities, with confidence that if I can’t work it out, it’s not a huge issue.

permalink
report
parent
reply
6 points

“Starting over” is how we learnt Windows in the 90’s too

permalink
report
parent
reply
5 points

Giving our computer ghonorrea by downloading Napster mp3s

permalink
report
parent
reply
4 points

I’d just re-install Windows over the top of the fucked up install normally. It was a bit easier to recover from, and a bit harder to fuck up

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply
2 points

Every time I install or configure anything, it’s done via CLI and added to a script. Makes setup a breeze.

permalink
report
parent
reply
2 points

Tell me more

permalink
report
parent
reply
2 points

Timeshift was a gamechanger

permalink
report
parent
reply
2 points
*

Timeshift itself borked my shit up. I had to reinstall all registered packages to fix its fuckups…

sudo aptitude reinstall '~i'

Edit: Sure it took a long while, about as long as a full OS reinstall, but never once was there any issue with the kernel.

permalink
report
parent
reply
34 points

Another big part is learning how to set it up in a way that it’s functional and productive the first time and then STOP FUCKING WITH IT.

permalink
report
reply
9 points

That also sounds like a good way to stop learning!

permalink
report
parent
reply
6 points

Not quite. But sorta, yeah.

Learning to “not fuck with it” or ways to do so and rollback are valid lessons themselves.

Being able to segregate “production” and “development” environments is very valuable.

permalink
report
parent
reply
3 points

Being able to segregate “production” and “development” environments is very valuable.

This is a best practice that pretty much everyone, eventually, discovers on their own.

permalink
report
parent
reply
4 points

you can either have a system to learn on, or a stable system to work on.

permalink
report
parent
reply
1 point

I get mine set up how I want then create an HD image that I run in a VM for fucking with.

permalink
report
parent
reply
1 point

😂 My gosh this hits home. If only I could stop tweaking. It’s always just this one little thing. Then another and on until it’s so fucked I don’t even know where to begin. But it’s magical when she works.

permalink
report
parent
reply
20 points
*

OpenSUSE Tumbleweed helps because you can create a btrfs snapshot at any moment and then roll back to it if you get in trouble. And it does this automatically whenever you update the packages.

permalink
report
reply
9 points

👍 never had to start over

permalink
report
parent
reply
6 points

OpenSUSE Tumbleweed Gang. The only distro I haven’t been able to break after 6 months (well, I have, but I’ve been able to snapper rollback every time)

permalink
report
parent
reply
2 points
*

It’s the first rolling distro I have tried, and I’ve been running it for about 3 years now without any real problems. I think maybe twice there have been updates that cause issues, out of hundreds of updates per week. It’s surprisingly solid, and everything’s up to date.

Not everyone would want hundreds of updates per week of course, but it’s up to the user to decide how often to install updates. Unlike Windows, the updates don’t intrude, and they are fast.

permalink
report
parent
reply
2 points

It seems to hit that right balance of bleeding edge while SUSE are still testing the packages for a bit to ensure there aren’t bad updates. Fedora sounds interesting to me as well, but I’m not going to fix what isn’t broken.

permalink
report
parent
reply
2 points

Been looking for a DR system for Ubuntu or mint, need to look into it myself but would like some feedback if this could be the right ticket.

I just bought a raspberry pi 4 to host plex, I’m sure I could get it to do backup and restore too. Looking into it

permalink
report
parent
reply
1 point

I wanted to give OpenSuse Tumbleweed a go yesterday, but the live USB got stuck at “Loading basic drivers” so I couldn’t even get to being able to install it.

permalink
report
parent
reply
17 points

Uhm, zero? With ten years of using Linux? What did you do to fuck up the damn kernel? o_O

permalink
report
reply
6 points
*

It can be done if you mess with the initramfs.

The kernel starts everything else by unpacking an archive containing a minimal environment to set stuff up for later. Such as loading needed kernel modules, decrypting your drive, etc. It then launches, by default, the /init program (mines a shell script).

That program is PID 1. If it dies, your kernel will panic.

After it finishes setup, it execs your actual /sbin/init. These means it dies, and that program (systemd, openrc, dinit, runit, etc) becomes PID 1. If an issue happens, both could fail to execute and the kernel will loop forever.

permalink
report
parent
reply
2 points

Thank you for explanation :) I suspected something like that - mess up with some internals, you do have a chance to bring the thing down. Which is why I always have a bootable usb around before doing anything risky

permalink
report
parent
reply
15 points

So, when you say crippled kernel, do you actually mean you tweaked the kernel params/build to the point that it failed to boot? Or do you just mean you messed up some package config to the point that the normal boot sequence didn’t get you to a place you knew how to recover from and need to reinstall from scratch?

I think I’m past the point where I need to do a full reinstall to recover from my mistakes. As long as I get a shell, I can usually undo whatever I did. I have btrfs+timeshift also set up, but I’ve never had to use it.

permalink
report
reply

Linux

!linux@lemmy.ml

Create post

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

Community stats

  • 7.3K

    Monthly active users

  • 7.3K

    Posts

  • 195K

    Comments