Sharing /home partition in a multi-distro multi boot setup
Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sharing /home partition in a multi-distro multi boot setup
I am running openSUSE and Arch linux on my system with a commom /home partition. Both distros use KDE and the same users. The problem is that the kde settings of one distro gets mixed up with the other. I think the dot files in the user's home folder is the problem.
Is there a way to isolate the settings file of one distro from the other?? So that maybe each distro can access the settings in its corresponding folder in the user's home folder or something??
Or is there a better idea than using a common /home partition??
Well... you could have a base /home directory and then a aufs mount, one for each distro...
Even easier, if the only thing you want to be distro specific is under a particular dir like .kde, you can have .kde-arch and .kde-suse and do a bind mount to .kde depending on the distribution.
Well... you could have a base /home directory and then a aufs mount, one for each distro...
Even easier, if the only thing you want to be distro specific is under a particular dir like .kde, you can have .kde-arch and .kde-suse and do a bind mount to .kde depending on the distribution.
Sorry i didnt fully understand what you are saying... could u please elaborate???
Quote:
Originally Posted by John VV
suse and arch ? might? work together sharing ~/home ( it will be a pain in the "you know what" )
both use 1000 as a user id to start with
give it a go but BACK UP EVERYTHING
it might be much easier and better to share a DATA partition for photos,music,videos,...
It does work... SUSE n arch sharing the same home partition but i does have some irritating problems... like you change the wallpaper in one distro and the other shows a blank desktop. The firefox settings also create problems.
I am seriously considering data partiton... unfortunately the home folder does have a lot of data... so if there is an alternative... i'd definitely try it....
Suggestion: having a ~/home/shared folder to be automounted on login OR defined in the fstab would save you the trouble of having system files being re-used and modified by each distro after each login.
this folder would contain the non-system data that you want to be seen on both distos.
Lets say you wanted a separate set of Desktop icons for each distribution. You would have a ~/Desktop-arch and ~/Desktop-opensuse. Then, at some point during boot you would have a command that did
Code:
mount --bind /home/firewiz87/Desktop-arch /home/firewiz87/Desktop
Taking that a step further, you could have two directories in your home directory, "arch" and "suse" Then, for example during the Arch boot
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.