Welcome to the most active Linux Forum on the web.
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 01-04-2007, 08:15 AM   #1
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, 08:17 AM   #2
LQ Newbie
Registered: Nov 2004
Location: Costa Rica
Posts: 14

Rep: Reputation: 0
Old 01-04-2007, 08:20 AM   #3
Registered: Sep 2003
Distribution: aptosid
Posts: 40

Rep: Reputation: 15
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...
Old 01-04-2007, 10:20 AM   #4
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


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 07:50 PM
Redistribute Swap file space to main partition stuartornum SUSE / openSUSE 11 10-30-2006 03:49 PM
Swap Partition vs File Philips Linux - General 12 07-04-2006 09:00 PM
questions about switching file systems and the swap partition flyingstarfish Linux - Newbie 1 07-09-2004 12:27 PM
Shared swap partition michaely Linux - General 1 07-06-2004 06:58 AM

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