Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: No swap area - Do I need 1?< Next Oldest | Next Newest >
dsquared Offline





Group: Members
Posts: 21
Joined: Dec. 2005
Posted: Sep. 27 2006,18:47 QUOTE

I have installed DSL 3.0.1 on my hard drive. :cool:    The machine is an old AMD400 K6, with 256 mg of ram & 20 g on 2 hd. It is a dual boot Win98 /DSL box.

There is no swap area reflected on the system and everything seems kind of slugish - for instance the DSL firefox seems to consistently take 3 times longer in loading the same web sites & adding a second tab does not show up right away  - shouldn't I have a swap area? I could set one up but how do I go about getting DSL to recognize and access a swap area?


--------------
There are no stupid questions...only stupid people
Back to top
Profile PM 
dtf Offline





Group: Members
Posts: 196
Joined: Nov. 2005
Posted: Sep. 27 2006,19:14 QUOTE

When you partition your disk, I use cfdisk you assign a partition to be
a swap partition.

Say you choose to make /dev/hda2 your swap partion (the partition
type number is 82 (I think I am remember correctly)).

After you are done with partitioning your hard drive and write it out,
you need to run mkswap /dev/hda2 and swapon /dev/hda2.

If you forget the swapon command you will have a swap partiton
but it will not be used.

Edit: I would suggest a minimum of 512M for the swap partition.
Back to top
Profile PM 
newOldUser Offline





Group: Members
Posts: 241
Joined: Oct. 2004
Posted: Sep. 28 2006,15:55 QUOTE

If you don't have room for a swap partition you could always try using a swapfile.  Somewhere on this board there is a thread about using the Windows swapfile for a linux swapfile. That way you will not be taking up any additional space.

--------------
======== Note =========
The DSL Forum Search default is 'OR'
If you search for "cat dog" you will get all "cat" posts and all "dog" posts.
If you search for "cat AND dog" you will only find results that contain BOTH "cat" and "dog"
Add '*' for wildcards, " cat* and dog* "
Back to top
Profile PM 
sheldonisaac Offline





Group: Members
Posts: 53
Joined: Dec. 2004
Posted: Sep. 28 2006,22:49 QUOTE

Quote

If you don't have room for a swap partition you could always try using a swapfile.  Somewhere on this board there is a thread about using the Windows swapfile for a linux swapfile. That way you will not be taking up any additional space.


From my /opt/bootlocal.sh

Code Sample

mount -t vfat /dev/hdb5 /mnt/hdb5
mkswap /mnt/hdb5/win386.swp
swapon /mnt/hdb5/win386.swp
Back to top
Profile PM 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: Sep. 28 2006,23:41 QUOTE

Hmmm. I could create a script that automatically searches for those *.swp files...
You guys need one?


--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
4 replies since Sep. 27 2006,18:47 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: No swap area - Do I need 1?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code