Using the same /home directory with fedora and Ubuntu

6 views
Skip to first unread message

Jayamal

unread,
Jun 13, 2010, 4:05:04 AM6/13/10
to Linuxකතා
I have installed fedora 13 using bellow partitioning scheme. I need to
install Ubuntu 10.04 to the same hard drive using remaining free space
(Unallocated). I need to know whether there is a way to use the
previous /home directory also for ubuntu.

/boot 250MB
/swap 2048MB

Physical Partition
Logical Volumes
/
/home
/var

Your help is appreciated.

Supun Budhajeewa

unread,
Jun 13, 2010, 6:11:13 AM6/13/10
to linux...@googlegroups.com
2010/6/13 Jayamal <kulat...@gmail.com>

I have installed fedora 13 using bellow partitioning scheme. I need to install Ubuntu 10.04 to the same hard drive using remaining free space (Unallocated). I need to know whether there is a way to use the previous /home directory also for ubuntu.

Yes you can!

Select the very partition you used for /home directory in Fedora as the /home directory of Ubuntu, when installing Ubuntu. Its that simple!

BE CAREFUL, not to select to format the partition!!!

I suggest you to use very user name you used for Fedora as your user name in Ubuntu, so, /home/username will be your personal home directory on both Fedora and Ubuntu.
 
--
Budhajeewa, Supun
---
budha...@gmail.com

Sameera Shaakunthala

unread,
Jun 13, 2010, 9:05:46 AM6/13/10
to linux...@googlegroups.com
Not recommended.
Sometime back I tried this by myself with an Fedora 11 and the latest Ubuntu release by that time. There's a some kinda 'permissions rival'. :P

Fedora and Redhat -- OK
Ubuntu and Debian -- OK
Fedora and Ubuntu -- not OK

But try it. May be it'll work.

2010/6/13 Supun Budhajeewa <budha...@gmail.com>

--
ඔබට මෙම පණිවිඩය ලැබෙන්නේ ඔබ Linuxකතා සමූහයෙහි සාමාජිකයෙක් වන බැවිනි.
 
මෙම සමූහයට ලිවීම සඳහා linux...@googlegroups.com වෙත ලියන්න.
මෙම සමූහයෙන් ඉවත්වීමට අවශ්‍ය නම් linuxkatha+...@googlegroups.com වෙත යන්න. නැති නම් linuxkatha+...@googlegroups.com වෙත ලිපියක් එවන්න.
 
වැඩිදුර තොරතරු සඳහා මෙම ලිපිනය ඔස්සේ Linuxකතා සමූහය වෙත පිවිසෙන්න;
http://groups.google.com/group/linuxkatha?hl=si_US?hl=si



--
෴සමීර ශාකුන්තල | Sameera Shaakunthala෴
-------------------------------------------------------------------
http://www.shaakunthala.com



Buddhika Siddhisena

unread,
Jun 14, 2010, 2:27:44 AM6/14/10
to linux...@googlegroups.com
Yes this has to do with the UID. Debian / Ubuntu starts uids from 1000
so they are compatible. Redhat/Fedora starts with 500. You can fix
this by manually changing the uid upon creating the user by using
usermod -u.

But this is not much recommended due to the conflicts you might have
with different versions of software overwriting each other. Most
config files are stored in the users home directory using dot files
(eg. ~/.gnome2).

Recommended way is to use the same /home but create the username to be
slightly different.

Bud

--
Bud

Geek with an Attitude
Blog: http://geekaholic.org
http://sinhalenfoss.org

Reply all
Reply to author
Forward
0 new messages