--What is the result of ' swapon -s '?

Anyhow, here's what to do for swap; if partition, it should be type 82 (Linux Swap - not ext2) and at least 128MB in size.

Example:
' /sbin/fdisk -l '

Disk /dev/hdc: 128 heads, 63 sectors, 4849 cylinders
Units = cylinders of 8064 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdc2 1 41 165280+ 82 Linux swap

--To format and activate the partition:
' mkswap -c /dev/hdc2 '
' swapon /dev/hdc2 '
' swapon -s '

--Now if you have to create a Knoppix swapfile by hand:
' df '
' mount /mnt/hda1 -oremount,rw ' == In your case, hdb1
' cd /mnt/hda1 '
' dd if=/dev/zero of=knoppix.swp bs=2M count=64 ' == Create 128M swapfile
' mkswap knoppix.swp '
' swapon knoppix.swp '
' swapon -s '

--The knoppix.swp file should be auto-recognized next time you reboot. Post results, and progress with your remastering project.

Quote Originally Posted by CubeDweller
Hello,

Well, cfdisk allowed me to create a partition, and mkfs.vfat allowed me to format. The Knoppix swap file configuration tool even recognized the partition and created a 'knoppix.swp' file. I have 256mb RAM and a 2GB swap file. (Note: I also tried making hdb1 an ext2 swap partition, but the Knoppix swap file configuration tool wouldn't recognize it.)

All seemed good until I tried to use the swap to cloop a modified Knoppix. (Note: The modifications are minor: removal of the KDevelop package and a change of the desktop wallpaper).

I am using the Knoppix.net Remastering Howto. As the cloop compression runs, Linux slowly closes applications, then eye-candy, then X, then shuts down completely. I theorize this is because I am running out of memory, and Linux is automatically killing things to open up more memory.

Strangely, the Knoppix swap file configuration tool refuses to see any DOS partitions again (even though hdb1 is still sitting there with it's 'knoppix.swp' file).

Any ideas?

Thanks,
CubeDweller