I hear this is a rite of passage. I made it 4 weeks before I rekt all my shit (it was nvidia related). Where do I claim my sticker?

In all seriousness, now that I understand better these commands that I’ve been haphazardly throwing around, Id like to do a clean install. God knows what else Ive done to it. Can i just reinstall to my root partition and have my home partition work as expected?

    • Zangoose@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 hour ago

      OP mentioned having used Linux for 4 weeks. If they are interested in learning more about Linux, I feel like even Arch would be a better next step.

      I love NixOS and have been using it for over a year at this point but sometimes when things don’t work I feel like I’m banging my head against a wall. I’ve been using Linux for ~7 years now.

  • ikidd@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 hours ago

    If you don’t mess with the partitions during the install and don’t format, and make the same username, you should be back to normal after a reinstall. Take a backup offline, of course.

    • umbrella@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 hours ago

      make sure not to reformat though. it can be a problem depending on the installer his distro uses.

      i think its safer to just save the home folder, and replace it later when the system is installed.

  • BCsven@lemmy.ca
    link
    fedilink
    arrow-up
    4
    ·
    3 hours ago

    If you are trying a new install go for something with timeshift or Silver Blue, OpenSUSE snapshotting. You can trash the whole setup, then reboot to the previous state. A catastrophic failure becomes a 1 minute fix.

  • zarkanian@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    4 hours ago

    Can i just reinstall to my root partition and have my home partition work as expected?

    Yes, but you might have to muck around with /etc/fstab. The reason is because when you install to your root partition, the installer will create a new /home in that root partition. (Unless you have an installer that’s smart enough that you can tell it otherwise.)

    You should be able to mount the partition in any case, but to have the system recognize it as /home it has to be properly set up in fstab.

  • MrsDoyle@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    21
    ·
    8 hours ago

    My first adventure in Linux back in 2003. No idea how I achieved this, but from memory I just reinstalled and all was well.

  • JustPedro@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    5 hours ago

    I overwrote my ssh private key with rsync. Fortunately I had special cron job running on my servers that updates ssh public keys on a server with ssh public keys from my github account, so I just had to upload a new key to the github and wait for a few hours.

  • GNUmer@sopuli.xyz
    link
    fedilink
    arrow-up
    8
    ·
    7 hours ago

    Ahh, baby steps.

    Around fours years ago I was still using Arch and I somehow decided to try LFS on my main machine (bare metal unfortunately). Started compiling coreutils but as I forgot to specify the build directory to gmake, my /usr/bin directory was being emptied to make space for the coreutils compilation process. Bricked my whole installation.

    Now I’m smarter than four years ago as I mainly use NixOS.

  • IsoKiero@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    12
    ·
    10 hours ago

    Does anyone sell ‘Yes, Do As I Say!’ stickers?

    You could possibly recover from that on console, just install few metapackages. And have backups.

  • Cysioland@lemmygrad.ml
    link
    fedilink
    arrow-up
    1
    ·
    5 hours ago

    My pacman -Syu crashed on my old laptop and at this point I might just reinstall it, this time putting on some sort of a snapshot solution on it like on my main laptop

  • utopiah@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    9 hours ago

    FWIW each new install is faster, especially if you write down the “weird” steps.

  • Victoria@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    3
    ·
    10 hours ago

    I accidentally interrupted a system upgrade, breaking networking and package manager, among other important bits

  • prole@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    15 hours ago

    TimeShift. Life saver, and great tool for learning without having to worry about breaking shit permanently.