Skip Navigation

Easiest way to switch distros

I have been using PopOS for a while now (came installed with my S76 Lemp10), but now looking for a new distro (I want to try Linux Mint). I am looking for the easiest way to set up the new distro with most of my current applications installed.

My current plan on how to move my applications and settings:

  • Get dotfiles to external repo (I am using stow)
  • Use ansible-playbook to set up installation of all the apps I need
  • Try the ansible setup on a docker container to ensure it works
  • Then try the ansible setup on a PopOS VM to ensure things work
  • Modify the ansible setup to use Linux Mint package manager (synaptic I believe)
  • Then try the ansible setup on a Linux Mint VM
  • Once everything works, copy the data, install new distro and run ansible script on the new OS

Is above the correct way to go about this, or is there anything better or easier available?

Edit: Thanks everyone for responses. The general consensus seems to be that that above is overkill (although doable and works) and copying home folder & dotfiles and trying out the distro fresh is easier, and install software as needed. Or, try NixOS :)

26 comments
  • you can automate a lot of the basc profile stuff in your dotfiles with some automation such as https://github.com/anishathalye/dotbot to bootstrap a new install. it makes your new distro right at home, and if you combine this with github to store your dotfiles, you’ll also have a backup of your environment.

  • I would try the Distro on an external SSD first maybe?

    PopOS is way more modern that Mint, so you may have negative effects from switching

  • I haven't tried it yet so anyone tell me if there are serious problems with it, but you can have a separate partition mounted at /home with your home folder so you can keep all your files and config files between distros

  • You could make a live distro image(s) of your choice and use em on a pendrive with ventoy installed. (It's a bit tricky tho.)

  • I'm pretty sure there's a easier way. I don't know what that way is but you likely don't need Ansible

  • How did you get on with this? I was looking to do this myself.

    It's that one step closer to having a customised disposable distro

26 comments