LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 06-11-2002, 08:14 AM   #1
sakeeb
Member
 
Registered: Apr 2002
Posts: 270

Rep: Reputation: 31
sharing partions between distro


i would like to have more than one distro in my system. so i want to create seperate partions for the directories which can be shared between the distros. so what are the different partitions i should create.
 
Old 06-11-2002, 08:28 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
well everything apart from /home should really be unique. you can share swap naturally, and i suppose /tmp could be up for sharing, but don't quote me on it. you could also use a common /boot if you really want to, just be careful about the kernel names you use.
 
Old 06-11-2002, 09:31 AM   #3
sakeeb
Member
 
Registered: Apr 2002
Posts: 270

Original Poster
Rep: Reputation: 31
thanks for ur reply. i never tried two distros at a time in my system. my doubts are not cleared yet.

suppose i have a RH disto installed and /usr /boot etc are seperate partions. if i am installing another distro say debian. if specify the mount points for /usr, /boot etc as the same mount point as of RH, will the new distro create additional files like /usr/lib ....
 
Old 06-11-2002, 09:40 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
if you're attempting to install a second distribution on to the SAME partition as an old one then naturally that will totally screw everything up. locations like /usr will DEFINITELY have to be seperate. i wouldn't instantly recommend using a common /boot, as you'd need to install one first and then change the file names to ensure they would not be written over and such.
 
Old 06-11-2002, 09:48 AM   #5
sakeeb
Member
 
Registered: Apr 2002
Posts: 270

Original Poster
Rep: Reputation: 31
only /usr partion should be seperate. should i use seperate partions for system folders like /etc,/sbin,bin etc
 
Old 06-11-2002, 10:00 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
yes certainly, like i said only /home is definitely safe. if ou share /etc/ then you'll obviously screw up.. where does the OTHER fstab file go????
 
Old 06-11-2002, 11:08 AM   #7
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
I normally create 1 partition like /data or whatever that holds the stuff you want to keep - might be a good choice to go with ext2 there.
One swap and the rest is special for each distro. I suppose you could also share /home but all the for keeps stuff goes to /data anyway.
Plus if you share /home some of the files in there might screw up operations - like one distro uses kde2 the other kde3.
 
Old 06-12-2002, 04:33 AM   #8
sakeeb
Member
 
Registered: Apr 2002
Posts: 270

Original Poster
Rep: Reputation: 31
ok guys. now i understand things. now i want to know that if want to install two versions of same distributions(say RH5 and RH7), can i share the partions like /etc, or /usr.

i am not goint to install two versions of same distro. this my silly doubt.
 
Old 06-12-2002, 06:21 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
NO! take a hint huh?!!! /usr contains the PROGRAMS. they will be different versions and everything in different distros, There is no quantum duality around that says you can have two files in the same place with the same name that are different. not possible.
 
Old 06-14-2002, 06:53 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
he he he he, quantum duality. Yeah dude, just have a shared /data or /home... nothing else. At least until you get the hang of it.
 
  


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
partions how to? {DoG}Corpse Linux - Newbie 10 09-24-2006 09:58 PM
partions sanjay2004 Linux - Software 2 05-16-2005 09:27 AM
partions boyd98 Debian 3 02-14-2005 08:24 PM
bootable CD file sharing distro? e1000 Linux - Distributions 1 07-03-2004 02:22 AM
more than 4 partions?? chrismiceli Linux - General 3 03-02-2004 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 02:57 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