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?

  • limelight79@lemm.ee
    link
    fedilink
    arrow-up
    4
    ·
    11 hours ago

    I’m not clear what you’ve done here, but I’ve never played with the purge command. I take it you removed a lot of basic packages. How did it happen? Wildcards?

    • 🅃🅾🅆🅴🄻🅸🄴@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 hours ago

      I can’t entirely recall the precise details now, but I was trying to uninstall Nvidia and Mesa packages to fix some driver issues. Some mesa-related packages were remaining, and I couldn’t figure out why, so I manually typed their names in and purged them, then proceeded to watch python, the desktop environment — everything — all uninstall haha.

  • Dizzy Devil Ducky@lemm.ee
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 day ago

    Couple days ago I accidentally removed a package, not fully understanding what would happen. Ended up logging out thinking nothing of it. Couldn’t log back in as there were zero sessions available. Also, for some reason a huge on-screen keyboard kept popping up a lot when I’d click on the login panels things.

    I am very grateful my distro came with Timeshift by default and that I had a backup from the day before to fix everything. Also glad Rescuezilla allowed me to install Timeshift and restore.

    Doesn’t matter who you are or what you believe, it’s definitely a rite of passage to break your system once. That is something I’ll always agree with.

  • MrsDoyle@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    52
    ·
    2 days 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.

  • verdigris@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    23 hours ago

    Last week I accidentally overwrote my configuration.nix file with garbage. If you use NixOS this should fill you with horror. If you don’t, that file contains a description of your entire system – all the packages as well as many settings tweaks to anything from GUI apps to core kernel & systemd options.

    I have now learned my lesson and started using git to track my changes. Tbh, I was naively expecting to be able to roll back to a previous config and pull out my configuration file, but that’s not how it works. Happily I had already split out the most difficult to reproduce sections into their own files (mostly networking stuff), so it wasn’t that catastrophic, but it still turned a few minutes of tinkering into a couple hours of forehead-smacking.

  • ikidd@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    1 day 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
      6
      ·
      edit-2
      1 day 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.

  • the_q@lemm.ee
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 day ago

    Lol Nvidia has quiet the reputation in the Linux world. Keep at it though. We all make mistakes.

  • BCsven@lemmy.ca
    link
    fedilink
    arrow-up
    8
    ·
    1 day 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.

  • GNUmer@sopuli.xyz
    link
    fedilink
    arrow-up
    9
    ·
    2 days 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
    ·
    2 days 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.

  • Xanza@lemm.ee
    link
    fedilink
    English
    arrow-up
    29
    arrow-down
    1
    ·
    2 days ago

    (it was nvidia related)

    lel we got 'im, boys. /s

    • No1@aussie.zone
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 hour ago

      Ubuntu Additional Drivers offered me a choice between 11 different nvidia drivers.

      nouveau,and then a mishmash of nvidia versions, open, proprietary and server.

      Like OP was probably trying to do, had to manually remove the existing driver before you could select anything. All those options were greyed out because of a ‘manual installed driver’

      And guess what did this ‘manual installed driver’? Me? No. Ubuntu’s own uograde or running the command for ubuntu to select the ‘besr driver’.

      Fortunately, I’d been through nvidia hell several times, and knew how to manually perform the removal and install, but felt horrified for any new users that might stumble into this. With changing versions, it can be difficult when searching to work out which results are actually relevant, and which are obsolete.

      Always remember anything with a wildcard is your enemy. Triple check before you can trust it and hit enter.

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

    Migrating a 8 year old server to fresh new hardware. Can’t believe you can basically just rsync one computer to another