When installing more than one Linux version on the same computer (for testing purposes e.g. Ubuntu 10.10 and 11.04), is it possible to have the same home folder (e.g. on a separate partition) on all Operating system versions?


Although it is possible to have the same partition as a home partition on both installations, I would not recommend this: Apart from user files, the home folder includes also the settings for programs in hidden folders, and if the both operating system (OS) versions use the same programs in different versions, this can lead to conflicts.

Therefore it is better to only share only the user files. This can be done as follows:

  • On the first OS installation, just use a normal separate home partition
  • On the second OS installation, don't use a separate home partition, but bind all folders inside the home folder you want to share on both operating systems via /etc/fstab:
  • first, be sure to mount your home partition from the other OS somewhere. E.g., when your home partition is a ext3 partition on /dev/sda5, this fstab line does this:

    /dev/sda5  /mnt/sda5       ext3    defaults        0       2
  • now, bind all folders from that home partition to your own home folder on the second OS. This could also be done with a /etc/fstab line:

    /mnt/sda5/username/Downloads    /home/username/Downloads      none  bind  0  0

    does this for your Downloads folder. (adjust path to your own needs and repeat that with all other folders you want to.)

  • when you have finished /etc/fstab editing, remount all /etc/fstab entries by

    sudo mount -a
| improve this answer | |
  • I answered this myself to share this solution I found to be very useful. Additional tips and opinions are welcome! :-) – tobi May 13 '11 at 16:49
  • +1, but why bind mounts and not symlinks? – enzotib May 13 '11 at 16:57
  • @enzotib: I tried symlinks before, but that caused troubles: e.g., before creating a symlink, I renamed my Music folder to "Music-old" and then created a symlink from my other home partition's Music folder to ~/Music. But now, all programs looking for Music (e.g. Banshee) supposed them in "Music-old", not in "Music". (Same for Downloads and so on...) The System seems to have "remembered" the original folder although I renamed it. Using binds solved that problem for me. – tobi May 13 '11 at 17:41
  • 1
    tobi: your problem with Music-old was not caused by symlinks - you renamed the folder via Nautilus, which is smart enough to notice that you renamed a special folder and to update its settings (i.e. "the folder for music is now ~/Music-old"). Editing /etc/fstab allowed you to "fool" Nautilus and swap the folder without it noticing, that's all. You could achieve the same by creating a symlink in terminal :) – Sergey Oct 14 '11 at 13:59
  • @tobi where is the line /mnt/sda5/username/Downloads /home/username/Downloads none bind 0 0 done in the first or second OS – George Udosen Jun 14 '17 at 2:25

I am currently running Fedora 15 and Ubuntu 11.10 on the first 2 partitions, but they both share the third partition as a home partition. It seemed the real conflict was trying to share the same directory, not the same partition. If you want to point out why what I did was so terrible I would love to hear it, but I have had no issues so far.

| improve this answer | |
  • 2
    So you're saying you have a real experience (not guesses) in sharing a home partition between Fedora and Ubuntu (i.e. they use the same home directory - is that right?) - and you experienced no problems? – Sergey Oct 14 '11 at 14:04
  • @Sergey If I'm understanding correctly Odin is saying that he has separate directories but that they both live on the same partition. – Elder Geek Mar 6 '15 at 21:21

I have 2 dual booting machines - both sharing the same /home which is an entire drive.

One is currently running Ubuntu 14.04 32-bit and Ubuntu 14.04 Studio 64-bit and this one I'm on now is running Ubuntu 14.04 32 bit and Pinguy 14.04 32 bit.

Although I use Ubuntu 32 bit most often on both systems, I haven't had any problems with this approach thus far. This is by no means a guarantee that you won't have trouble and I'll admit I was a bit concerned that I might have issues with having a 64 bit and a 32 bit share the same home.

Note: I haven't tried this with non-Debian based systems thus far. The nice thing about having a good backup/restore plan is that even if you do something incredibly stupid, overcoming the problem is pretty straightforward.

Source: Experience

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.