Distro hopping is half the fun of Linux, but a fresh install wipes the drive unless you plan ahead. The good news is that nearly everything personal on a Linux PC lives in one place, your home folder, so keeping your data comes down to protecting that folder. There are three dependable ways to switch distros without starting from zero, plus an in place option for a few closely related server distros.
What you actually need to carry over
On almost every distro, your personal data sits in /home/yourname. Next to the obvious folders such as Documents, Pictures and Downloads, it holds hidden folders that start with a dot. These store app settings, browser profiles, email, SSH keys and the data of Flatpak apps. Installed programs and system settings live elsewhere, and they do not travel well between distros anyway, because each family uses its own package manager, versions and defaults.
Documents, photos, music, videos, projects and downloads.
Hidden config folders such as .config and .local.
SSH and GPG keys, password manager vaults, browser bookmarks.
Installed apps and system tweaks. Write a list before you switch.
Method 1: Keep /home on its own partition
This is the classic Linux trick. If your home folder sits on a separate partition, or on a second drive, you can wipe and replace the operating system while leaving your files untouched. It takes a little planning at install time, but every later switch gets much faster.
- In the installer, skip the automatic option and choose manual partitioning. Ubuntu calls it Manual installation, while other installers use names such as Custom or Advanced.
- Create a root partition with the mount point
/for the system. Give it enough room for apps and updates. - Create a second partition, or pick a second drive, with the mount point
/home. - When you later install another distro, open manual partitioning again, select the existing home partition, set its mount point to
/homeand leave the format option unticked. - Format and reuse only the root partition, then create a user with the same username as before.
Two small snags can show up after the switch. First, file ownership is tied to a numeric user ID. Most distros give the first user ID 1000, but if yours differs, run chown on your home folder so the new account owns its files again. Second, old settings can clash with a different desktop. If you move from KDE Plasma to GNOME, or the other way around, rename the hidden .config folder to keep a copy and let the new desktop start clean.
Method 2: Back up, clean install, restore
This method works for everyone, including people whose current setup has everything on one partition. It is also the safest, because you end up with a full copy of your data on another drive.
- Plug in an external drive with enough free space. A drive formatted as ext4 keeps Linux file permissions intact.
- Copy your entire home folder, hidden files included. You can use rsync in archive mode from the terminal, or a graphical tool such as Deja Dup, which GNOME lists simply as Backups.
- Open a few files from the backup to confirm it worked.
- Install the new distro and let it use the whole drive.
- Copy your personal folders back first. Bring hidden config folders back one app at a time, only for the apps you actually use.
Method 3: Test drive first with a VM, live USB or dual boot
The cheapest way to avoid losing data is to avoid switching to a distro you end up hating. Boot the new distro from a live USB to check that your WiFi, graphics and printer work. Install it in a virtual machine with GNOME Boxes or VirtualBox to try your daily apps for a week.
If you want a longer trial on real hardware, shrink your current partition and install the new distro next to it for a dual boot setup. Resizing partitions is generally reliable, but it is exactly the kind of operation where a power cut ruins your day, so back up before you start. A shared data partition that both systems mount makes the eventual move almost painless.
Bonus: in place conversion for related distros
A handful of tools switch distros without a reinstall, but only inside the Red Hat family. Red Hat offers convert2rhel, which turns systems such as CentOS, AlmaLinux, Rocky Linux and Oracle Linux into Red Hat Enterprise Linux. The Rocky Linux project offers migrate2rocky, which moves compatible version 8 and 9 systems to Rocky. These are aimed at servers, and their own documentation recommends a backup and a test run first.
For desktops there is no general purpose converter between unrelated distros like Ubuntu and Arch. If what you really want is a different look, you may not need a new distro at all. Installing another desktop environment on your current system is often enough.
| Method | Best for | Effort | Main risk |
|---|---|---|---|
| Separate /home | Frequent distro hoppers | Medium once, low later | Formatting the wrong partition |
| Backup and restore | Everyone | Medium | Missing hidden folders |
| VM, live USB or dual boot | Undecided users | Low to medium | Partition resizing errors |
| In place conversion | Red Hat family servers | Low | Package conflicts |
FAQ
Can I reuse a home partition between Ubuntu and Fedora?
Yes. Your files sit on a standard Linux file system that any distro can read. Just keep the same username, check the user ID and be ready to reset desktop settings if the new distro ships a different desktop.
Do I still need a backup if /home is on its own partition?
Yes. A separate partition survives a reinstall, but it does not survive a mistyped choice in the installer, a dead drive or ransomware. Keep at least one copy on another device.
Will my Flatpak apps come back after the switch?
Their data stays in a hidden folder inside your home, but the apps themselves need to be installed again on the new system. Once you reinstall them, they usually pick up where they left off.
The verdict
Switching distros only costs you data if you skip the preparation. Back up your home folder first, use a separate /home partition if you plan to hop again, and test any new distro in a VM or live session before you wipe anything. Do that and a new distro becomes an afternoon project rather than a fresh start.
Updated October 2026: rewritten as a current guide covering separate home partitions, backup and restore, test installs and in place conversion tools.
Featured photo: Joshua Woroniecki on Unsplash.
About this article: GeekBlog covers U.S. technology news, AI, phones, smartwatches and gaming. Every story is written and checked under our Editorial Policy. Spotted a mistake or have a story tip? Contact our editors.

