this post was submitted on 14 Jun 2023
4 points (100.0% liked)

Linux

49415 readers
1759 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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!

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

Should be "trivial", yes. The central OS components (e.g. systemd or whatever) shouldn't care about anything in your home directories. Only apps that store your user preferences, user DBs, etc. there should. So you might have some old hidden directories that won't be used anymore, some that hopefully different versions of the same apps if applicable can migrate the data from, etc. But it shouldn't affect the general functioning of your OS.

It wouldn't be a bad idea to first 1. backup the home directory, in case any app data migrations mess things up somehow, and 2. create a user with a home directory path that didn't exist in the old dir structure, in case you need to login as that user to fix things (e.g. let's say your profile or shell resource script has something that a new shell version in the new distro doesn't understand and that keeps you from logging in).

[–] [email protected] 1 points 2 years ago (1 children)

as far as I know it should be possible? was your home partition actually mounted at /home or another location?

I'm not completely clear on that based on your post.

[–] [email protected] 1 points 2 years ago

In Manjaro I went throught the hoops of setting it up and it worked flawlessly, I don't remeber the details but I assume it was in fact mounted at /home.

Pop_OS never mounted it at /home, I briefly accessed it through /tmp I believe, everything borked when I renamed /home into /home.bak and then I launched the file explorer, so it had nothing to do with my Manjaro /home mount...

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

Im not sure exactly how you borked it but you can generally just point the popos installer to your old home, it shouldnt format it unless its flagged for format during the install, make sure it isnt and you should be fine.

Home does contain config files that might mismatch depending on the version differences between manjaro and popos, but not sure if it will cause much problems

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

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, so 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.

load more comments
view more: next ›