LinuxQuestions.org
Review your favorite Linux distribution.
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, 09: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, 09: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, 09: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, 09:43 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,931

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
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, 10: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, 10:43 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,931

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
You can not mount a swap partiton like a regular filesystem.
And what about my previous questions.
 
Old 10-07-2004, 11: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


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
Labeled my SWAP partition wrong... chrisford553 Linux - Newbie 1 08-05-2004 09:54 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 02:23 AM
Wrong swap partition GaryS Linux - Hardware 4 03-20-2004 11:04 AM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 08:58 PM


All times are GMT -5. The time now is 08:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration