[Beginner] Importing /home from different Distro (Manjaro to Pop_OS)

dwindling7373@feddit.it to Linux@lemmy.ml – 1 points –

I had a dual boot I rarely used because reasons, one of them being that it was Manjaro and it kinda sort of borked itself and evey time I upgraded it asked me to make choices I had no idea what they meant.

I wanted to give Pop_OS a try so I went and nuked the Manjaro and set up the boot, root and swap of Pop_OS in its place.

Point is, I had the /home of Manjaro on a different location (The OS is on a SSD shared with windows and I put /home on a HD). I did not point Pop_OS to it at setup for fear of it being nuked (Will it nuke it? If not I guess I can do a new install and point it there?)

Can I link Pop_OS home to the old Manjaro home or do I need to take care of something (format it, remove some specific folder...).

I ask because I convinced myself the matter was trivial, but in the process of making sure the /home of Pop_OS was empty I ended up with a system hang and my passwords (both user AND root) being rejected and I had to reinstall the whole thing, so maybe there's more to /home than just a bunch of data?

Thanks!

2

Mounting the home partition at /home in the installer should work. Deleting the /home of the user you're logged in as isn't going to work because the applications you use to do it will most likely try to write something into ~/.local or .config, do it's never really empty. You could log into the root user though and do it from there.

Btw. It's not really beneficial to put your home partition on an HDD for the same reason. All Programs you use are going to have to access some hidden config or data files so it's going to slow everything down. (Also in case you use Steam, it installs all the games in ~/.local) A better way is to mount the HDD somewhere else and symlink your ~/Documents, ~/Pictures etc to the HDD.