Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 11-18-2003, 11:33 AM   #1
LQ Newbie
Registered: May 2003
Posts: 22

Rep: Reputation: 15
swap area needs to be atleast 40 kB

On /dev/hda2 I have a 500 mb primary Linux swap (82) partition. I want to format it with mkswap so I type "mkswap /dev/hda2" but it returns "error: swap area needs to be atleast 40 kB". There is no swap partition in /proc/swaps because I typed "swapoff -a" and I have removed the reference to the old swap partition from /etc/fstab. So why cant I create a swap partition there?

Old 11-18-2003, 12:41 PM   #2
Registered: Aug 2002
Posts: 13,327

Rep: Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093
Is this a newly created partition? Just in case you might want to reboot so linux will use the new partition table.


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
FC4-Ubuntu locks up tight atleast once a day! Winux71 Linux - General 3 11-15-2005 02:45 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 01:23 AM
need to disable fam, or atleast make it igore /mnt/ dirs qwijibow Linux - Software 2 12-18-2003 08:32 PM
SWAP area ALF Linux - Software 5 12-16-2003 03:11 PM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 07:58 PM

All times are GMT -5. The time now is 04:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration