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
HPE BL460c G9 ProLiant Blade | 2x Xeon E5-2620V3 | NO RAM | P244BR | 2xHDD Tray
$179.00
HPE BL460c G9 ProLiant Blade | 2x Xeon E5-2630V3 | 32GB | P244BR | 2x300GB 15K
$299.00
HPE BL460c G10 ProLiant Blade | 2x Silver 4110 | 16GB | P204I | 2x300GB 10KRPM
$1419.00
DELL PEM640 POWEREDGE M640 BLADE SERVER
$539.95
HP ProLiant BL460c G9 (Gen9) 2x E5-2670V3 12 Core 3.1GHz No Ram or No Drives
$59.98
Cisco UCS B200 M4 Blade Server, 2x2660 V3, 40GbE, No Ram No HDD
$35.95
Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS
$103.99
Dell PowerEdge VRTX Rack Chassis 25-Bay 14.4TB HDD 2x M640 Blade 512GB RAM 2-Bay
$1979.99
Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric
$139.99
HP ProLiant BL460c Gen9 Blade 2x E5-2680v3 2.5GHz =24 Cores 256GB P246 650FLB
$430.00