LinuxQuestions.org
Help answer threads with 0 replies.
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 10-07-2004, 08:32 PM   #1
adarsh_fj
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
what is wrong with the swap


hi there I have a problem with my pc When ever I boot my Pc the space allocated for the swap partition is 0. I tried swapon -a and the space for the partition is allocated but when I reboot the same problem is there.
 
Old 10-07-2004, 08:34 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
is the swap partition listed in
/etc/fstab

??
 
Old 10-07-2004, 08:41 PM   #3
adarsh_fj
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Original Poster
Rep: Reputation: 0
yes the file name is in the etc/fstab file
 
Old 10-07-2004, 08:43 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
I would think that swapon -a would fail if there wasn't an entry in the fstab file.

Post your fstab file

Check the output of dmesg pertaining to swap?
dmesg | grep swap

You might glance at the entire output too.
 
Old 10-07-2004, 09:27 PM   #5
adarsh_fj
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Original Poster
Rep: Reputation: 0
do u think mounting the partion will do what commands will work
 
Old 10-07-2004, 09:43 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
You can not mount a swap partiton like a regular filesystem.
And what about my previous questions.
 
Old 10-07-2004, 10:50 PM   #7
adarsh_fj
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Original Poster
Rep: Reputation: 0
I tried ur solution but it just shows me starting and nothing happens This is my first question so Iam prety new to the site please give me some time to get the hang of it.
 
  


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
Linux swap / solaris not appearing as swap in Ubuntu? Erik_the_Red Linux - Newbie 1 07-30-2005 12:57 PM
Labeled my SWAP partition wrong... chrisford553 Linux - Newbie 1 08-05-2004 08:54 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 01:23 AM
Wrong swap partition GaryS Linux - Hardware 4 03-20-2004 10:04 AM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 07:58 PM

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

All times are GMT -5. The time now is 11:00 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
Open Source Consulting | Domain Registration