I recently made a post discussing my move to Linux on Fedora, and it’s been going great. But today I think I have now become truly part of this community. I ran a command that borked my bootloader and had to do a fresh install. Learned my lesson with modifying the bootloader without first doing thorough investigation lol.
Fortunately I kept my /home on its own partition, so this shouldn’t be too bad to get back up and running as desired.

    • @aoidenpa
      link
      79 months ago

      Few days ago I downgraded glibc(I’m dumdum) because it was recommended in a reddit thread for a problem I was having. I couldn’t even chroot. Fortunately I could update with pacman --root

  • @[email protected]
    link
    fedilink
    239 months ago

    Borked your bootloader already? You’re a true Linux user lol. You’ll eventually learn to not do that (and back up regularly).

    Good choice with Fedora! I love dnf and the choices Fedora makes overall.

  • Jvrava9
    link
    fedilink
    209 months ago

    Timeshift for backups is a godsend in these situations

    • Dariusmiles2123
      link
      fedilink
      109 months ago

      OP should just know that TimeShift doesn’t work on Fedora Workstation without some tinkering.

      • @Bluefruit
        link
        19 months ago

        Thats good to know because Fedora seems to be where im heading when i make the switch as well.

  • glibg10b
    link
    fedilink
    13
    edit-2
    9 months ago

    borked my bootloader and had to do a fresh install

    That’s where you’re wrong :)

    • @[email protected]OP
      link
      fedilink
      69 months ago

      You’re right. I spent a few hours trying to fix it before giving up and determined that reinstalling would be quicker lol

      • glibg10b
        link
        fedilink
        59 months ago

        Before you can fix a bootloader, you first need to learn how to install and set up a bootloader. I think most people learn that part when they try Arch

  • @QaspR
    link
    89 months ago

    Congratulations soldier! You’re one of us now.

  • @just_another_person
    link
    79 months ago

    Friendo, I think once you understand exactly what an OS is, you’ll have fewer problems. An OS is just a layer on top of hardware with a lot of scripts and tools that enable that hardware to do things like move files, show graphics, and send audio in a desktop environment. Never issue a root or sudo command unless you understand exactly what it’s doing. Following this one simple rule will save you a lot of trouble, same as any Windows machine.

    • @[email protected]
      link
      fedilink
      19 months ago

      And a lot of configuration, or so I thought? I’m investing heavily but I’m scared for my investments :-)

      Another Linux noob here, after a couple of Linux servers (Tenfingers, Lemmy) switched over (finally) my main PC, or well kids got the gaming machine and I’m on a Mint ThinkPad now :-) and a backup think centre tiny if the Lemmy server bails out.

      I have this little windows box to print stuff (I didn’t know I hated printers) and every time I use it I’m so happy I don’t need windows in my personal life anymore…

      Cheers and welcome OP!

        • @[email protected]
          link
          fedilink
          19 months ago

          Except that I’m jumping ship to Linux fully, I’m thinking a lot about hardware failure, not the data but say the mobo, so maybe that’s curious. Seemed you were knowledgeable about those things, or I’m explaining very badly.

          Cheers

    • @[email protected]OP
      link
      fedilink
      19 months ago

      This is reasonably valid. I think Windows makes it a bit harder to do real damage to your system, so I’m used to that. I also have borked installs in VMs before, but that’s never mattered because spinning up a new one takes no time. Definitely a valuable lesson to do more research before running commands, especially as sudo

    • Dariusmiles2123
      link
      fedilink
      -19 months ago

      Also, once your install is in a state you like, create a backup with CloneZilla.

      • @just_another_person
        link
        -29 months ago

        Nah. This is old school thought. Use an immutable distro if this is your concern, and keep all your files on a NAS, or something else that can replay your files. Local images of your entire filesystem isn’t needed anymore.

        • @KISSmyOS
          link
          5
          edit-2
          9 months ago

          deleted by creator

          • @just_another_person
            link
            09 months ago

            They are two different things.

            A Clone of an OS install is not needed anymore, for a jillion reasons.

            Personal files do not relate to that.

            Perhaps you don’t understand how these are intended to work?

            • @KISSmyOS
              link
              3
              edit-2
              9 months ago

              deleted by creator

              • @deepdive
                link
                English
                1
                edit-2
                9 months ago

                Heyha ! Read about dd on makeuseof after reading your post, to see how it works.

                Restoring from an image seems exactly what I was looking for as a full backup restore.

                However this kind of 1 command backup isn’t going to work on databases (mariadb, mysql…). How should I procede with my home directory where all my containers live and most of them having running databases?

                Does it work with logical volumes? Is it possible to copy evrything except /home of the logical volumes?

                • @KISSmyOS
                  link
                  1
                  edit-2
                  9 months ago

                  deleted by creator

  • @bulwark
    link
    English
    79 months ago

    I’ve messed up my system so many times over the years that now I think I secretly get excited when it accidentally happens. Maybe I’m a masochist, but I actually enjoy trying to understand what went wrong. A USB stick with a light weight Linux distro and chroot you can usually get back in there and look around at the damage.

  • @[email protected]
    link
    fedilink
    English
    4
    edit-2
    9 months ago

    When you get more advanced you can use a distro like System Rescue to fix your bootloader instead of having to reinstall everything

  • @[email protected]
    link
    fedilink
    49 months ago

    In my first few weeks of linux I screwed up mounting a hard drive and my pc wouldn’t boot past grub. 4x different times I tried and each time I broke it. Then a year later I revisted mounting the drive and it went smoothly.

  • @GustavoM
    link
    English
    39 months ago

    Trial-and-error is a beautiful thing, isn’t it?

    t. Had to reinstall GNU/Linux several times through the course of months while trying new stuff and/or trying to improve the current ones.

  • downhomechunk [chicago]
    link
    fedilink
    English
    29 months ago

    Pro tip:

    Create a separate partition for /home. Then it’s all still there if need to do a fresh install.

  • @agent_flounder
    link
    English
    29 months ago

    Sweet, welcome! :) I know the feeling. I just finished reinstalling Nobara after being dumb and goofing up patching. Then I tried to fix it and made the system totally unusable and I gave up.

    A while ago I jacked my grub config and decided to try to fix it manually. I managed to stumble through it and learned some stuff, though I am still fuzzy on some details.

    I mostly want to just use the computer without a lot of headache and both Mint and Nobara have been great for coding (various), electronics design, 3d modeling and printing, graphics, photo editing, and such.

    • @[email protected]OP
      link
      fedilink
      29 months ago

      This is why I gave up on fixing it yesterday lol. I spent a few days setting it up, I didn’t wanna spend a few more days to try to figure out exactly what the issue was when I could just give in and then actually use it

      • @agent_flounder
        link
        English
        19 months ago

        Totally valid! Theoretically with more experience it may be easier / faster to fix but…idk

        See this is why I keep /home on a separate partition (or drive in some cases). I can reinstall or switch distros anytime without worrying about all my files (they’re backed up, anyway but doing a restore is a pita).