this post was submitted on 28 Dec 2024
47 points (88.5% liked)

Linux

48743 readers
1814 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
47
submitted 18 hours ago* (last edited 18 hours ago) by Teppichbrand@feddit.org to c/linux@lemmy.ml
 

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?

top 30 comments
sorted by: hot top controversial new old
[–] lordnikon@lemmy.world 1 points 4 hours ago

Or debian with distrobox and you have all the benefits of all the distros at the same time lol

[–] flashgnash@lemm.ee 6 points 7 hours ago

When I was doing it I started from scratch, you can generally keep your home directory intact between distros though, settings and data stay

[–] communism@lemmy.ml 4 points 7 hours ago

I prefer to do it clean and manually transfer files, because I usually don't want a copy paste of my previous setup. For files that are just, for lack of a better way of putting it, personal storage (ie the files that are not dotfiles in my home directory, eg pictures and documents etc), they are on a Nextcloud.

[–] Ulrich@feddit.org 3 points 8 hours ago (1 children)

What do you do with all your music, pictures, addons, portable software?

I sync them to a NAS using Syncthing. Not just when switching but always. Already saved my ass several times.

[–] _edge@discuss.tchncs.de 1 points 7 hours ago (1 children)

Which NAS supports Syncthing?

[–] Ulrich@feddit.org 1 points 6 hours ago

Whichever one you install it on.

[–] JoeKrogan@lemmy.world 5 points 11 hours ago* (last edited 11 hours ago)

I used to just do it from scratch each time but when I went to Debian years ago I didn't need to distro hop again as it is just a rock solid distro and it just keeps going. If migrating a machine I usually just copy the home dir after ive set up the machine.

[–] Ephera@lemmy.ml 31 points 17 hours 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 18 points 17 hours ago (2 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.

[–] nous@programming.dev 8 points 13 hours 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 3 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 2 hours ago

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.

[–] m4m4m4m4@lemmy.world 3 points 15 hours 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 13 hours 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 3 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 3 points 13 hours 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.

[–] anothermember@lemmy.zip 8 points 15 hours ago

I don't distrohop much these days because I'm happy with where I am. But I actually enjoy having a clean start once in a while; going back and experiencing the defaults for a time helps clarify which customisations are actually really useful and which ones I'm just stuck in a rut with which happens a lot more than I usually expect. Of course I back up all my data/media and move that across, but configurations I like to approach with a clean slate. It's quite freeing to know that I can just wipe and reinstall my system at any time without much difficulty.

[–] prole@beehaw.org 3 points 12 hours ago* (last edited 12 hours ago) (2 children)

I don't. I switched to Bazzite after using EndeavourOS for a while, and those are the only two I've used. I see no reason to ever go back from Bazzite though.

With immutable distros you can "rebase" very easily to a different immutable distro with literally one command. I haven't really messed with it yet, but it seems pretty straightforward.

[–] Teppichbrand@feddit.org 1 points 6 hours ago

I'm really interested in an immutable distro. I installed Silverblue on a friend's laptop, tried it, liked it but I'm on Linux Mint and I don't want to switch. Immutable Mint Debian Edition would be great. :)

[–] themadcodger@kbin.earth 1 points 9 hours ago

That's me and Bluefin now.

[–] 1984@lemmy.today 4 points 13 hours ago* (last edited 13 hours ago)

All my stuff is on a network drive (movies and other big files). All configuration of apps is in git (their config files).

Makes it easy to start over.

I just reinstall apps I need, it's so simple with Linux and package managers handling it all.

[–] Maroon@lemmy.world 4 points 14 hours ago

I used to distrohop in the past. It's nice to have a USB stick from which multiple distros can be booted. I used YUMI by flashing on a 16 Gb USB stick. After that it's a simple case of downloading your .iso of choice, clicking and dragging it into the YUMI drive.

There was a Ventoy craze in the middle. I have never used it, so I cannot attest to its experience.

What I generally check in a distro:

  1. The programs that come built with the distro. Over a period of time, I stick to one distribution (say, Linux Mint), but install the software that I like from another distro (Say the Clipboard application from MXLinux).
  2. How quickly the distro installs.
  3. The software version in the distros repository. For example, MXLinux repos tends to be more up to date compared to Mint.
  4. How the distro customises the Desktop environment. Example, the way cinnamon and XFCE are customised in Mint and MXLinux respectively is very different from the base install of these DEs. That quality of life addition can really change your opinion on using the distro as a whole if you are a newcomer.
