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
Dell PowerEdge R630 Server 3.50Ghz 8-Core 192GB 10x NEW 2TB SSD H730P Rails
$2877.90
Dell PowerEdge R730 Server 3.50Ghz 8-Core 32GB 9x NEW 2TB SSD HBA330 Rails
$2522.35
Dell Optiplex 5060 SFF 8th Gen Core i7 3.2GHZ 16GB 512GB Win 11 Pro
$249.00
Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...
$689.99
AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...
$339.95
Gaming Computer Nvidia RTX 4060 AMD Ryzen 7 5700X 64GB RAM 2TB SSD NVME 8 Core
$1299.76
Gaming Computer Nvidia RTX 4060 AMD Ryzen 7 5700X 32GB RAM 1TB SSD NVME 8 Core
$1149.76
Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...
$489.99
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA
$234.98
HP Chromebase Desktop PC 21.5" FHD Core i3-10110U Intel UHD 8GB DDR4 128GB SSD
$359.99