LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-30-2005, 08:44 AM   #1
dotancohen
Member
 
Registered: Dec 2004
Location: Haifa
Distribution: Fedora Core 4, Kubuntu
Posts: 235

Rep: Reputation: 32
Need to create a swap partition


I didn't creat a swap partition when I installed FC4. As I have 512mb of ram, I want to allocate 1 gig from /home (which IS a seperate partition) to /swap. I have looked around on LinuxQuestions, google, and the mailing list archives, but have not found how to do this. Thanks.

Dotan Cohen
http://www.song-lirics.com
Song Lirics
 
Old 07-30-2005, 09:09 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Although this is for RH8, it should work for you as well: http://www.redhat.com/docs/manuals/l...ap-adding.html

The decision you have to make if whether you want a swap file or a swap partition. A swap file can be realized without resizing your home partition. However, I don't know anything about the differences in performance.
 
Old 07-30-2005, 12:18 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,445

Rep: Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068
That link looks like it covers everthing.
Prior to 2.6, using a swap file was considered a "second rate" solution.
The 2.6 developers have stated they don't believe there is a (performance) difference any more.
 
Old 07-30-2005, 01:30 PM   #4
dotancohen
Member
 
Registered: Dec 2004
Location: Haifa
Distribution: Fedora Core 4, Kubuntu
Posts: 235

Original Poster
Rep: Reputation: 32
Thank you very much. I'll get to work on that now.

Concerning performance, on the Fedora mailing list I was refered to this article that states that there is no performance difference. However, I will try to go with the partition instead of the file.
http://groups.google.com/group/fa.li...bb9d44ece78faf


Dotan Cohen
http://song-lirics.com/sl/artists.php/m
 
Old 07-30-2005, 01:39 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,445

Rep: Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068Reputation: 1068
If you are to believe just one person on this topic, Andrew Morton is *the* man.
I use only partitions - probably habit/history more than any other reason.
 
  


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
I installed linux and forgot to create a swap space partition Starch Linux - Newbie 5 06-22-2005 09:29 AM
Create swap partition AFTER installing slackware? dx0r515t Slackware 4 05-22-2005 12:29 AM
Can't create swap partition tiger99 Linux - Newbie 23 03-15-2004 10:34 PM
Create swap partition? mikeshn Linux - General 6 11-28-2002 03:42 AM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 09:45 AM


All times are GMT -5. The time now is 05:55 AM.

Main Menu
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