[–] Enkers@sh.itjust.works 4 points 15 hours ago

So many settings I changed, applications I installed, configured and forgot about.

Yeah this gives me existential dread as well. This is why my next distro will probably be NixOs. Their distro's philosophy is designed off of a configuration based environment.

That hypothetically solves all those problems, although I'm sure it adds some new ones of its own.

[–] that_leaflet@lemmy.world 1 points 11 hours ago

By far the most important thing I've done is created a list of all the package names. With just one command, I can reinstall all my apps.

The second most important thing I've done is created a long list of gsettings/dconf commands that configure Gnome to my liking.

I've also moved most of my user data off my OS drive to removable drives. But I don't have my home on a separate drive since I don't want to share that across different distros since they configure things differently. It's also just a lot easier to not have a separate home.

Apart from that, the script I have also copies over some config files, sets my hostname, sets flatpak overrides.

[–] Libb@jlai.lu 4 points 16 hours ago

I don't distrohop but I do backup my home folder which also contains most of my settings & tweaks. I also keep a simple list of all the apps/packages I have installed in a text file.

I had to reinstall a few weeks a go (new SSD) and it took me maybe 10 minutes to make the base install + all my apps ( 'sudo apt install' with a copypaste of my list of apps), and then the time required to copy my home folder too (which was fast). Add to that the couple apps I have to manually install (like Filen for the cloud, Bitwarden for passwords) and that's it. It's really one of the things I appreciate since I switched to Linux (coming from Mac where a fresh install now takes... a lot of wasted time).

[–] Mwa@lemm.ee 1 points 13 hours ago* (last edited 13 hours ago)

I don't really distrohop alot but this is what makes me distro hop and this is what i look in a disto.

  1. What packages does the official repo have.
  2. How frequently the distro breaks (Low to no breakage prefered)
  3. How old the packages are.
[–] Noble_bacon@lemmy.ml 2 points 16 hours ago

As someone who distrohoped quite a bit, let me give you some advice:

  • Try the new distro in a VM first.
  • Configure your distro as you want and put all the commands you used in a script to use when you make the switch.
  • Ask your self, what do i get from distrohoping? Is it really worth it?
  • Create a dotfilles git repo with all of your configs. Create a script to install your dotfiles easily. (Either by copying them to .config or creating symlinks)

Remember that, at the end, linux is linux, remember that you can customize you distro to look exactly like the fancy one you saw.

[–] fredrik@lemmy.world 2 points 16 hours ago

A way to distrohop could be a virtual machine. That way you aren't "sacrificing" your current install.

If you choose to reinstall, try to document all the changes you are doing and why. See if you can automate the changes. That way you can always get back to a desired state with minimal input on your end.

[–] BananaTrifleViolin@lemmy.world 1 points 15 hours ago* (last edited 15 hours ago)

I use virtual machines and live usbs to try out distros when I'm thinking of a change. That gives you a chance to get a feel for the design philosophy of a distro and whether it works for you.

As others have said, back up is really important. You can back up a lot of settings and preferences and bring them to a new distro. They're stored in your home directory in folders like .config and .local.

I keep a back up of my /home folder. I'm also a KDE main so use Konsave to specifically back up my KDE theme and settings.

If you are at the point of moving then that's the time to make backups ready to restore. Also get a list together of the apps you want to keep so you can get set up quickly in a new distro.

Also another habit to get in to is backing up any major config changes into your Home folder for later reference. Even if you don't use the exact same file it can be useful to have somewhere that reminds you what you tweaked or did to get the system how you wanted it. For example I keep copies of my fstab file (just for reference!), and config files for programs I put in /opt amongst other tweaks I've made.

I also save Web pages which have specific tips I used in Linux configs - really helpful if you ever need to go back and do something again. I write txt files on some complex or niche things to remind me exactly what I did as you're unlikely to remember things you've only done once. These are two habits it's worth getting into - saves so much time hunting for how to do things when you need to, even if you're not moving distros.

All these things together make switching distros much easier should you want to do it.

[–] iopq@lemmy.world 0 points 16 hours ago

Honestly, why switch distros? I switch DEs from time to time