Home Learn Linux Linux Answers Applications How do I switch distro and keep everything?
  • Accepted Answer

    The easiest way for you to change between distributions without losing your data would be to plan before you install. By creating /home on it's own parittion, during any future distro changes opt to not wipe the entire disk and keep your /home directory in tact. That said, it sounds like you didn't do that.
    You can keep your data a couple different ways. If you have another Linux system (even a Windows system booted using a livecd/liveusb) you can tar your /home and rsync it to the other system and later rsync it back. Rsync uses ssh protocol as does scp/sftp, so you'd only need to get a disk mounted and an ssh server started.
    Another option would be to use a livecd and mount your currect Linux partition, assuming everything except swap is on one / (root) partition. Delete all the directories other than the home directory once and then during install, tell the new distro's installer to use the partition without doing a format. Your home directory and /home/ will still be in-tact. However your user's UID (number your username maps to) may be different after your new install unless you specify it to match when it creates your first user. You can find out your current user's UID by typing id in a terminal or using your system's gui tool for user management.

    Answered by tdr
    3 years ago
    0 1
  • Thanks a million! THAT is MUCH easier than either typing it all in or even "import / export" of some fashion. Thanks again!
    Rev Lou

    Answered by Rev Lou
    3 years ago
    0 0
Similar Questions Found
Questions from category Applications

Upcoming Linux Foundation Courses

  1. LFS101 Introduction to Linux
    01 Jan » 31 Dec - Online Self-Paced
  2. LFS201 Essentials of System Administration
    01 Jan » 31 Dec - Online Self-Paced
  3. LFS201-Esp Fundamentos de Administración de Sistemas Linux
    01 Jan » 31 Aug - Online Self-Paced

View All Upcoming Courses

Community Answers - Search

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board