this post was submitted on 15 Dec 2024
178 points (74.5% liked)

linuxmemes

21897 readers
1677 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 users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • 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, <loves/tolerates/hates> systemd, 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 remove France.

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

    That is idiotic, there is absolutely a reason to reinstall in some cases

    [–] [email protected] 61 points 1 month ago

    And often the fastest option even lol

    [–] [email protected] 21 points 1 month ago

    Not when you're "stuck", tho. You understand the problem, boot live system, fix it and learn from your mistakes. Like, my first reinstalls of arch were due to not understanding I can just chroot or pacstrap some packages I forgot, for example.

    [–] QuarterSwede 7 points 1 month ago

    Some times but not most, like Windows. macOS is the same way thanks to its *nix underpinnings. I honestly can’t remember a time I ever reinstalled the system to fix a problem.

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

    With the way most distros are structured, you should never need a reinstall, since reinstalling the packages will fix any issues with broken system files. Broken configuration wouldn't be as easy to fix, but still something you should be able to fix.

    The only reason to be reinstalling, in my eyes, is if you have a mess of packages and configuration you don't remember, and want to get a clean slate to reconfigure instead of trying to figure out why everything was set up in a certain way.

    [–] [email protected] 25 points 1 month ago (4 children)

    As an IT guy who has worked professionally as a Linux sysadmin.

    While you are correct, the factor you are missing is time.

    There have been countless times I have reinstalled Linux machines because it is faster than troubleshooting the issue

    [–] anamethatisnt 4 points 1 month ago

    Professionally on a non-recurring issue - absolutely.
    With my stuff at home? Only if the wife suffers from the downtime.

    [–] [email protected] 2 points 1 month ago* (last edited 1 month ago)

    If you do it right you should be able to trigger rebuild within about 20 min by kicking off the right automation.

    Virtualization and containerization are your friends. Combine that with Ansible and you are rock solid.

    load more comments (2 replies)
    [–] [email protected] 3 points 1 month ago (6 children)

    Unless the drive gets corrupted or infected with malware, you can just load a previous snapshot. That's much faster and easier than reinstalling.

    load more comments (6 replies)
    [–] [email protected] 3 points 1 month ago

    Meh, snapper rollback

    load more comments (3 replies)
    [–] Thcdenton 76 points 1 month ago (2 children)

    Whaddya talking about I nuke my shit all the time.

    [–] [email protected] 15 points 1 month ago (1 children)

    Why learn nixOS, if not to reinstall every morning?

    [–] [email protected] 3 points 1 month ago

    Yeah, that's my issue, NixOS is so stable I never had to reinstall.

    [–] [email protected] 5 points 1 month ago

    Me too 😁 I have no important file not saved in cloud ever. I can nuke any of my clients without any afterthought

    This saves so much time…

    [–] [email protected] 44 points 1 month ago (1 children)

    I think people do that even in Linux, sometimes problemes are still very hard to solve and reinstalling is just faster, maybe I'm the only one. On another hand there is distro hopping ╮(︶▽︶)╭

    [–] TwoBeeSan 26 points 1 month ago (1 children)

    Fucking up your computer so much you decide to "distro hop" by reinstalling a new os.

    Isn't that what everyone meant? Just me? Oh

    [–] gaylord_fartmaster 20 points 1 month ago

    My distro hops have been more like distro evacuations.

    [–] Sestren 37 points 1 month ago (3 children)

    The whole point of doing a separate partition for your home directory is to do just that... The fuck is this even supposed to mean.

    [–] marcos 10 points 1 month ago* (last edited 1 month ago) (1 children)

    If you got a problem, reinstall and do the same stuff again, you'll almost certainly get the same problem again. So, no, it's only productive if you are in a fucked-up environment where changes bring more breakage than they fix.

    It's useful if you don't plan to do the same thing again, though. So if you are just trying random stuff, yeah, go ahead.

    [–] [email protected] 6 points 1 month ago* (last edited 1 month ago) (1 children)

    If you got a problem, reinstall and do the same stuff again, you’ll almost certainly get the same problem again

    Sure, but nobody's likely to do that. If I wiped my system now, I doubt I could get it back to exactly the same state if I tried. There are way too many moving parts. There are changes I've forgotten I ever applied, or only applied accidentally. And there are things I'd do differently if I had the chance to start over (like installing something via a different one of the half-dozen-or-so methods of installing packages on my distro).

    For example, I have Docker installed because I once thought a problem I had might have been Podman-specific. Turned out it was not. But I never did the surgery necessary to fully excise Docker. I probably won't bother unless and until there is a practical reason to.

    [–] one_knight_scripting 4 points 1 month ago* (last edited 1 month ago) (5 children)

    Try Root on ZFS.

    If you run into an issue suddenly, you can restore to snapshot.

    load more comments (5 replies)
    [–] [email protected] 4 points 1 month ago

    I treat all my data as ephemeral, no need for separate home partition.

    [–] one_knight_scripting 4 points 1 month ago (1 children)

    Uh... I don't have a separate partition for /home. I have a separate zfs filesystem for it though. If I run into issues, I can restore from snapshot and not affect it.

    [–] [email protected] 6 points 1 month ago (1 children)
    [–] one_knight_scripting 2 points 1 month ago* (last edited 1 month ago) (1 children)

    That's fair. I chose ZFS because I've used it before. And understand it fairly well already. I know nothing about BTRFS, so perhaps you could educate me a little. I'm working on setting up a cloudstack host using ZFS RAID 10. Does BTRFS have a flexible architecture to where you could do something similar?

    Edit: Perhaps you could also inform me of the speeds of BTRFS too. From what I understand, ZFS outperforms BTRFS in large datasets, but I don't know where the cutoff is. I'll let you know it would need to run 12 ea 10TB HDDs.

    [–] [email protected] 3 points 1 month ago

    Best would be to search up BTRFS vs ZFS, or listen the the entire back catalog of 2.5admins; they regularly discuss both. ZFS is probably what you want, I only went BTRFS because it is what I got introduced to via OpenSUSE

    [–] Juice260 29 points 1 month ago

    I reinstall at the drop of a hat. Pretty much any excuse to try another distro or configuration I was uncertain about.

    [–] [email protected] 22 points 1 month ago (1 children)

    One of the things I noticed when I first switched, was the difference of advice on forums. Linux users would ask for reports and pinpoint errors giving a fix. Windows forums would be wild random often unrelated guesses ultimately leading to "just reformat".

    [–] [email protected] 5 points 1 month ago* (last edited 1 month ago) (1 children)

    Until you find the answer on a Windows forum posted by some Indian dude performing unpaid labor.

    [–] [email protected] 16 points 1 month ago (2 children)

    Or the "don't worry I fixed it" one time poster

    [–] [email protected] 9 points 1 month ago (1 children)

    "Just Google it," they said. So, you Google it. You find one result. It's a forum post. From you.

    [–] [email protected] 6 points 1 month ago

    I'd like to make a law that anyone who says "just google it" and doesn't also provide the very first link they found on google that solves the problem should be castrated.

    [–] hardcoreufo 2 points 1 month ago

    There's a special place in hell for those people.

    [–] DragonsInARoom 18 points 1 month ago

    If the issue doesn't resolve itself, reinstall, that works for me as a catch all solution because I use Linux like a Chromebook, web browsing.

    [–] [email protected] 16 points 1 month ago (2 children)

    I like immutable Linux for this reason. If you use almost exclusively containers and flatpaks you can rebuild easily.

    [–] [email protected] 3 points 1 month ago

    I use Nixos. I is immutable if you don't use flatpaks if possible (sometimes flatpaks work better)

    However I broke even that... Had to reinstall.

    [–] [email protected] 2 points 1 month ago

    Sometimes I love trawling through logs at speed and making magic happen because it reminds me of my heydays solving L3 support issues when the shit hit the fan.

    Then I have to do it at work and it crushes me.

    [–] [email protected] 10 points 1 month ago (2 children)

    As someone I'd still consider a noob, I did this less than a month after getting a new laptop last January. I probably broke something trying to get the headphone jack working on it and then Bluetooth stopped working properly as well after installing Steam, so I started over. All I know for certain is I ended up destroying a folder I shouldn't have on accident, which bricked the system pretty much and made nothing launchable, terminal included. This was on MX and haven't had issues since reinstalling.

    load more comments (2 replies)
    [–] hardcoreufo 9 points 1 month ago

    Ehhh all my important files are sync'd to my NAS. I have a script that just apt installs everything I normally use. Sometimes it's just faster than troubleshooting. Usually if I'm about to do something whacky I clone my disk and use the clone. If it works it's my new primary, if it doesn't nothing lost.

    [–] kSPvhmTOlwvMd7Y7E 8 points 1 month ago

    I just rollback my snapper.

    My brother reinstalled his windows more often than I ran "zypper dup"

    [–] [email protected] 6 points 1 month ago

    Nah, reinstall goes brrrr whenever you run into an issue

    [–] [email protected] 5 points 1 month ago

    One of the big selling points of Linux to me was I can automate my install from end to end. I haven't bothered automating the installer, but once it boots I run a playbook to set everything up and restore most of my homedir from backup. Everything down to setting my custom keyboard shorts, extensions and wallpaper is covered.

    These days I run Silverblue and I'm trying to find the time to put together my own build pipeline to build my own images on top of Silverblue's.

    Either way, I have no fear of reinstalls.

    [–] [email protected] 3 points 1 month ago

    idk but if my system becomes unbootable, i'd reinstall. Otherwise, set up a NAS for yourself and upload snapshots to it, configure this process to be automatic. Especially if you like to tinker with your system or/and you use a rolling release

    [–] ShadowZone 2 points 1 month ago (1 children)

    I literally had an official support person tell me to reinstall Ubuntu to get a specific app running.

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