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
Vintage IBM ThinkPad T23 Pentium III Windows XP Laptop w/ Charger - Runs Great
$99.95
Vintage Texas Instruments TI TravelMate 2000 286 laptop parts/repair 0259
$30.00
Vintage Macintosh 512k Motherboard With 800K Roms Tested Working 512ke Computer
$79.00
*****VINTAGE GENERAL MAGIC DATA ROVER PDA (840F)*****
$139.99
Fully Restored Dell XPS M140 - Vintage DOS Era Gaming Powerhouse
$70.00
Vintage Apple Mighty Mouse Wired White Model A1152 MB112LL/A SEALED in Box 2007
$48.99
Vintage Classic Apple Macintosh System Boot Install Disk Floppy/CD *Pick Version
$10.39
Drakware ADB2USB - vintage Apple ADB to USB keyboard adapter
$29.95
Vintage Dell Precision 410 Intel Pentium II 600 MHz 768 MB Ram I No HDD I No OS
$129.99
Vintage HP Pavilion 7915 MT Intel Celeron 1.10GHz 128MB RAM 40 GB HDD Windows XP
$79.99