12.12.2017, 02:53 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]
Letzte Änderung am 2006-08-17 20:32:56 von Richard proofing

Erweiterungen:

Installing a Swapfile (standard)


boot into textmode with "2 noswap"
After this, type the following into a console (in this example we have free space on hda5?)
# mount /dev/hda5 /mnt/hda5
# dd if=/dev/zero of=/mnt/hda5/knoppix.swp bs=1M count=256
# mkswap /mnt/hda5/knoppix.swp
# swapon /mnt/hda5/knoppix.swp
You only have to do this once, after that existing swapfiles will be detected automatically.

Re-use existing (Windows) Swapfiles

Some of you might use a permanent swapfile in Windows (win386?.swp). This can be easily used as a swapsfile for any kind of knoppix-derivates. Why waste space unnecessarily? Windows will work fine after the next reboot.

You can achieve this in a terminal session perhaps when the xsession has exited because of not enough RAM (e.g., 64MB), then restart it.

# mount /dev/hda1
# mkswap /mnt/hda1/win386.swp
# echo >>/etc/fstab "#add new swapfiles"
# echo >>/etc/fstab "/mnt/hda1/win386.swp swap swap noauto 0 0"
# swapon -a   


Check swaps

To check if there is any or enough swapspace you can do the following:
# cat /proc/swaps



Löschungen:

Installing a Swapfile (standard)


boot into textmode with "2 noswap"
After this, type the following into a console (in this example we got free space on hda5?)

>mount /dev/hda5? /mnt/hda5?
>dd if=/dev/zero of=/mnt/hda5?/knoppix.swp bs=1M count=256
>mkswap /mnt/hda5?/knoppix.swp
>swapon /mnt/hda5?/knoppix.swp

You only have to do this once, after that existing swapfiles will be detected automatically.

Re-use existing (Windows) Swapfiles

Some of you might use a permanent swapfile in Windows (win386?.swp). This can be easily used as a swapsfile for any kind of knoppix-derivates.
Why wasting space unnecessarily? Windows will work fine after the next reboot...

You can achieve this in a terminal session perhaps when the xsession has exited because of not enough RAM (e.g. 64MB)... then restart it.
>mount /dev/hda1
>mkswap /mnt/hda1/win386?.swp
>echo
/etc/fstab "#add new swapfiles"
>echo
/etc/fstab "/mnt/hda1/win386?.swp swap swap noauto 0 0"
>swapon -a

Check swaps

To check if there is any or enough swapspace you can do the following:
>cat /proc/swaps



älteste bekannte Version dieser Seite wurde bearbeitet am 2005-01-23 13:13:21 von OffTopic [ ]

Installing a Swapfile (standard)


boot into textmode with "2 noswap"
After this, type the following into a console (in this example we got free space on hda5?)

>mount /dev/hda5? /mnt/hda5?
>dd if=/dev/zero of=/mnt/hda5?/knoppix.swp bs=1M count=256
>mkswap /mnt/hda5?/knoppix.swp
>swapon /mnt/hda5?/knoppix.swp

You only have to do this once, after that existing swapfiles will be detected automatically.

Re-use existing (Windows) Swapfiles

Some of you might use a permanent swapfile in Windows (win386?.swp). This can be easily used as a swapsfile for any kind of knoppix-derivates.
Why wasting space unnecessarily? Windows will work fine after the next reboot...

You can achieve this in a terminal session perhaps when the xsession has exited because of not enough RAM (e.g. 64MB)... then restart it.
>mount /dev/hda1
>mkswap /mnt/hda1/win386?.swp
>echo
/etc/fstab "#add new swapfiles"
>echo
/etc/fstab "/mnt/hda1/win386?.swp swap swap noauto 0 0"
>swapon -a

Check swaps

To check if there is any or enough swapspace you can do the following:
>cat /proc/swaps

:de: SwapFile
Letzte Revision :
Letzter Editor :
Eigentümer :
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.