LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-04-2007, 09:15 AM   #1
benerivo
LQ Newbie
 
Registered: Dec 2006
Posts: 27

Rep: Reputation: 15
Can the swap file partition be shared?


I would like to install three linux distros on one hard drive and have them share a single swap file partition. Is this possible or will each installation need its own swap partition?
 
Old 01-04-2007, 09:17 AM   #2
eNONDIL
LQ Newbie
 
Registered: Nov 2004
Location: Costa Rica
Posts: 14

Rep: Reputation: 0
http://www.tldp.org/HOWTO/Tips-HOWTO-3.html#ss3.1
 
Old 01-04-2007, 09:20 AM   #3
Blaumieser
Member
 
Registered: Sep 2003
Distribution: aptosid
Posts: 40

Rep: Reputation: 15
Hi,
I used a single swap partition with several parallel distros and it worked out fine. While installation of a new linux on your box you should assure that the existing swap partition is really used...

Hope this helps...
BM
 
Old 01-04-2007, 11:20 AM   #4
kernel_geek
Member
 
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161

Rep: Reputation: 30
Yeah in the installation make sure you use the same swap partition. I would recommend doing this
You will have to use extended partitions as the maximum partitions you can have on a hard drive id 4
/dev/hda1 - /boot
/dev/hda2 - /swap
/dev/hda3 - linux 1
/dev/hda4 - linux 2
/dev/hda5 - linux 3

Which means you will have to manually partition
 
  


Reply

Tags
file, partition, swap


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
Swap file & Boot Partition Resize surfer2k3 Linux - Newbie 4 07-17-2008 08:50 PM
Redistribute Swap file space to main partition stuartornum Suse/Novell 11 10-30-2006 04:49 PM
Swap Partition vs File Philips Linux - General 12 07-04-2006 10:00 PM
questions about switching file systems and the swap partition flyingstarfish Linux - Newbie 1 07-09-2004 01:27 PM
Shared swap partition michaely Linux - General 1 07-06-2004 07:58 AM


All times are GMT -5. The time now is 07:19 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration