Can I use the same home folder on different Linux systems (multiboot)?

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
    

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.


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