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 04-12-2004, 01:49 AM   #1
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
shared partitions among distros?


hi,
i plan to install 2 or 3 distros.
i have a few questions:

1) which partitions can be safely shared among the distros? (i think swap is one.)
for example, /home usually stores my personal stuff, right? so can all distros use 1 /home partition instead of having their own?

2) there's /root, but / is also called "root." what's the difference?

3) what's a kernel image?

thanks.
 
Old 04-12-2004, 01:54 AM   #2
smartfüd
LQ Newbie
 
Registered: Apr 2004
Location: Burlington, VT USA
Distribution: MDK 10.0, Fedora Core 1
Posts: 22

Rep: Reputation: 15
Really, the only safe one IMO would be the /swap partition.

In MDK and Red Hat/Fedora, you only truly need 3 partitions: /, /boot, and swap. The rest are optional. If you tried to share the / and /boot partitions they'd just get formatted during the second install you did, destroying your first install. This goes for the rest (/root, /var, etc). Swap doesn't matter because no two distros are accessing at once and no info is being saved there.
 
Old 04-12-2004, 02:49 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
just use one partition for each distribution and share 1 swap among them.

/ is the root directory
/root is the root user's home directory. it doesn't have to be. you can move it.
 
Old 04-12-2004, 05:25 AM   #4
davoman
Member
 
Registered: Nov 2003
Location: New Zealand
Distribution: Ubuntu 6.10/7.04
Posts: 51

Rep: Reputation: 15
Speaking of which. I want to move my /home directory and put it onto another partition, which in turn will be mounted to /home.

How can I best do this? I've got like 10mb free on my slackware partition & I desperately need to move my /home directory onto another partition.

I desperately need the space to download more episodes of Spongebob Squarepants.

/dev/hda3 ---> slackware (everything incl swap)
/dev/hda4 ---> fresh new 4gb of space for Spongebob Squarepants
 
Old 04-12-2004, 06:04 AM   #5
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
mount the empty partition somewhere and copy everything in home to it, then mount it at home. add an entry in fstab for your new /home partition. delete the old home stuff when
you are confident you've copied everything correctly.
 
Old 04-13-2004, 04:59 AM   #6
davoman
Member
 
Registered: Nov 2003
Location: New Zealand
Distribution: Ubuntu 6.10/7.04
Posts: 51

Rep: Reputation: 15
Ahh! True! Just how I thought you'd do it. I'm getting the hang of this. Although I tried copying /home yesturday & got all these crazy file-system errors.

I did it today and it was sweet. This is great! I now have plenty of room for Spongbob Squarepants!
 
Old 04-13-2004, 05:15 AM   #7
davoman
Member
 
Registered: Nov 2003
Location: New Zealand
Distribution: Ubuntu 6.10/7.04
Posts: 51

Rep: Reputation: 15
Oh yeah & thanks!
 
Old 04-13-2004, 06:11 AM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
if you don't get the permissions right in the copying, some users may have trouble getting their files. and you really can't get to the home directory with the other partition mounted at home. and spongebob is probably scared of dimmu borgir and cradle of filth.
 
Old 04-14-2004, 05:56 AM   #9
davoman
Member
 
Registered: Nov 2003
Location: New Zealand
Distribution: Ubuntu 6.10/7.04
Posts: 51

Rep: Reputation: 15
He's probably the only one scared of dani these days. I found a flag that made cp preserve the file permissions etc, which seemed to remedy that. Cheers.
 
  


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
Shared /home and /boot partitions? Elnsoxo Linux - General 3 10-20-2007 02:23 AM
swapping 2 distros on different partitions hypermegachi Linux - General 10 08-05-2004 02:30 AM
Two distros on same partitions? stevoman098 Linux - Newbie 5 01-31-2004 12:16 AM
filesystems & shared partitions bukowski Linux - Newbie 1 11-15-2003 01:44 PM
Partitions and Multiple Distros AlThor880 Linux - Newbie 13 10-25-2003 11:24 AM


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