this post was submitted on 02 Jul 2023
1011 points (98.6% liked)

linuxmemes

21611 readers
1503 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 2 years ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] [email protected] 45 points 2 years ago (1 children)

    Lol this is still me after 20 years of using linux

    [–] GhostsAreShitty 5 points 2 years ago (1 children)

    Right? Decades of Linux use, been a Linux admin for half of it. Still reinstall when I'm not happy with the way things are going. It's just faster.

    load more comments (1 replies)
    [–] [email protected] 21 points 2 years ago (2 children)

    This was me back when I disto hopped. Screwing something up was really just an excuse to try something new.

    Now I'm I'm in a comfortable rut, but after recently having to set up a new machine from scratch NixOS is starting to look tempting.

    load more comments (2 replies)
    [–] lhx 15 points 2 years ago

    This was the way. Then you find Debian.

    [–] Merulox 13 points 2 years ago (1 children)

    I switch distro once I start feeling that my current installation is too bloated and requires a heavy cleaning

    Which is why I switched to nixos, so that I can’t bloat my system up with packages I eventually forget about

    [–] [email protected] 9 points 2 years ago (2 children)

    NixOS is so incredibly stable it's crazy. Even if my entire computer implodes I can just download my couple config files off github and get exactly the same system on a different computer.

    [–] [email protected] 6 points 2 years ago (1 children)

    I'm going to try Nix as my desktop OS. The only thing stopping me up until now is I like running the same OS that I run on servers (Debian). Do you think there's a good use case for Nix on servers?

    [–] [email protected] 5 points 2 years ago (1 children)

    Yeah NixOS is great for servers, since you're able to configure everything through the NixOS configs. Like if you want nginx you just add services.nginx.enable = true and similarly set the different virtualHosts and everything. That way your nginx configuration is stored in the same place as your system configuration, which can all be backed up with Git, and you can see everything running on your system and their configuration by just looking through your NixOS config.

    load more comments (1 replies)
    [–] [email protected] 4 points 2 years ago (1 children)

    Well, you still need to backup and restore your persistent drive, but that's trivial too.

    [–] [email protected] 4 points 2 years ago

    Yeah, I use Impermanence and all my important things and dotfiles are synced between my devices. Other stuff is just games and stuff I can reinstall anytime.

    [–] reddit_sux 12 points 2 years ago

    Cool you did backups

    [–] jeansibelius 11 points 2 years ago

    I reinstalled Linux when it crashes, or used Timeshift for years, but at this time I learned totally nothing.

    Then I tried Arch manual installation, and it changes my mind.

    [–] [email protected] 10 points 2 years ago

    have / on one partition and /home on another, when reinstalling, reformat or reuse / and set the other as /home again. Worked very well when I switched from Ubuntu to Manjaro last week when Ubuntu refused to boot up for me for no obvious reason.

    [–] [email protected] 9 points 2 years ago (13 children)

    BTRFS is your friend guys and gals ☺️.

    [–] [email protected] 4 points 2 years ago* (last edited 2 years ago) (1 children)

    I switched to BTRFS recently, but found myself even more fucked when my system stopped working suddenly and I didn't know how to fix it without reformatting and installing grub again. Actually lost even more than I would have otherwise just because I wasn't knowledgeable enough to get any form of recovery to work. That first EndeavourOS install didn't last 2 months sadly.

    [–] [email protected] 5 points 2 years ago

    Yep, everyone goes through that the first 2 or 3 installs, until you learn how CoW FSes work. It's not like anything else and it takes a while to master it, but once you learn how to use it, you don't reinstall ever again, just roll back snapshots 😉.

    load more comments (12 replies)
    [–] [email protected] 9 points 2 years ago (9 children)

    You give that up that strategy and lean into fixing shit when you put the time in to customize the OS and desktop/window manager experience... at that point you should understand your system well enough to make fixing it easier, and you are also afraid of having to redo some of your customization. That being said, you still should make regular system backups, especially if you are tinkering with the OS experience a lot.

    load more comments (9 replies)
    [–] gunpachi 9 points 1 year ago

    The fresh feeling of a reinstall lasts for about a week.

    [–] [email protected] 9 points 2 years ago

    Backup. Fuck it. Learn . Fix. Repeat ad nauseam .

    [–] Tired8281 9 points 2 years ago

    When I decided to switch to Fedora, I wanted a safety net. I had a 500GB SSD, so I bought an additional 2TB SSD, so I could make full disk image backups and be able to store 3 of them (I used full disk encryption, so my disk image backups were the full 500GB). And I dutifully made backups, either monthly, before I made a big change, or before a major update. Been doing this for nearly two years now and I haven't used a single backup image even once. It's almost disappointing, in a perverse sort of way. I was looking forward to having to learn stuff by fixing things that break, but nothing ever does!

    [–] witx 9 points 1 year ago

    I did this without having my distro broken. It was like "oh shiny, let me try this distro"

    [–] [email protected] 9 points 2 years ago* (last edited 2 years ago) (1 children)

    Honesty just make /home a different partition.

    Has saved me so much trouble in changing distros on my laptop.

    I’ve settled pretty well on Fedora at this point but that’ll probably change at some point (mostly because I don’t like Ubuntu much and I work in a mostly RHEL shop)

    load more comments (1 replies)
    [–] bappity 8 points 2 years ago

    me running it on hyper v and reverting to a clean install snapshot the moment I write one command slightly wrong

    [–] Bruncvik 8 points 2 years ago (1 children)

    Reinstall? Nah... I have a bunch of virtual machines, which I set up and customised the way I like. Then I back them up. Use a VM for a few months, back up personal data (if any), delete them, copy from backup, power up, install latest updates and go with it again. Depending on their function, I keep the VM for longer (gaming instance) or shorter (Internet/office) periods before replacing them. That's become just basic computer hygiene for me.

    [–] [email protected] 4 points 2 years ago (1 children)

    Wow I think I want to do this too. Can I ask which hypervisor you use? And, can you get gaming performance in a VM like you can on bare metal?

    load more comments (1 replies)
    [–] [email protected] 8 points 2 years ago

    Ah, the Windows approach. The few times I worked with PC Repair shops, backing up everything and reinstalling the OS was the go to for most "repairs". Especially since it was faster and cheaper than just researching all the issues and repairing them the "right" way. Although to be fair, if the OS is borked enough, backup + reinstall IS the right way.

    [–] UnfortunateShort 7 points 2 years ago (2 children)

    Do a snapshot and roll back. Actually faster and easier.

    [–] kinther 5 points 2 years ago

    This was in the long long ago, grasshopper. We did bare metal installations back in the day.

    load more comments (1 replies)
    [–] xaxl 6 points 2 years ago

    If you have a separate /home and backed up your data.. well why shouldn't I?

    [–] [email protected] 5 points 2 years ago

    Now I just run suse tumbleweed with snapshots and if anything breaks I just recover from snapshot.

    [–] [email protected] 5 points 2 years ago

    Since getting a NAS I now think of everything else as volatile storage

    [–] [email protected] 5 points 2 years ago (1 children)
    load more comments (1 replies)
    [–] [email protected] 5 points 2 years ago

    Used to end up doing that like once a month.

    [–] arensb 5 points 1 year ago

    Then there's the cloud: "Oh, crap. I have a typo in a config file. I guess I'll destroy the machine and set up a whole new one!"

    [–] [email protected] 5 points 2 years ago (1 children)

    mostly happens with Ubuntu. i don't know if iam built to crash it but i always tend to break it. i have been using fedora nobara for the last couple of month and i didn't break it once

    load more comments (1 replies)
    [–] kcilc 4 points 2 years ago* (last edited 2 years ago)

    I haven't properly dotfilesed all of my rice yet, so I'm just hoping l don't break something until I get that sorted.

    [–] BlueDepth9279 4 points 2 years ago

    This is still the way! Gives me an excuse to change my distro.

    [–] veng 4 points 2 years ago

    Timeshift makes all the difference, no more panicking after breaking something.

    [–] MATTLADexe 4 points 2 years ago

    Early days? I do this even today if I don't have enough skills to fix it.

    [–] GallantTheKnight 4 points 1 year ago

    Being able to easily and freely upgrade, experiment, and reinstall is one of the big perks of Linux. Carry on.

    [–] [email protected] 4 points 2 years ago

    I’m on Unraid now and have most of my services migrated to docker containers but on my previous build, I was just running Ubuntu Server a majority of the time.

    I got a little scared thinking about all of the manual configuration I’ve done over time to this build and knew that if I needed to reinstall I’d essentially be fucked.

    Like what tf is a fstab again?

    So I took a few hours to learn Ansible and wrote a playbook that could configure my build nearly 100% in just one click. Changed the game.

    If anyone knows of something similar with Unraid configs let me know bc I really did enjoy the ansible process

    [–] delayed06 4 points 2 years ago (1 children)

    As a noob, I wonder what would be the right way to do it?

    load more comments (1 replies)
    [–] [email protected] 4 points 2 years ago

    With the exception of my home data, this is why I switched to Fedora Silverblue. I got past the experimental phase and just wanted a linux that would work without thoughts

    [–] killallq 4 points 2 years ago
    1. rm -rf /*
    2. ???
    3. profit
    [–] [email protected] 4 points 2 years ago

    I've reinstalled so many times...

    [–] [email protected] 4 points 2 years ago

    I use timeshift and it has saved my ass quite a few times!

    [–] [email protected] 3 points 2 years ago (4 children)

    It didn't happen THAT often before, but as a previous Windows user and restore point fan, Timeshift was a game changer. Don't have to tread lightly anymore. :D

    load more comments (4 replies)
    load more comments
    view more: next ›