Results 11 to 13 of 13
Good news making the swap partition 1GB did the trick. I have not had a problem yet!!! This is so cool. Now time to see what I can do with ...
- 03-26-2004 #11
Good news making the swap partition 1GB did the trick. I have not had a problem yet!!! This is so cool. Now time to see what I can do with this thing.
- 03-26-2004 #12Just Joined!
- Join Date
- Mar 2004
- Posts
- 15
i have tried mkswap command but the system still sees the old swap of 188mb. so how do i increase it to something higher?
Originally Posted by aytope
- 03-26-2004 #13
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:
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.mkswap /dev/hda5 (Assuming that the newly created partition is number 5)
to activate the swapfile:
Now edit your fstab in /etc and add the following line:swapon /dev/hda5
It is also possible to use multiple swap partitions./dev/hda5 swap swap defaults 0 0
Let say you have a swap partition of 128MB on DiskB and 128MB on DiskC
Then you add the following to the fstab
Note: Your fstab file contains all partitions, drives, etc that will be mounted at boot time./dev/hdb1 swap swap sw,pri=5 0 0
/dev/hdc1 swap swap sw,pri=5 0 0
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.


Reply With Quote
