Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Linux
  3. A big part of learning Linux is screwing up computers and starting over.

A big part of learning Linux is screwing up computers and starting over.

Scheduled Pinned Locked Moved Linux
linux
119 Posts 70 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S [email protected]

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

    T This user is from outside of this forum
    T This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #61

    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.

    1 Reply Last reply
    0
    • S [email protected]

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

      D This user is from outside of this forum
      D This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #62

      I've never in 15 years of Linux use and tinker have ever screwed a kernel. And I compiled LFS once.

      1 Reply Last reply
      0
      • S [email protected]

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

        S This user is from outside of this forum
        S This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #63

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

        dabster291@lemmy.zipD 1 Reply Last reply
        0
        • S [email protected]

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

          U This user is from outside of this forum
          U This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #64

          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 will fail to execute and the kernel will loop forever.

          S 1 Reply Last reply
          0
          • S [email protected]

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

            dabster291@lemmy.zipD This user is from outside of this forum
            dabster291@lemmy.zipD This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #65

            Reply fail?

            1 Reply Last reply
            0
            • S [email protected]

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

              D This user is from outside of this forum
              D This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #66

              as a kid, when i was learning linux it was slackware on a massive stack of floppies. and this was before plug and play mind you, there were all sorts of things DOS did one way but linux expected another way.

              Well i only had the one computer. So you would get so far through a linux install (many hours, overnight was common) and run into a real issue such as how do i properly terminate the scsi chains differently than dos expected so i could get it to see the discs, or what jumpers did you have to move around to free up irq's so that ionic could see the modem.

              well if the hastily printed docs i had amassed didn't cover it, no choice but to re install dos and telemate and hope for help on usenet. which always did come. then you print that and cross your fingers and hope it worked.

              I don't recall exactly how long it took me to get slackware on that old family 286 but the joy when i finally had it all working.

              then i learned linux had no dialup scripts yet for slip/ppp yet so i had to reinstall dos to go learn bash so i could teach the thing how to connect to my isp, since it was a little different for all of them at that time.

              as an autistic kid this was my secondary special interest and i loved every second of all of this. it prepared me for a fruitful if frustrating career as a very full stack software engineer!

              1 Reply Last reply
              0
              • S [email protected]

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

                C This user is from outside of this forum
                C This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #67

                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.

                C 1 Reply Last reply
                0
                • U [email protected]

                  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 will fail to execute and the kernel will loop forever.

                  S This user is from outside of this forum
                  S This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #68

                  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

                  1 Reply Last reply
                  0
                  • T [email protected]

                    I’m not sure I’ve ever actually killed a system, I’ve booted from UEFI shell manually just to recover systems. Back when I was using arch id just chroot into the system from a flash drive and fix whatever ¯\_(ツ)_/¯

                    L This user is from outside of this forum
                    L This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #69

                    And not somehow break it more?
                    Impressive!

                    1 Reply Last reply
                    0
                    • S [email protected]

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

                      L This user is from outside of this forum
                      L This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #70

                      May I introduce you to my lord and saviour NixOS?

                      O 1 Reply Last reply
                      0
                      • C [email protected]

                        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.

                        C This user is from outside of this forum
                        C This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #71

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

                        1 Reply Last reply
                        0
                        • ada@lemmy.blahaj.zoneA [email protected]

                          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!

                          F This user is from outside of this forum
                          F This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #72

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

                          1 Reply Last reply
                          0
                          • S [email protected]

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

                            L This user is from outside of this forum
                            L This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #73

                            Never the kernel but just about every time I touch /etc/fstab I fuck something up. I've done that a lot....

                            Z O 2 Replies Last reply
                            0
                            • S [email protected]

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

                              M This user is from outside of this forum
                              M This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #74

                              It's even better if your only internet connection is that computer you broke.

                              S C O 3 Replies Last reply
                              0
                              • L This user is from outside of this forum
                                L This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #75

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

                                1 Reply Last reply
                                0
                                • S [email protected]

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

                                  A This user is from outside of this forum
                                  A This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #76

                                  .... So what should I try Linux again?

                                  S 1 Reply Last reply
                                  0
                                  • S [email protected]

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

                                    golden_zealot@lemmy.mlG This user is from outside of this forum
                                    golden_zealot@lemmy.mlG This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #77

                                    Maybe 1 or 2 back when things were less stable, but any time I have used Linux in the past 7 years or so, and particularly since I started using Debian as my primary OS, I haven't had any problems outside of trying to get some windows applications to emulate correctly, and one time when I echo'd into sources.list with > instead of >>.

                                    O 1 Reply Last reply
                                    0
                                    • M [email protected]

                                      It's even better if your only internet connection is that computer you broke.

                                      S This user is from outside of this forum
                                      S This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #78

                                      Great incentive to learn even faster

                                      M 1 Reply Last reply
                                      0
                                      • A [email protected]

                                        .... So what should I try Linux again?

                                        S This user is from outside of this forum
                                        S This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #79

                                        You mean why? Because you're using your bare machine, you can use it as you wish. No nanny software limiting the fun or productivity

                                        A 1 Reply Last reply
                                        0
                                        • S [email protected]

                                          Great incentive to learn even faster

                                          M This user is from outside of this forum
                                          M This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #80

                                          And enforces the value of installing documentation and source packages 😅

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups