This was moved, as it so obviously belongs in the hdd install forum.
how do I install a swap file If I installed knoppix on a single hard drive??? I did not make a linux swap drive, and dont have any other partitions, I just have the one that has knoppix is installed on.
the knoppix swap file config. program doesnt seem to support this? any have an idea??
This was moved, as it so obviously belongs in the hdd install forum.
Hi,
you can always use a file as swap area; this works as following:
- first open a root shell (from the KNOPPIX menu or otherwise)
- decide where to put the swap file; /var/run/swapfile might be a good place,
but YMMV
- decide how much space the swap file should take (eg 128M)
- create the swap file:
dd if=/dev/zero of=/var/run/swapfile bs=1024k count=128
- create the swap signature:
mkswap /var/run/swapfile
- add the swap file to /etc/fstab as a line containing:
/var/run/swapfile none swap defaults 0 0
- activate the swap file:
swapon -a
If no errors occured, you now should have 128M swap. Check with "top"
or by issueing "cat /proc/swaps"
Ciao,
Thomas

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$102.99
Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive -
$39.99
Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$549.00
Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$90.00
Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health
$24.00
Fanxiang 256GB 512GB 1TB 2TB 4TB SSD Lot 2.5'' SATA Internal Solid State Drive
$42.99
Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$129.99
2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON
$28.00
WD Blue 500GB 3D NAND 2.5” SATA III SSD
$40.00
Micron MTFDDAK256TBN 256 GB, Internal ,2.5" SSD
$23.00