Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jul 2004
creation of swap space after installation
I am using is fedora 4
i forgot to give the swap space while installation
i have free space on my disk and i want to add swap space.
please tell me how to add the swap space
1. Create the swap partition using fdisk.
2. Set up the swap area using mkswap.
3. Activate the swap area using swapon.
4. Set up an /etc/fstab entry for it. You can use something like:Code:
/dev/hda3 swap swap defaults 0 0
You can use a swap file as well.
Here is an example for a swap file: dd if=/dev/zero of=/usr/local/swapfile bs=1000000 count=200 (200mb swap file) chmod 600 /usr/local/swapfile mkswap /usr/loca/swapfile swapon /usr/local/swapfile Then add this line to your /etc/fstab /usr/local/swapfile swap swap defaults 0 0I\'m so tired .....