swapfile on ext2
Forum: DSL Tips and Tricks
Topic: swapfile on ext2
started by: stunix*com
Posted by stunix*com on Aug. 01 2008,19:04trying to use up all the old equipment left in the garage i find myself in the position where i have a frugal dsl running on a motherboard with 128mb ram and hda1 is a 1gb ide drive which is fine till i start running lots of things and run out of memory and freeze. however because the frugal is ext2 and the mkswapfile only works with dos filesystem i find myself having to do it the old way. this must be a common scenario??
use "free" to check it.
dsl should detect it at boot, if not there is a cheat code to scan for it.
Posted by lucky13 on Aug. 01 2008,22:39
Not really, except maybe for those who don't read documentation which advises setting up a swap when you designate partitions for DSL:
< ftp://ftp.oss.cc.gatech.edu/pub....wto.pdf >
< http://www.damnsmalllinux.org/f/topic-3-26-8732-0.html >
< http://damnsmalllinux.org/wiki/index.php/Installing_to_the_Hard_Disk >
Posted by stunix*com on Aug. 01 2008,23:15take it or leave it!
Posted by curaga on Aug. 02 2008,08:36Let's take it, it's a good hint if you can't set up a swap partition for some reason.
Posted by chaostic on Aug. 02 2008,10:33Like for example, as creating a temporary swap file on a computer you arn't supposed to (or don't want to) repartition (And for whatever reason, there is no accessible dos swap file.
Posted by roberts on Aug. 02 2008,13:36It is already in DSL.
A simple GUI to make an ext2 swapfile.
Posted by stunix*com on Aug. 02 2008,20:18found it.
thank you Robert, you still give me a daily surprise as to what you have slipped in to 50mb.
Posted by jpeters on Aug. 02 2008,22:04NIce idea, and it will work on any distro...