Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-22-2009, 09:38 AM   #1
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, 09:45 AM   #2
Wim Sturkenboom
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

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 09:46 AM.
Old 10-22-2009, 09:47 AM   #3
LQ Veteran
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,427

Rep: Reputation: 618Reputation: 618Reputation: 618Reputation: 618Reputation: 618Reputation: 618
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, 09:52 AM   #4
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, 09:56 AM   #5
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, 10:05 AM   #6
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,809
Blog Entries: 58

Rep: Reputation: Disabled
Yes, it is.
Old 10-22-2009, 10:17 AM   #7
Senior Member
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,032

Rep: Reputation: 64
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
/dev/sdaX swap swap defaults 0 0
Here X is the placeholder for the partition number of swap.
After that,
swapon -a

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


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

All times are GMT -5. The time now is 08:24 PM.

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