Gentoo Forums
Gentoo Forums
Quick Search: in
two distros sharing home [solved]
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
onefriedrice
n00b
n00b


Joined: 26 Aug 2007
Posts: 53

PostPosted: Thu Feb 14, 2008 1:23 am    Post subject: two distros sharing home [solved] Reply with quote

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 2:35 am; edited 1 time in total
Back to top
View user's profile Send private message
artworcs
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2005
Posts: 115

PostPosted: Thu Feb 14, 2008 1:27 am    Post subject: Reply with quote

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
View user's profile Send private message
onefriedrice
n00b
n00b


Joined: 26 Aug 2007
Posts: 53

PostPosted: Thu Feb 14, 2008 2:34 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum