LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This 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


Reply
  Search this Thread
Old 08-23-2010, 10:07 PM   #1
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Rep: Reputation: 37
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??

Thanks in advance for your replies...
 
Old 08-23-2010, 10:50 PM   #2
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 67
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.
 
Old 08-24-2010, 12:44 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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,...
 
Old 08-24-2010, 01:58 AM   #4
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by Meson View Post
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 View Post
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....
 
Old 08-24-2010, 02:25 AM   #5
chickenjoy
Member
 
Registered: Apr 2007
Distribution: centos,rhel, solaris
Posts: 239

Rep: Reputation: 30
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.
 
Old 08-24-2010, 06:05 AM   #6
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 67
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
Code:
for d in ~/arch; do mount --bind $d ~/$d; done

Last edited by Meson; 08-24-2010 at 06:06 AM.
 
1 members found this post helpful.
Old 08-24-2010, 07:11 AM   #7
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Some relevant discussion in this LQ thread.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi-distro LAMP setup Doubi Linux - Server 1 03-17-2009 10:41 AM
Multi-distro partition setup; does this sound like a good setup? Twilight in Zero Linux - General 5 02-22-2009 12:15 AM
MUlti Card and Multi Monitor ATI setup fails. Help tdiet62 Linux - Desktop 0 10-25-2008 04:36 AM
Multi Distro Boot Partition seekermeister Linux From Scratch 8 04-19-2007 06:17 PM
multiboot, multi HD, multi distro install help pfschim SUSE / openSUSE 4 05-25-2005 06:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 02:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration