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
SanDisk 256GB Ultra USB 3.0 Flash Drive - SDCZ48-256G-U46
$19.99
SanDisk 256GB Ultra Dual Drive Go USB Type-C Flash Drive, Black- SDDDC3-256G-G46
$21.99
SanDisk 32GB Ultra Drive Dual Go USB Type-C Flash Drive, Green - SDDDC3-032G-G46
$8.99
SanDisk 128GB Ultra Dual Drive USB Type-C, USB 3.1 Flash Drive - SDDDC2-032G-G46
$10.99
New 32GB Sandisk Ultra Fit 3.1 Type A Flash SDCZ430-032G-A46
$5.00
64GB USB 3.0 Flash Drive USB Memory Stick High Speed Retractable USB Thumb Drive
$5.99
2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage New
$10.79
2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US STOCK
$12.08
LOT 32GB 64GB 128GB USB 3.0 Flash Drive Memory Stick Retractable Thumb Drive
$420.99
USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$353.99