LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 05-28-2003, 04:34 AM   #1
mhd_Ahmed
Member
 
Registered: May 2003
Posts: 33

Rep: Reputation: 15
swap


i´ve installed red hat 9 yesterday without making swap, is it harmful or dangerous or can make any crashs...??? and alsoo i want to know the function of the swap..???
 
Old 05-28-2003, 05:04 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
How much physical RAM do you have? Your swap is only used to remove seldom used pages from memory so its available for other processes. If a page that has been swapped out to disk is needed then it's swapped back to make it available. This is a very slow process compared to just using physical RAM but its better than running out of memory all together. You don't *need* swap, but it can help the system if its reasonably loaded.

cheers

Jamie...
 
Old 05-28-2003, 12:37 PM   #3
clearh20
LQ Newbie
 
Registered: May 2003
Location: Florida
Distribution: RedHat v9, Mandrake v9.1, Windows 2000
Posts: 12

Rep: Reputation: 0
SWAP Partition Problem

This is sort of a follow up question from the first post here. I'm new, bear with me please.

I'm running Win2k, Mandrake v9, and RH v8 right now. I'm planning on upgrading to the newer versions soon.

When I boot both Mandrake and RedHat, I get an error when it tries to initialize the swap partition. It says it can't initilialize it. When I initially partitioned the drive, I made two ext3 paritions for each of the Linux distros, and then went ahead and made two Linux swap partitions. (hda6 & hda8 for swap, and hda5 & hda7 for the two versions of linux themselves)

First, do I even need to have two swap areas? Since I can only run one distro at once, I assume I only really need one.

That leads to my second question - How do I point the distro configuration to the correct swap area?

The error seems to be caused by the configuration file looking to use the wrong swap area. (Why? I don't know). I need to know what file needs edited, where I might find it, and/or how I should go about resolving this error so that it points to the right swap partition.

By the way, the system *does* note errors during the boot process with regard to initializing the swap partitions, but somehow finds a solution for it and then continues to boot perfectly fine.

I've tried going through some documentation, but somehow I must be missing a few important pieces of information. Any help would be appreciated.

Thanks!!!
 
Old 05-28-2003, 01:00 PM   #4
clearh20
LQ Newbie
 
Registered: May 2003
Location: Florida
Distribution: RedHat v9, Mandrake v9.1, Windows 2000
Posts: 12

Rep: Reputation: 0
Talking

Just found the /etc/fstab is that all I need to edit???


Edit: That was it! *happy dance* w00t!
All is well now. I have no idea how the fstab got changed, but at least now I know how to fix it. I'm still learning, but these little victories keep me from getting overly frustrated.


Last edited by clearh20; 05-28-2003 at 01:11 PM.
 
Old 05-29-2003, 03:54 AM   #5
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Glad that you found it!

cheers

Jamie...
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux swap / solaris not appearing as swap in Ubuntu? Erik_the_Red Linux - Newbie 1 07-30-2005 01:57 PM
Swap os2 Linux - General 1 03-18-2005 09:21 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 02:23 AM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 08:58 PM
Swap punker22 Linux - Newbie 3 10-14-2003 01:27 AM

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

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