• Amateurs. I can search for fixes while my computer is still broken!

    (ctrl-alt-F1, ctrl-alt-F2, etc to switch to TTY, then lynx ddg.gg to get to DuckDuckGo)

  • @JcbAzPx@lemmy.world
    link
    fedilink
    English
    122 days ago

    This is true for any OS. If it’s not working you can’t use it to look up how to fix it. That’s not unique to Linux.

    • @sunflowercowboy@feddit.org
      link
      fedilink
      English
      62 days ago

      Only linux lets you absolutely decimate the functional capability of your OS from within with ease. That is absolutely a linux thing.

      • @eldain@feddit.nl
        link
        fedilink
        32 days ago

        As long as your installation stick is a live image and you keep it around, it also serves as a mighty tool to fix things with google and chroot.

  • Mikelius
    link
    fedilink
    293 days ago

    To be fair, this is true for Windows and Mac too, unless you aren’t counting the simple scape goat of wiping and reloading lol

    • Robust Mirror
      link
      fedilink
      20
      edit-2
      2 days ago

      I’ll use the scapegoat of most people with Windows aren’t actively trying to do things that might massively break it, and additionally the vast majority wouldn’t know how to fix it even with a second device on hand and would get someone else to do it anyway.

      Also,

  • @nul42@lemmy.ca
    link
    fedilink
    263 days ago

    Back when all I had was one computer with Linux and I got in trouble I had a bootable USB stick so I could load up a browser and search forums for a solution.

  • @jsomae@lemmy.ml
    link
    fedilink
    303 days ago

    I unironically keep a tiny linux mint boot usb key on my keychain.

    When I feel bad about myself, I remember that I have that on my keychain, and I think I can’t be that much of a failure because that’s pretty cool.

    • @axx@slrpnk.net
      link
      fedilink
      43 days ago

      Or an OS that can rollback easily (ie: Silverblue and friends, NixOS…) Unless you’ve mangled your bootloader. Then the USB drive comes in handy 😄

    • @wesley@yall.theatl.social
      link
      fedilink
      English
      22 days ago

      My setup got messed up once after a kernel update that went bad and booting from the live USB and running the recovery install fixed everything for me

      Only problem was that I had lost the USB, but luckily I still had my Win10 partition I can’t boot into and make a new one.

      So it seems the lesson here is you don’t need another computer as long as you keep another partition with a backup OS on a different drive?

  • @jpablo68@infosec.pub
    link
    fedilink
    English
    72 days ago

    I remember printing the gentoo handbook back in 2005 to have something to troubleshoot my install process.

  • TipRing
    link
    fedilink
    English
    45
    edit-2
    3 days ago

    Me: I have been using Linux professionally for 20 years, I can edit fstab.

    Also Me five minutes later: I am glad I have live boot stick handy.

    • @Cenzorrll@lemmy.world
      link
      fedilink
      53 days ago

      I learned about the “nofail” option the hard way when setting up a headless server and typing the address of my NAS wrong.

    • @Sidhean@lemmy.world
      link
      fedilink
      English
      23 days ago

      This is me but with 20 days! I still had my usb from installing Linux (Mint btw) so I was able to just re stab my f.

      I just manually mount my HDD now lmao. I’d say don’t laugh but I still do.

  • Auster
    link
    fedilink
    623 days ago

    If I had a nickel for every time my phone saved me from massive failures in Linux, I’d have 4 nickels. "<.<

    • @pinball_wizard@lemmy.zip
      link
      fedilink
      16
      edit-2
      3 days ago

      I’ve been there. I’m 100% sure my PC is now a brick, but I run across a post by some random person online:

      "Press these keys, then type this exactly and hit “Enter”

      And roughly five minutes later my PC is stable, purring happily, and two minor annoyances have gone away thanks to package updates.

      Thank you all, kind Internet Linux guru strangers.

      Edit: More like 25 minutes, really. 20 minutes of my reading docs to verify why this solution can work, and then 5 minutes for it to work.

    • @axEl7fB5@lemmy.cafe
      link
      fedilink
      English
      33 days ago

      If I had a nickel for everytime I had to borrow a laptop to write to a USB, I’d have a nickel.

    • @shoki@lemmy.world
      link
      fedilink
      23 days ago

      your phone? my phone only helps when websearching for stuff while my desktop isn’t working or ssh’ing into my machine when the video output doesn’t work

      • Auster
        link
        fedilink
        133 days ago

        Meant in that sense, yes - searching for errors and their solutions as I see my computer having such major failures

  • @highball@lemmy.world
    link
    fedilink
    English
    173 days ago

    That’s what the tty is for, or at worst a bootable thumbdrive, CD, or Floppy. If I can’t switch to a tty, I boot a bootable drive, mount my harddrive, and chroot my install. No second machine required. It’s rare that I fuck something up though. Rest assured it was some bullshit I was trying, zero to do with Linux itself. But I do remember Windows would just bork itself randomly for no reason at all. I’m sure Microsoft has all that resolved now, but man back in the day it was painfully often.

      • @Luma@feddit.org
        link
        fedilink
        42 days ago

        TTY is short for Teletypewriter. Basically it is the terminal that you see if you don’t boot into a graphical environment. You can access the TTY from anywhere by pressing CTRL+ALT+F1-7 (will throw you into tty 1,2,…7, depending on which F key you pressed) You can switch between TTYs either by pressing CTRL+ALT+,F? again, where the F-key determins on which TTY you will land, or by using CTRL+ALT+arrow keys to go back and forth one at a time.

        The TTY is a terminal so you can do stuff like run commands here. If your graphical environment is broken, you will probably end up here and can often fix the problem.

        • @Focal@pawb.social
          link
          fedilink
          12 days ago

          Oooh! I see, thank you!

          Yesterday, I tried booting into Wayland on Linux Mint, and I got NOTHING.

          I rebooted and got nothing again. I tried the Ctrl+alt+F(x) key combo, but that didn’t work either. From your explanation, it sounds like I should’ve been able to at least get a terminal for that, but it didn’t seem to work. Could that be because graphically, it WAS displaying something after all?

          Ended up unplugging the screens from the GPU and tried plugging it straight into the mobo instead, and it ended up working after all.

          • @Luma@feddit.org
            link
            fedilink
            22 days ago

            Hmm… What does nothing mean exactly? Did your monitor turn on during boot? If so, did it turn off again at some point or did it display a completely black image?

            Since the mobo connection worked (which usually uses the integrated GPU chip on your CPU as far as I know), maybe it was an issue with your gpu? Or the connector or something?

            I once had a broken setup where got stuck on a black screen, unable to switch to a tty. If I started spamming CTRL+ALT+Fsomething right after Grub was done, I managed to escape the black screen before it appeared, maybe you could try spamming the key combo early on and see if that opens a tty for you. If that is the case then you can be pretty certain that the problem is related to your desktop environment.

            • @Focal@pawb.social
              link
              fedilink
              22 days ago

              Alright, I’ve managed to open the TTY when trying to boot into Mint(wayland). You were right! It’s probably an issue with my nvidia drivers. I’ll see what I can do. Thanks

              • @Luma@feddit.org
                link
                fedilink
                2
                edit-2
                2 days ago

                Nice! Since your installation is showing similar symptoms to my installation when I updated my nvidia drivers a while ago, I’m just gonna tell you how I fixed my issue on my computer, and maybe it’s gonna work for you too. If you want, you can try this:

                Boot your PC. After your Motherboard is done showing its logo or whatever it shows, you should see grub. If you press ‘e’ before grub proceeds to boot into linux, you will be thrown into a simple editor that will let you temporarily change what grub boots. There is a line with the kernel image and arguments, it probably starts with ‘linux’. Go to the end of the line (line might span multiple rows, so end of line might be on the next row) and add this:

                nvidia_drm.fbdev=0

                Then press F10 to boot. That’s it.

                This fixed the issue for me. If it will fix the issue for you as well, you can consider adding it to your kernel parameters permanently or making sure the nvidia kernel module gets the parameter by other means.

                Hope this helps!

                • @Focal@pawb.social
                  link
                  fedilink
                  11 day ago

                  **I appreciate the help immensely. ** First thing I needed to do was figure out how to get grub to show, and to do that, I changed a file in /etc/default/grub to have the menu style be “menu” instead of “hidden”.

                  Second I tried adding the nvidia_drm.fbdev=0, but it would boot directly into the default version of Mint (x11). I then had to disable auto-login in the lightdm.conf found in /etc/lightdm/

                  After that, I finally booted into Wayland again after adding the temporary parameters and… I get a black screen again, sadly. At least the TTY works so I can get out, no problem.

                  I did a bunch more tinkering that I found online, but after a lot of trying and failing and trying and failing, I went back to x11, only to realize that the driver manager was well and truly messed up. Could not get it to start at all. Ended up feeling pretty happy I took a snapshot of the system before I started all this, cause I could just rollback everything and now it works like before. (Still no wayland though, but whatever :P )

            • @Focal@pawb.social
              link
              fedilink
              12 days ago

              Interesting. I’ll see if I can figure something out.

              Answering your question, it booted to a black screen. The screen was “on”, it wasn’t complaining about not recognising a signal or anything, so SOMETHING must’ve transmitted. I’ll try spamming some keys to see if I get a reaction. Thanks for the tip

      • @highball@lemmy.world
        link
        fedilink
        English
        12 days ago

        Looks like /u/Luma got you sorted. Awesome feature right? It’s been there for a long as I can remember. This is the best part about Linux. People who use Linux created features that helped them solve problems or made their daily work easier. And you can do the same if you are feeling motivated one day.

        • @Focal@pawb.social
          link
          fedilink
          21 day ago

          I am a teacher by trade, so I absolutely love helping others. I’ll absolutely pass it forward! This is also how you build a healthy community, I think :D

      • Had my server set up with encrypted drives and getting the root key from a flash drive. Cloned a drive and replaced the old one, somehow it was crypttab that just stopped working with me. Took like 4 hours solid to get it actually back up.

    • @naught101@lemmy.world
      link
      fedilink
      283 days ago

      Dist-upgrading across 2+ years of upgrades.

      It’s been a long while for me, but some kind of dumb tinkering resulting in system death was semi regular 15 years ago. It got real bad when encyption started getting involved…

      • @ladicius@lemmy.world
        link
        fedilink
        143 days ago

        Updated Ubuntu over three or four LTS versions in the course of an afternoon several weeks ago - no problems, updated smoothly as fuck, machine (15 years old laptop) is running fine.

        Anecdotic evidence is anecdotic.

    • @huquad@lemmy.ml
      link
      fedilink
      English
      93 days ago

      Most recently a regular update borked my nvidia driver so I had to ssh in to revert.

      • @merc@sh.itjust.works
        link
        fedilink
        13 days ago

        I’m used to (on Windows) occasionally having the nVidia driver break things so the computer blue screens. At that point, your computer is shutting down and there’s nothing you can do about it.

        It was weird under Linux when I had an nVidia bug and the display stopped working, but the computer was still alive. I was able to SSH in and do a graceful shutdown. It was weird to watch because my display was completely frozen. The mouse pointer didn’t move, the clock wasn’t updating, but the windows were still all there. But, behind the scenes everything was working normally (bar high CPU usage because something else in the system was bothered by the display being screwed).

        As nice as it is that Linux responds a bit better to bad nVidia drivers, it’s also annoying how poor the quality of those closed-source drivers is. There are certain kinds of bugs that apparently have been issues for years and nVidia just isn’t addressing them.

    • Ænima
      link
      fedilink
      63 days ago

      Installing stuff, then looking online for a way to fix an annoyance, find a script to fix a StackOverflow post that vaguely matches our issue, only to break that thing even more. Rinse and release, ad nauseum.

    • @QualifiedKitten@discuss.online
      link
      fedilink
      English
      13 days ago

      I was dual booting, distro hopping to figure out what I liked & didn’t like. After a few installs, I got cocky and thought I had the hang of things, and instead somehow deleted the bootloader, or something like that. Couldn’t boot up at all to any OS.

    • Something Burger 🍔
      link
      fedilink
      13 days ago

      I use btrfs on my NAS and it shits the bed about once a month. Thankfully I use NixOS (btw) and have working backups so it’s not too hard to restore but still.

      • @merc@sh.itjust.works
        link
        fedilink
        23 days ago

        My NAS is one place where I wouldn’t risk anything that isn’t rock solid. Even if you don’t lose data, the NAS is infrastructure that should always be available.

  • @RedFrank24@lemmy.world
    link
    fedilink
    233 days ago

    You know for a bunch of tech-savvy people you all seem to fuck up your installs a lot.

    Linux can be booted from a USB drive, Windows is deliberately designed to be easy to install and takes less than an hour, and nobody’s installing MacOS anyway.

    I reckon it’s because you can’t resist tinkering and never READING THE INSTRUCTIONS

    • @osugi_sakae@midwest.social
      link
      fedilink
      163 days ago

      I reckon it’s because you can’t resist tinkering and never READING THE INSTRUCTIONS

      I think you may have hit on the answer here. If you don’t mess around with Linux, it will usually run fine for years. Mess around, and you can do things that only someone with you+2 years experience can undo.

      • @TriflingToad@sh.itjust.works
        link
        fedilink
        English
        73 days ago

        you can do things that only someone with you+2 years experience can undo

        this is such a fire line. I once shared how I nuked my first distro by deleting all the dependencies of VLC while trying to reinstall VLC… then someone replied “wait wouldn’t just running the ‘install VLC’ command reinstall all the dependencies and get it back to normal?”

        where was that person like a year ago 😭 I wasted so much time just to give up in the end

        • @barsoap@lemm.ee
          link
          fedilink
          3
          edit-2
          2 days ago

          deleting all the dependencies of VLC

          You mean like libc.so? Bold move, bold move.

      • @DonutsRMeh@lemmy.world
        link
        fedilink
        63 days ago

        That’s partially true and it depends on the distro. Debian? Mint? Absolutely. Arch/Arch based? Not really. And before some Arch brothers jump in to beat me up, I’ve had arch and some of its derivates literally break without me doing anything. Last one was Endeavour OS. That fucker broke to no return from an update. I don’t even tinker anymore. It just refused to log me into my desktop after the update. The plasma shell (or whatever the fuck it’s called) kept just dying before logging in because I was able to log in just fine in TTY. Moral of the story, I switched to another Arch based distro 😂

        • @Opisek@lemmy.world
          link
          fedilink
          33 days ago

          Just had to nuke my arch that I hadn’t booted in in a year. This distro has an expiry date I swear. I could no longer update for the life of me because every package on my system was conflicting somehow. Don’t get me started on the keyrings when you don’t update for a while.

    • @SaharaMaleikuhm@feddit.org
      link
      fedilink
      53 days ago

      Windows is such a pain to install though. It won’t work with some of the tools used to make a bootable usb stick. It takes forever to install and then you still have to set up a bunch of drivers. And then you have to install a ton of software by hunting for exe files online. Not to mention the dance you need to do to even be allowed to install it offline, without using a Microsoft account.

    • @jsomae@lemmy.ml
      link
      fedilink
      4
      edit-2
      3 days ago

      20 years ago linux didn’t run on laptops at all. In the interim, it was very unstable. I reckon that linux still doesn’t run on many laptops – I don’t know, I was scared straight so I get a lenovo everytime; never fails to run linux.

      • Kevin
        link
        fedilink
        43 days ago

        I had Linux on my laptop 20 years ago. The SD card reader didn’t work, and it couldn’t sleep (was sleep a thing for any laptop back then? I can’t remember). It did work though!

    • @pedz@lemmy.ca
      link
      fedilink
      6
      edit-2
      3 days ago

      Back in my days (late 90ies), smartphones were not a thing. I had to dual boot into Linux, face a problem, reboot into Windows, search for a solution or a package, then reboot into Linux. A second computer was very useful. But now, yeah, most issues can be solved using a smartphone.

      However I tried to format a micro SD card with an OTG cable and image it for a Raspberry Pi using my smartphone lately, and I never succeeded. My phone doesn’t have an integrated micro SD card reader nor the option to format one. All the apps I found that were claiming to format SD cards did nothing but show me ads. Just another Raspberry Pi would have been more useful than a smartphone at that moment.

        • @pedz@lemmy.ca
          link
          fedilink
          3
          edit-2
          2 days ago

          With boot disks. When installing an OS, it was common to have the installer ask if you wanted to create a boot disk in case anything happened to the MBR. They also came with the OS if you bought it prepackaged.

          There was also a trick that would boot a Linux system from DOS using loadlin.

  • @WeebLife@lemmy.world
    link
    fedilink
    183 days ago

    I’ve been using linux since last December and I haven’t majorly broken anything. Am I doing Linux wrong?

    • @highball@lemmy.world
      link
      fedilink
      English
      223 days ago

      You are. You are supposed pretend, everything you know on Windows should immediately transfer to Linux. Try to do techie things on Linux the Windows way; borking your system. Finally claim Linux isn’t ready for the average user, despite not using Linux like an average user would.

    • @Sidhean@lemmy.world
      link
      fedilink
      English
      63 days ago

      You’re certainly doing Linux! I’ve only had one bad break, but i had a backup (if you mess with f-stab, save a copy it before you do anything)

      • @WeebLife@lemmy.world
        link
        fedilink
        22 days ago

        I guess I take that back, there was 1 time that I did mess up fstab and had to boot live and fix it. But that wasn’t too bad.