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

  • arsCynic@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    12 hours ago

    Nearly always it’s been during the live USB install of a dual-boot that a distro messes with the grub or installed grub to the USB disk itself. The fault lies with me because I’m almost blindly trusting the distro, but also with the distro for lacking proper yet succinct documentation during the install or configuration of partitions.

  • nfreak@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days ago

    I haven’t majorly fucked up any recent systems (almost botched the steam deck once or twice but nothing that required a reinstall), but god 10 years ago I probably reset my arch dual boot like five times lmao

  • Sock Puppet Society@lemm.eeOP
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    2 days ago

    Both, to the point it doesn’t boot, and just tweaking enough bugs that it’s easier to jist start over.

    • unhrpetby@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      2 days ago

      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.

      • Shanmugha@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        2 days ago

        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

  • mybuttnolie@sopuli.xyz
    link
    fedilink
    arrow-up
    4
    ·
    2 days ago

    Two. The first time I had nvidia related issues with nobara, so I removed nvidia drivers for reinstallation… And couldn’t figure out how to get them back. The second time I had used mint for long enough that I felt confident enough to nuke windows partition. I used gparted and nuked the whole disk instead.

    Not counting the times I tried fedora and it killed itself with the first updates and then with multimedia codecs.

  • Dudewitbow@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    3 days ago

    i broke debian on my plex server and said fuck it and migrated to endeavor because im more familiar with arch

  • collapse_already@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 days ago

    I tried to use dd with too much hubris once. I had to restore from backups (which ironically, I had made with dd). I’m usually overly cautious, but I was in a hurry.

    • cevn@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      1 day ago

      I did this one a few weeks ago lmao. You think once would be enough. But I am a truly special being.

  • Magiilaro@feddit.org
    link
    fedilink
    arrow-up
    12
    ·
    3 days ago

    Making errors and analysing them to figure out what went wrong and why is a huge part of learning. You can only learn so much from theory, some things can be learned best by trial and error and the experience gained from it.

    When I started with Linux I did choose to use Gentoo Linux because it was the most complex and complicated option, so I had the most opportunities to learn something by ducking up!

  • teawrecks@sopuli.xyz
    link
    fedilink
    arrow-up
    15
    ·
    2 days ago

    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.

  • TimeSquirrel@kbin.melroy.org
    link
    fedilink
    arrow-up
    34
    arrow-down
    1
    ·
    3 days ago

    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.

    • OhVenus_Baby@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      18 hours ago

      😂 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.

      • deadbeef79000@lemmy.nz
        link
        fedilink
        arrow-up
        6
        ·
        3 days ago

        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.

        • FauxLiving@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          3 days ago

          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.

  • circuitfarmer@lemmy.sdf.org
    link
    fedilink
    arrow-up
    3
    ·
    3 days ago

    I used to have a side system with /home on its own partition precisely to learn different distros and setups. It makes it much easier having a partition which is retained.

    These days, qemu is your friend for playing around with random Linux stuff.

    • OhVenus_Baby@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      18 hours ago

      Knock Knock Knock.

      We (Jehovah’s Witness) would like to know if you had a minute, so we could come inside, and talk to you about OUR Lord and Savior… Linux Mint.

      • Fonzie!@ttrpg.network
        link
        fedilink
        arrow-up
        1
        ·
        15 hours ago

        Sure, ok, that’s still my daily driver, it’s incredibly stable (and no, it’s not fucking outdated), but other than that it doesn’t help so much against accidentally borking your system.

        So in this context, I’m recommending @sockpuppetsociety@lemm.ee NixOS.

  • MoonMelon@lemmy.ml
    link
    fedilink
    English
    arrow-up
    13
    ·
    2 days ago

    It’s the same as learning anything, really. A big part of learning to draw is making thousands of bad drawings. A big part of learning DIY skills is not being afraid to cut a hole in the wall. Plan to screw up. Take your time, be patient with yourself, and read ahead so none of the potential screw-ups hurt you. Don’t be afraid to look foolish, reality is absurd, it’s fine.

    We give children largess to fail because they have everything to learn. Then, as adults, we don’t give ourselves permission to fail. But why should we be any better than children at new things? Many adults have forgotten how fraught the process of learning new skills is and when they fail they get scared and frustrated and quit. That’s just how learning feels. Kids cry a lot. Puttering around on a spare computer is an extremely safe way to become reacquainted with that feeling and that will serve you well even if you decide you don’t like Linux and never touch it again. Worst case you fucked up an old laptop that was collecting dust. That is way better than cutting a hole in the wall and hitting a pipe.

    • easily3667@lemmus.org
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      edit-2
      2 days ago

      See that would be a good analogy if the fail was fun.

      Making a shit painting is still fun.

      Having to reinstall my OS because I ran pacman -Syu and now my computer won’t boot, and now I have to spend hours making things work again: not at all fun.

      Having my server run out of memory and freeze up instead of having a sane out of memory behavior the day before a long trip: not fun

      It’s also archaic, niche information. Do I want to learn how to make a kernel version that didn’t get installed right show up in grub? Fuck no. Do I want to google for the 100th time what command exists to register the encryption key for my hard drive in the TPM? Fuck no. What an absolute waste of life.

      Linux isn’t “I cut a hole in my wall” it’s “my electrician only documented the wiring in hieroglyphs and now I have to reverse engineer everything to turn on a light bulb”.