LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-22-2009, 08:38 AM   #1
DeceasedSoul
LQ Newbie
 
Registered: Sep 2009
Location: Kathmandu, Nepal
Distribution: Slackware 12.2 ; RedHat 5
Posts: 7

Rep: Reputation: 0
Smile New Hard Disk


Got a new hard disk. I want to install both Slackware and Ubuntu in that disk. I think it is not difficult task but thought of discussing before.
I want to share /home partition, is it possible?

And what about SWAP? Is it possible to share or I have to make it separate for those two Distros?
 
Old 10-22-2009, 08:45 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
You can share the swap. Although it's possible to share the home directory (provided that both systems support the same filesystem), I personally advise against it. The two main reasons:
  1. if user IDs and group IDs on the two systems don't match, you have problems accessing files and directories
  2. different version of software might have slightly different config file formats and the might therefore be incompatible

Last edited by Wim Sturkenboom; 10-22-2009 at 08:46 AM.
 
Old 10-22-2009, 08:47 AM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
You can share both swap and home. There can be problems with sharing home, if the desktops are not at the same level. ie two different versions of KDE, say 3.5 and 4 would not mix well together.
 
Old 10-22-2009, 08:52 AM   #4
thegeek
Member
 
Registered: Oct 2009
Location: Amsterdam
Distribution: CentOS,Fedora,Puppy
Posts: 62

Rep: Reputation: 20
Why dont you just mount the shared partition as /data and avoid having /home shared ?
Would work out less complex , and still allows shared access for files etc.
 
Old 10-22-2009, 08:56 AM   #5
DeceasedSoul
LQ Newbie
 
Registered: Sep 2009
Location: Kathmandu, Nepal
Distribution: Slackware 12.2 ; RedHat 5
Posts: 7

Original Poster
Rep: Reputation: 0
Smile SWAP

Ok then, what about SWAP, is it OK to share SWAP?
 
Old 10-22-2009, 09:05 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Yes, it is.
 
Old 10-22-2009, 09:17 AM   #7
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Rep: Reputation: 65
Quote:
Originally Posted by DeceasedSoul View Post
Ok then, what about SWAP, is it OK to share SWAP?
Yes, swap can be shared.
Sharing /home is not recomended.
If the swap partition is not activated by default then add a line in /etc/fstab like
Code:
/dev/sdaX swap swap defaults 0 0
Here X is the placeholder for the partition number of swap.
After that,
Code:
su
password
swapon -a

Last edited by cola; 10-22-2009 at 09:19 AM.
 
  


Reply



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
Copy of IBM Server hard disk data to Another USB External Hard disk mazharcdn Linux - Server 2 09-02-2009 12:41 AM
Master Hard Disk Error after installing Ubuntu 8.10 - hard disk died koja Linux - Hardware 3 04-13-2009 08:44 AM
mounting linux files from another hard disk(IDE) to current hard disk(sata) the lord protector Linux - Hardware 5 05-04-2008 11:30 AM
SATA Hard disk(Windows) MBR corrupted by IDE hard disk(Linux) Peter_APIIT Fedora 6 07-07-2007 12:20 AM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:56 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
Open Source Consulting | Domain Registration