Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 07-28-2012, 02:07 PM   #1
Registered: Aug 2011
Posts: 223

Rep: Reputation: Disabled
Using the same /home directory for two installations.

Recently I found out about Elementary OS Luna, and got the Alpha build, and installed it on my netbook, which has a 64GB SSD. Unfortunately, it often drops the wifi, or has a number of other annoying things, which are probably due to it being Alpha, so not fully tested. While I am reporting these bugs, I also use my netbook for development.
Unfortunately, this unstableness has been preventing this development, so I had the idea of installing Debian 6.0.4 GNOME along side.
Is there any way I can install them side by side, so they use the same /home directory, without them sharing gtk themes, and other nasty things.
Old 07-28-2012, 04:54 PM   #2
Senior Member
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Linux Mint
Posts: 1,649

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
You could do what I do - each distro gets its own partition with its own /home. My ordinary user has the same UID in each distro. On yet another partition, which is automounted on the same mountpoint in each distro, I keep folder containing the common files that I symlink into the home directory for my ordinary user in each distro.

A simple example in case my explanation appears to be confusing:
Partition sda6 contains the folder ordinaryuser_bin
/dev/sda6 is mounted at mountpoint /mnt/CommonFiles in all distros
In each distro, /home/ordinaryuser/bin is a symlink to /mnt/CommonFiles/ordinaryuser_bin

I found that using a common $HOME for all installed distros got a bit messy because of different distros using different versions of programs such as Firefox.
2 members found this post helpful.
Old 07-29-2012, 12:39 AM   #3
Registered: Aug 2011
Posts: 223

Original Poster
Rep: Reputation: Disabled
Hmm... I think I will give that a shot so I can dodge the problems with compatibility.
Old 07-29-2012, 05:46 AM   #4
David the H.
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,837

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
I don't think there should be any problem using the same /home partition for both distros. Just configure your fstab to mount the existing partition over your /home location.

What you should not do is share the same user between them. Since different distributions can have different paths, command names, etc, the configurations sitting in the user's home directory can get messed up. Always create a separate user for each OS.
2 members found this post helpful.


debian, dual boot, home

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
User does int getting home directory in root home in ubuntu 10.04 lucid lynx sunrised24 Linux - Server 2 03-07-2012 09:21 AM
"Home directory already exists. Please enter another home directory path." Daravon Ubuntu 2 02-15-2009 10:26 PM
contents of 'home' directory found at sda5: mounted as /home, and also on sda6:/home leswatson Linux - Newbie 4 04-18-2008 04:02 PM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:18 AM.

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