Skip Navigation

How to distrohop!?

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?

37 comments
  • 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.

  • 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.

  • 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.

  • 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).

  • Get a spare computer. Then you will feel more inclined to mess with it. And your main computer is always ready to look up issues and set up boot USB sticks. You will definitely try out lots more distros without hesitation.

    And there are some cool mini PCs to buy quite cheap.

  • 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.

  • If your package manager is apt, you can get a list of all the packages you have installed with

    apt list --installed

    There's also a command to automatically reinstall all your apps from the list, I don't remember offhand, but I usually just do them manually from Synaptic.

    As other commenters have said, some people keep their /home on a different partition so you can reinstall or install a different distro without losing all your configurations (always back it up first anyway of course). But another thing I've done a lot is just have a different disk or partition with all my data files on it (called 'data' of course :p ), and I put a link to it in my home directory. So when I reinstall the OS I do have to backup my home dir and then copy it over to the new install home dir, but it's small and just has my dotfiles and things.

    Also on the data partition I have a backup subfolder where I keep a copy of any system config files that I've edited (usually found in /etc/), such as my pulseaudio config, so I can restore those.

    And you can always try out different distros in a virtual machine or with a live USB before making the commitment of installing one on your hardware.

  • 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.

37 comments