| View previous topic :: View next topic |
| Author |
Message |
onefriedrice n00b


Joined: 26 Aug 2007 Posts: 57
|
Posted: Thu Feb 14, 2008 6:23 am Post subject: two distros sharing home [solved] |
|
|
Hi.
I've had Gentoo on my laptop forever and I recently installed Ubuntu so I can test some of my things on a Debian-based OS. So here's how my disk ended up:
hda1: / (Ubuntu)
hda2: /boot (shared)
hda3: /swap
hda4: / (Gentoo)
The disk isn't really big and it would be convenient to share the home directory between the two. I'm not sure how this would be done since my home isn't a separate partition but is a subdirectory of my Gentoo root. I would know how to edit fstab on Ubuntu if /home was its own partition, but I don't know how to make it mount a subdirectory of a partition.
Any hints?
Last edited by onefriedrice on Thu Feb 14, 2008 7:35 am; edited 1 time in total |
|
| Back to top |
|
 |
artworcs Tux's lil' helper


Joined: 12 Jun 2005 Posts: 125
|
Posted: Thu Feb 14, 2008 6:27 am Post subject: |
|
|
First mount the partition to /mnt/hda1 and do a ln -sf /mnt/hda1/home /home
So that Ubuntu has /home and gentoo has a link
Edit: or the other way around depending on your available space |
|
| Back to top |
|
 |
onefriedrice n00b


Joined: 26 Aug 2007 Posts: 57
|
Posted: Thu Feb 14, 2008 7:34 am Post subject: |
|
|
Hey that's pretty slick. I didn't even think of symlinks. Thanks.
It's working pretty well. Only issue I saw was the firefox icon was missing from the gnome toolbar. Easily remedied. This will be nice; thanks again. |
|
| Back to top |
|
 |
|