I haven't experienced this with Slackware, only with Red Hat and Fedora.
Don't know the exact cause of this.
To create a swap partition use fdisk /dev/hda
use the key: P to show all active partitions.
Create an partition double the size of your available memory
save the new disk info, save using: wq (W=write,Q=quit)
and reboot. Note: /dev/hda is used as example here, you could use a swappartition of your 2nd disc, that would be /dev/hdb
After rebooting login as root.
type: Quote: |
mkswap /dev/hda5 (Assuming that the newly created partition is number 5)
| Important: the number is of the partition you created for the swap, to check what number that partition has use fdisk /dev/hda and the P to show the partition table information.
to activate the swapfile: Now edit your fstab in /etc and add the following line: Quote: |
/dev/hda5 swap swap defaults 0 0
| It is also possible to use multiple swap partitions.
Let say you have a swap partition of 128MB on DiskB and 128MB on DiskC
Then you add the following to the fstab Quote:
/dev/hdb1 swap swap sw,pri=5 0 0
/dev/hdc1 swap swap sw,pri=5 0 0
| Note: Your fstab file contains all partitions, drives, etc that will be mounted at boot time.
For further info on the fstab type: man fstab and enjoy the reading.
__________________
---[ MS09-99896 - Vulnerability in All MS Windows OS ; Using Windows Could Allow Remote Code Execution. ]---
Hardware: Asus P4P800, 1GB, P4-3Ghz, Asus V9950, Maxtor ATA HD\'s, 3Com GBit lan, Audigy ZS Plat.
|