this post was submitted on 28 Dec 2024
63 points (90.9% liked)

Linux

48743 readers
1053 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm on Linux for a couple of years and I love it. Distrohoping never interested me though, I'm content with my flavour. But I need to reinstall my OS soon and it gives me headaches. So many settings I changed, applications I installed, configured and forgot about.
Now I read about all you guys constantly distrohopping for fun, how do you even do this? Do you start from scratch, explore everything and leave after months of putting in all the work of making an OS your own!? Or do you just casually check it out a couple of days? What do you do with all your music, pictures, addons, portable software?

you are viewing a single comment's thread
view the rest of the comments
[–] Ephera@lemmy.ml 35 points 1 day ago (2 children)

You can backup you home-directory and add it back into the newly installed OS. Some of the more dedicated distro-hoppers will even have the home-directory on a separate partition, which they don't overwrite during installation and rather just mount into the new OS.

The home-directory contains all your music, pictures, add-ons and portable software. It also contains your configurations under ~/.config/ and local files of applications under ~/.local/.
After you've reinstalled, you won't have all the same applications installed, but once you reinstall them, they should pick up the configuration from those folders and work as you expect. Sometimes, your new distribution/installation might use different versions of that particular software, so it's not guaranteed that everything works perfectly, but it does work pretty well.

[–] Cyber 21 points 1 day ago (3 children)

I'd go 1 step further and insist on putting home on a separate partition anyway - helps with issues like running out of diskspace.

To answer the original question, boot the distro's ISO from a USB stick and try that (/those) before you actually install anything. You might find some hardware's not supported (ie wifi) until you do a full install, but at least you can eliminate the distros you don't like, quickly.

[–] teawrecks@sopuli.xyz 3 points 7 hours ago

Or 1 step even further and use a btrfs partition with subvolumes for root, home, etc. Then you're not even stuck with a specific amount of disk space for each. (But you may be limited depending on the specific distro installer support for btrfs. In theory you can always just mount the subvols yourself and point the installer at them, but YMMV).

I recommend keeping a separate boot partition though.

[–] nous@programming.dev 12 points 1 day ago (1 children)

helps with issues like running out of diskspace

Or causes that problem if you don't manage to predict your usage patterns correctly. I have seen many people run out of space on one or the other but have plenty overall and would not have had a problem with a single partition.

[–] Cyber 1 points 19 hours ago (1 children)

Yeah, don't get me wrong... many a time I've had to boot gparted and resize partitions, but, the system isn't affected if you download too much and / or you don't lose data if the system's full.

[–] nous@programming.dev 1 points 19 hours ago (1 children)

Huh? You seem to be arguing both ways? If the system drive is full you have problems well before you risk losing data and if the home drive is full you have problems saving data? Both of these things can happen in a split partition or single partition setup. The split partition just means you have to get the space correct or end up with long resizing options for juggling the size around. And with a single partition it gives you more places to free up space when you do run out.

Need to save a file but the disk is full? Clean out the package manager cache. You cannot do that if the partitions are separate. An update does not have enough space? Delete a steam game or clear out your downloads folder.

Ext also has a reserved space option which when there is less free space than that option it refuses writes to anything but the root user - which is meant to solve the issue of a user trying to use up to much space, there is always a reserved bit that the system can do what it needs to. Though I have never seen this configured correctly for a running system and root can blast past the default 5% on smaller drives with a simple update. Or some other process is running as root is already consuming that space.

Other partition types like btrfs have proper quotas that can be set per directory or user to prevent this type of issue as well and gives you a lot more control over the allocated space without needing to reboot into a live USB to resize the partitions.

People seem to think a split partition helps but I have generally found it just causes more problems then it solves and there are now better tools that actually solve these problems in more elegant ways.

[–] Cyber 1 points 9 hours ago

Sorry for the confusion there, trying to be too concise in a short reply.

I get the points you're making; I've been there, done the root space recovery thing (the default can be a massive amount of space with modern drives, so I've changed it on several systems). I've setup lvm across drives, used btrfs (& sunvolumes), etc, so I know where you're coming from. Never seen quotas actually used out in the wild of (generally) single user domestic settings.

But, moving /home to a separate partition, drive(s), etc. provides flexibility - in this case, the OP's point of distrohopping.

[–] m4m4m4m4@lemmy.world 3 points 1 day ago (1 children)

Not sure but it seems to me most major distributions offer you to do a separate /home partition by default? I may be wrong but this happens with the likes of Fedora and Ubuntu? Or at least they do recommend to make it that way

[–] AnUnusualRelic@lemmy.world 3 points 1 day ago (1 children)

It might have to do with my being an old fart, but having at least home on a separate disk or partition seems like basic stuff. I've always done it that way.

Of course back in the day, everything had its own partition.

[–] Cyber 1 points 19 hours ago

Yeah, I like /var to be in it's own partition so I can keep my system(s) under close control, and a separate /boot seems to be necessary these *EFI days

[–] nous@programming.dev 4 points 1 day ago

You don't actually require a separate partition - you just need to not reformat the current one when reinstalling. Most distros I have seen will delete system folders if you don't format but will always leave the home folder intact. Manually deleting the system folders is also an option if the installer does not.

TBH I am not sure a separate partition actually buys you anything but false confidence (which we do sometimes need ;) ). During the partitioning phase you can easily delete or format the wrong one (hell, if you only have one then it is less error prone to skip it all together). And after that step the drives are mounted and there is nothing protecting your files from the installer deleting them. It is just installers don't touch the home folder or anything other then the system ones if it is on one partition or 50 different ones - it just sees the files in the directory it wants to install to. The only way a separate partition would add protection is if it were mounted after the install - which I do not know of any installer that actually does that.

As with anything. ALWAYS backup the data you care about before installing a new OS. The separate partition does NOT protect your data from deletion in any way. Leaving your home folder is simply a convenience option so you don't need to restore all your files after the installation - not a replacement for a backup.