Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Other Distributions > MEPIS Help > Set up swap drive after install?

Forgot Password?
 MEPIS Help   For help and discussions related to MEPIS

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 09-18-2008   #1 (permalink)
Just Joined!
 
Join Date: Aug 2008
Posts: 16
Set up swap drive after install?

Can it be done?
Apparently I neglected to do so during installation.
Can I do it without installing it again, it is painfully slow without it
I'm running on an 8 yr old thinkpad with 192mb of ram!

If it can be done, can someone walk me through it?
Total newbie here!

I have an 10gb drive with 2 equal partitions, puppy is on the first partition and mepis is on the second, grub is installed to the mbr and loads both.
I would use puppy it was pretty good on my laptop but while it was a tad faster than windows it was a little too buggy for my liking so here I am with mepis.
JPgirl is offline  


Reply With Quote
Old 09-18-2008   #2 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,110
Do you have any free space left on the drive?
All you really need to do is use the fdisk command to create a new partition, then use the mkswap command on that partition, activate it with swapon /dev/path/to/new/partition
Here is a howto for Redhat, which should work just fine for any version of Linux.
Adding Swap Space
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is online now   Reply With Quote
Old 09-18-2008   #3 (permalink)
Just Joined!
 
Join Date: Aug 2008
Posts: 16
Ok I think I understand all that.

One question,

Could I use the partition that puppy is on as my swap for mepis as that partition is not in use when I am in mepis, and If I can get mepis working nicely I will not likely be using puppy anyway.
Or does the swap drive need to be completely and totally free of anything else?

Yes I do have space on both partitions, if I have to have a totally free 'drive' I would have to resize partitions to add it though.
So I guess I am asking could I just use the mkswap command on the partition that puppy is on and skip the step of making a new partition. They are all on the same physical drive anyway.
JPgirl is offline   Reply With Quote
Old 09-18-2008   #4 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,110
If you create a swap partition, it needs to be free space only. Anything else will get overwritten when you create swap space on it. If you have a swap space that you use for Puppy Linux then you can also use that same swap space for Mepis. I share one swap partition between 3 distro's.
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is online now   Reply With Quote
Old 09-18-2008   #5 (permalink)
Linux Guru
 
jayd512's Avatar
 
Join Date: Feb 2008
Location: Louisville, Kentucky
Posts: 1,595
Your other option would be to create a swap file. It's just an ordinary file configured to to be used as swap space.

*EDIT*

I read that all wrong... somehow I missed the fact that the link MikeTbob posted was a walk-through for what I just suggested.
Please ignore me now...
__________________
Jay

Forum Rules
Registered Linux User #463940
Not every story has an ending... but they all have more chapters.
jayd512 is offline   Reply With Quote
Old 09-18-2008   #6 (permalink)
Just Joined!
 
Join Date: Aug 2008
Posts: 16
ahhh ok, I see it now.

Thanks Mike, and Jay!
JPgirl is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:12 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2