LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-03-2004, 07:12 PM   #1
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
Talking can i share swap space?


hi, gonna try install slack on my machine (again). this time i'm gonna cut 10g from my mdk hd for slack.

i was wondering if i can have slack to use my swap space from mdk? or do i have to make a new one?

if i can use my mdk swap space, then i can give the full 10g to / ....

thanks

p.s: will i just have to edit my /etc/lilo.conf from mdk, in order to boot slack?
slack will most likely locate in hdb4....
 
Old 02-03-2004, 07:16 PM   #2
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
sure you can.
 
Old 02-03-2004, 08:22 PM   #3
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
I don't see why not It should automatically pick up the presence of swap space on your hard disk and start using it without you noticing.
 
Old 02-04-2004, 06:19 AM   #4
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
Yes, you can use one swap for as many linux distros on ur machine as u like. U just mention the partition during insatllation and it will be formatteas per that distro. Don't worry, it will still be swap and all distros will use it.

You will have to edit ur /etc/lilo.conf in order to boot slack. Also, you will have to copy two files from the slack /boot directory: vmlinux .... and initrd....img into the mandrake /boot directory.
 
Old 02-04-2004, 02:26 PM   #5
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
My question: can you have both of the /boot folders on the same partition? ...as long as you use the same boot loader? I have heard that you cannot as far as a /home folder, and I KNOW not as far as a /etc or /usr (system) folder, but I bet that each would be able to share a swap partition and a /boot folder. (just be sure to save your boot instructions somewhere safe before you install the new Linux. Boot instructions are in /etc/lilo.conf for lilo.)
 
  


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
how to reduce swap space and reclaim the space grantm Linux - Newbie 7 08-16-2012 07:05 AM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 01:23 AM
Swap space naren Linux - Software 2 03-24-2004 02:53 PM
Swap Space blkbird Linux - Software 4 02-06-2004 03:14 AM
Swap share? iHeru Linux From Scratch 12 04-15-2003 08:49 PM

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

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