LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-23-2004, 02:59 AM   #1
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,723

Rep: Reputation: 184Reputation: 184
swap partitions on multiboot system


Hi everyone,

I have a question regarding multiboot systems. Would you recommend to have each system its own swap partition on each hard disc, or is it ok to have just one swap partition on each disc and re-cycle it?

Thanks in advance,

gargamel
 
Old 05-23-2004, 03:54 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I have one swap partion on my dual boot machine. Both Gentoo and Redhat use the same swap partition without any problems. As long as your /etc/fstab is set up correctly it works no problem.
 
Old 05-23-2004, 06:55 AM   #3
ashesh
Member
 
Registered: Feb 2003
Location: Kharagpur
Distribution: RH8, RH9, FC2
Posts: 112

Rep: Reputation: 15
How do we set the /etc/fstab correctly to have a single swap for multiboot systems?
 
Old 05-23-2004, 07:41 AM   #4
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,416

Rep: Reputation: 94
If the swap is on another disk than system, then accesses will be faster.
 
Old 05-23-2004, 03:12 PM   #5
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Well, lets say you install RedHat on the first drive and it creates a swap partition on the third partition. Your swap partition would be /dev/hda3. So when you install your second distro don't create a swap partition but make sure you /etc/fstab has /swap pointing to /dev/hda3 like this:

/dev/hda3 none swap sw 0 0
 
Old 05-23-2004, 07:28 PM   #6
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,723

Original Poster
Rep: Reputation: 184Reputation: 184
Thanks for the helpful hints!

gargamel
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can multiboot distros share var, usr, etc. partitions? Jeff Tenza Linux - Newbie 3 07-25-2005 07:44 PM
Not enough primary partitions for multiboot artificialGekko Linux - General 2 04-26-2005 11:34 AM
how to clone a Red Hat 9 system (870 MB) with all the partitions (/ and swap) dravya Linux - General 3 05-07-2004 07:42 PM
Swap partitions 2k. Linux - General 7 03-01-2004 06:59 PM
swap partitions chappy011 Linux - Newbie 2 03-18-2002 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration