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
*READ* SYS-5019S-M2 - Supermicro 813M-3 4X3.5" 32GB DDR4
$260.00
HP HPE Microserver Gen 7 8 9 iLO 2/3/4/5Advanced License Lifetime Key| FAST SHIP
$10.00
HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 8GB RAM No HDD's
$229.99
HPE ProLiant MicroServer Gen10
$420.00
HP ProLiant MicroServer HSTNS-5151
$59.99
HP ProLiant MicroServer GEN8 Pentium G2020T 2.5GHz - 16GB RAM - 2x 1TB HDDs
$249.99
HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon
$846.48
HP ProLiant Microserver Micro Server HSTNS-5151 untested NO DRIVE CADDIES
$49.21
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00
1U Supermicro Firewall Router Jumpbox 6x 10GB Ethernet E3-1270 V3 32GB RAM 2x PS
$200.00