Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Can you reuse your home directory while distro hopping?

+3
−0

I want to install additional Linux distributions on my computer, so I can try some new ones and see if they're better than my current ("old") one.

I've been using my current distro for a while. I've figured out most things. Generally most everything works and if not I have a way of fixing it. When I switch to a new distro, there will be some initial acclimatization period when I haven't yet learned it well, and am unable to do some of my usual tasks with it. A contrived example: I don't want to explain to people that currently I can't print anything because I haven't figured out how to set up CUPS on the new distro yet. When that happens, I would want to just quickly boot into the old distro, print what I need, and figure out CUPS on the new one in due time.

When dual booting 2 distros, do I have to keep a whole parallel /home for each one? With all my configuration, user data, etc. duplicated for each distro? Or can I have them simply share /home?

My instinct is that it wouldn't work, because the user permissions wouldn't match up between the two distros. Also, I've heard that sometimes this breaks program in some mythical way, because a program in the new distro encounters some unexpected stuff left over by the old one, I guess...

Is there some easy way to make this work nicely?

Disk space is not an issue here, my /home is small, I have spare drives. Also, a lot of my config is automated, and I already synchronize it across multiple computers. So it's not the end of the world to have two homes, but of course if I could share one it would save me a few steps.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

1 answer

+1
−0

Permission wise you generally shouldn't have problems. Ownership in Linux/Unix uses numerical IDs, and on every major distribution the UIDs for regular users start at 1000, meaning the first user that is created during installation uses the 1000. Having a corresponding group with the same name is also pretty common. I'm pretty sure there are some exotic distributions out there which don't adhere to these practices, but I'd expect them to be rare.

sometimes this breaks program in some mythical way, because a program in the new distro encounters some unexpected stuff left over by the old one

This really could pose problems. Quite often the version numbers of the same program will vary from distribution to distribution, so with applications, services and libraries which are used by a lot of distributions (dbus, GTK, QT, pulseaudio and basically every desktop environment, to name a few) will have a high chance of problems when versions differ, especially major versions where there are chances that the format of the configuration files changes, or configuration options are added which are unknown to older versions.

One solution I can think of is to place the "main directories" (Desktop, Documents, Videos, Pictures etc.) in a different place and just symlink them to the home directory for each distribution.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »