LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 08-24-2005, 03:34 PM   #1
Kelean
Member
 
Registered: Dec 2004
Location: G. R. Michigan
Distribution: Absloute 12.x and Slackware 12.0
Posts: 71

Rep: Reputation: 15
Common /home directory dual boot linux


I am going to reformat my hard drive and doal doot Debian Sarge and some other versions of linux. My question is can i have a common /home between both linux distros. It would be nice not to loose data every time I try a new distro.

Main would be Debian Sarge. On the second partition would be Zenwalk or maybe Gobolinux.

What would be possible problems be?

Thank you Kelean
 
Old 08-24-2005, 04:12 PM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
since it is unlikely that you'll have the same apps with axactly the same version running on the different system, there is a good chance you'd run into configuration problems. Sharing a user between distros isn't a good idea. You could af course use the same /home, as long as the usernames are different.
 
Old 08-24-2005, 04:47 PM   #3
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
it's all a question of partitioning.

yeah, it is possible... I've done it, but my hardrive is on the blink right now, no idea what the problem is, probably not this, but hey, do what you think is right.

titanium_geek
 
Old 08-24-2005, 07:11 PM   #4
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
The cleanest solution I've found is *not* to have a shared home, due to the configuration problems mentioned above. What I have is a separate partition for my data, mounted as /data in each installed distro. /home/mugstar consists largely of symlinks to directories on /data: for example /home/mugstar/music is a link to /data/music, and /home/mugstar/.mozilla-thunderbird points to /data/.mozilla-thunderbird (which gives me access to my mail regardless of which distro I boot into). /home.kde, and other config files, are not symlinked, and therefore stay untouched by other distros.

If you go down this path, you *must* ensure that *both* your username and your numerical user ID (UID) are identical in both distros. If you don't you'll run into a nightmare of mixed up permissions.

Distros differ in the default UID's they assign to a new user - some start at 500, others 1000. Some will allow you to manually set a UID during installation, others don't. For those that don't, create a test user first to see what UID the account is assigned.
 
Old 08-24-2005, 08:30 PM   #5
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
I like the /data idea- cool.

titanium_geek
 
Old 08-24-2005, 09:50 PM   #6
Kelean
Member
 
Registered: Dec 2004
Location: G. R. Michigan
Distribution: Absloute 12.x and Slackware 12.0
Posts: 71

Original Poster
Rep: Reputation: 15
Thanks mugstar, that is a great idea. I don't think I fully understand it yet, but will give it a shot.

The shared partition would be /data and point to that from each distro. I think that is what I was looking for, not I need to brush up on some more linux skills.

Thanks Kelean
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BOGUS.common.04y -> /home/common/Mailbox jayakrishnan Linux - Networking 0 11-19-2005 04:48 AM
2 x linux systems DUAL BOOT and only one /var directory cccc Linux - Security 1 06-23-2005 01:37 PM
Dual boot Redhat Linux 9.0/Windows XP home NIC problem shawn_t Linux - Hardware 6 03-09-2004 12:57 AM
how to partition hard drive for dual boot xp-home and linux system sabaki Linux - Laptop and Netbook 5 03-06-2004 02:10 PM
Stupid Automatic Recovery After Dual Boot of XP Home and RH/Linux 9 on Pavilion 784 michel.subs Linux - Newbie 1 09-25-2003 02:58 PM


All times are GMT -5. The time now is 09:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration