LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-09-2008, 01:09 PM   #1
SkinnerC
Member
 
Registered: Dec 2007
Location: New England, USA
Distribution: Ubuntu 8.04 LTS, Slackware 12.2
Posts: 138
Blog Entries: 1

Rep: Reputation: 20
Multiple distros on one HD


If I partition my HDD as follows:

/boot 256MB
/home 10GB
/swap 2GB

can I partition the rest of the disk so that each partition is for a single distro and they can all use the /swap and /home partitions?
 
Old 12-09-2008, 01:14 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
As far as I know, it's not a good idea to share the same /home for different distros, I could be wrong though.
 
Old 12-09-2008, 01:22 PM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,362

Rep: Reputation: 135Reputation: 135
Skinner,U can share the same swap for all but not the /home ..
 
Old 12-09-2008, 01:30 PM   #4
SkinnerC
Member
 
Registered: Dec 2007
Location: New England, USA
Distribution: Ubuntu 8.04 LTS, Slackware 12.2
Posts: 138
Blog Entries: 1

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by divyashree View Post
Skinner,U can share the same swap for all but not the /home ..
TY for the quick answer.

If I can not share the /home, can I attach the larger partition to each distro's /home so that I can have all my files availible reguardless if which flavor I'm running?
 
Old 12-09-2008, 01:34 PM   #5
moxieman99
Member
 
Registered: Feb 2004
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 419

Rep: Reputation: 138Reputation: 138
Quote:
Originally Posted by SkinnerC View Post
TY for the quick answer.

If I can not share the /home, can I attach the larger partition to each distro's /home so that I can have all my files availible reguardless if which flavor I'm running?
------------
Put all your common data files (photos, letters, docs, etc.) on one partition accessible to all distros. The /home partitions within each distro can then be fairly small.
 
Old 12-09-2008, 01:39 PM   #6
nflenz
Member
 
Registered: Feb 2006
Distribution: CRUX 2.4
Posts: 96

Rep: Reputation: 18
Quote:
Originally Posted by divyashree View Post
Skinner,U can share the same swap for all but not the /home ..
Actually, you can share the /home partition across multiple distros fairly easily. You just need to make sure the users have the same UID on every distro.
 
Old 12-09-2008, 01:51 PM   #7
CDollmont
Member
 
Registered: Feb 2006
Distribution: Ubuntu/OpenSuSE
Posts: 33

Rep: Reputation: 15
nflenz is correct--you can share /home, but all users must have the same UID. The only issue you may run into is compatibility issues between different versions of software and their configuration files. If you're running, for example, the most recent Gnome in on distro and an older Gnome in another, your desktop may not load properly in one of the two.
 
Old 12-09-2008, 01:54 PM   #8
towy71
Member
 
Registered: Oct 2003
Location: Carmarthen, Wales
Distribution: Ubuntu and whatever is new kid on the block
Posts: 70

Rep: Reputation: 18
Quote:
Originally Posted by nflenz View Post
You just need to make sure the users have the same UID on every distro.
jschiwal answers that in this thread
 
Old 12-09-2008, 03:58 PM   #9
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I have used the same /home partition for all Linux for years, instead of trying to sync things by using the same user name I just created a different user name in each Linux so their settings were not altered or affected by the default desktop environments of the differing Linux distributions. You can expect issues to arise using the same user name accessing the same /home directory when different distributions use different versions of the same desktop environment, never mind a different desktop environment.

Over time I found it is better to have a shared data partition, this way user settings don't get altered by other distributions as the /home stays within /. And all systems can use/abuse/add/delete my data without rendering an OS un-bootable as can happen when sharing the same user's account from more than one system.

I run:
3 flavors of Windows NTFS
3 flavors of Linux
Mac OS X Leopard

All can read/write to the data partition using ntfs-3g where it is not their default file system as the shared data partition is the most robust file system...NTFS.

Last edited by Junior Hacker; 12-09-2008 at 04:03 PM.
 
Old 12-17-2008, 01:22 PM   #10
SkinnerC
Member
 
Registered: Dec 2007
Location: New England, USA
Distribution: Ubuntu 8.04 LTS, Slackware 12.2
Posts: 138
Blog Entries: 1

Original Poster
Rep: Reputation: 20
Another thing

Can I use the same /boot partition or does each distro need its own /boot? I have googled grub and multi booting but can not find a clear answer on how this is done. I am running multiple linux distros.
Ubuntu
Slackware
Gentoo or LFS
 
Old 12-17-2008, 01:27 PM   #11
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 302
Blog Entries: 1

Rep: Reputation: 34
yes /boot can be set to common for ubuntu just dump the kernel initrd in the /boot of your common boot partition( i have done this and it was working fine with rhel + ubuntu ). for slackware and gentoo i havent used them.
 
Old 12-17-2008, 03:27 PM   #12
unixer12
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Rep: Reputation: 0
Shared /home

I would be cautious when sharing /home between distros. The hidden files can contain app-version specific data which might not work in one distro. You might not want DistA to overwrite your .fspot or .gimp because DistA uses another format or whatever, can get messy. Create a /shared and drag files in.

I have enough problems upgrading a distro from major to major then reusing /home never mind a multiple-distro setup.

Cheers.
 
Old 12-17-2008, 03:39 PM   #13
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You can use the same /boot, but since /boot doesn't need to be on a separate partition (depending on you filesystem of course), just leave it as part of /
 
  


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
Multiple Distros ninadb Linux - General 1 05-26-2005 04:23 AM
Multiple distros at once D10|\/|3|)3$ Linux - General 2 12-10-2004 09:38 PM
multiple distros zigmund555 Slackware 6 02-20-2004 12:17 PM
Multiple Boot - Multiple Distros noname Linux - Distributions 3 05-08-2002 11:01 AM
multiple distros jppw Linux - Newbie 0 03-25-2001 12:16 PM


All times are GMT -5. The time now is 10:28 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration