LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 11-17-2001, 10:37 AM   #1
Cyth
Member
 
Registered: Mar 2001
Location: Sweden, Lund
Distribution: Slackware
Posts: 68

Rep: Reputation: 15
Swap trouble..


Yesterday I thought my swap partition was a little to small(Sometimes all swap-space was used), so I decided to make it larger. First off, I removed the old one, and then created a new linux swap-partition('82'). According to cfdisk and fdisk the swap partition is /dev/hda11. When I try to 'swapon /dev/hda11' or 'swapon -a'(/etc/fstab points on /dev/hda11) it sais 'swapon: /dev/hda11: Invalid argument'. What does that mean? What should I do?

Fysical ram: 128mb
The old swap: 128mb
The new swap: 400mb
Running slackware 8.0, kernel 2.4.13.

Btw, is 2.4.15 just around the corner or should I go for 2.4.14? There's alot of vm changes..

regards,
Cyth
 
Old 11-17-2001, 02:29 PM   #2
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
In Slack, you could just create the space and then type setup and perform the swap partition option and have it do the swapon and format for you. Exit & reboot...
 
Old 11-17-2001, 04:45 PM   #3
Cyth
Member
 
Registered: Mar 2001
Location: Sweden, Lund
Distribution: Slackware
Posts: 68

Original Poster
Rep: Reputation: 15
I found the problem.. I forgot make swap..

/Cyth
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble with swap files kbf Linux - Newbie 1 08-23-2005 11:14 PM
Linux swap / solaris not appearing as swap in Ubuntu? Erik_the_Red Linux - Newbie 1 07-30-2005 12:57 PM
Slackware Memory/Swap trouble koehnb Linux - General 5 03-16-2005 06:50 AM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 01:23 AM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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