Don't Forget The Swap Partition

Just solved a problem on a 486DX2/66 16MB. I had carried out an HD install, but could not get it to boot completely into X. The problem was I had created a swap partition with cfdisk but hadn't mkswap'd or swapon'd it. (I guess that means I hadn't formatted it or turned it on).

The commands I'd missed out were -

mkswap /dev/hda1
swapon /dev/hda1

If you are doing a hd install then see this page

http://www.damnsmalllinux.org/wiki/index.php/Installing_to_the_Hard_Disk

as well as following the instructions in Dillo.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Don't Forget The Swap Partition - More

Just checked another box that I was having some problems with, this time a P4 2GHz 256MB. The problem was with a BOINC project that I was running on this box. The project was World Community Grid and the application was Fight Aids @ Home. Now this project is supposed to work fine on Linux with 250MB, but it kept crashing on start up on this box.

After my problems with the 486 I checked the widget panel on the P4 and sure enough it was recognising the ram but showing a swap of 0.

sudo su
mkswap /dev/hda1
swapon /dev/hda1

reboot

Voila! Fire up the BOINC app and it runs.