this post was submitted on 15 Dec 2024
157 points (73.0% liked)

linuxmemes

21571 readers
750 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
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] [email protected] 123 points 3 days ago (7 children)

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

    [–] [email protected] 58 points 3 days ago

    And often the fastest option even lol

    [–] [email protected] 19 points 3 days 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.

    [–] [email protected] 3 points 2 days ago

    Meh, snapper rollback

    [–] QuarterSwede 5 points 3 days 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] 3 points 2 days ago (1 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.

    [–] [email protected] -1 points 2 days ago (2 children)

    Snapshot as in a VM?

    Most people run their OS on physical hardware.

    [–] [email protected] 8 points 2 days ago (1 children)

    Btrfs has snapshots. They can be created instantly and don't use any extra space until the files are changed.

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

    Ah, yeah, I have read about that, I do feel a bir hesitant to use BTRFS so I didn't think about that.

    The Linux machines I have worked with all ran ext3/4 or xfs.

    To be completely fair, I never gave BTRFS a proper chance, at first because it felt too new and unstable when I heard about it, and later I heard that it was developed by Facebook and let my distaste for that company color my perceptions of btrfs.

    But I just checked the wikipedia article and saw that plenty of reputable oranizations have worked on btrfs, so I guess I'll get it a go when I build a NAS....

    Thanks for reminding me of it, I may get set in my ways from time to time but I do genuinely try to learn and change my way of thinking.

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

    I wouldn't use it for a NAS. You want ZFS for that.

    Btrfs is good for small setups with either single or dual disks.

    [–] [email protected] 3 points 2 days ago

    Just don't use RAID 5 or 6, it's still under development and not ready for use yet.

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

    You can run your desktop inside of a VM with the GPU and USB PCIe devices passed though.

    However, I think they are talking about btrfs

    [–] [email protected] 4 points 3 days 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] 21 points 3 days ago (3 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

    [–] [email protected] 2 points 2 days ago* (last edited 2 days 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.

    [–] anamethatisnt 3 points 3 days ago

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

    [–] [email protected] 1 points 3 days ago (1 children)

    Fair, but machines at work as sysadmin are a different thing - hopefully there you're also dealing with fast deployment, prepared ahead of time. But if the issue is that you messed something up on your own computer, ignoring the issue in favor of reinstalling sounds likely to leave you oblivious to what the issue was, and likely to repeat your mistake.

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

    That is fair, but ignores compounding issues like installing several software packages over years and forgetting about them, and something like that causes an issue years after installing and forgetting about the software, then it is far easier to just reinstall.