On 11/3/07, आशीष शुक्ल Ashish Shukla <[EMAIL PROTECTED]> wrote: > | Can you please tell me, is it possible to increase the swap without > reinstalling the System again? > | > | And if it possible, please tell me how I should go about it?
I just added another swap partition because sometimes my laptop was not hibernating saying out of swap space. 1. Using fdisk created a new partition of 2GB. You can use gparted to do this graphically. as root $ fdisk /dev/sda Command (m for help): n # Create a new partition, it will ask you to give a size I gave +2048M Command (m for help): p # To see the partition got created and its number Command (m for help): t # To change the type of partition it is, this will require the partition number. The number for SWAP is usually 82. See the entire list by typing L Command (m for help): p # To confirm that the partition is now a swap partition Command (m for help): w # To write this to the partition table and exit $ mkswap /dev/<new partition you just created> $ swapon -v /dev/<new partition you just created> open /etc/fstab and add an entry to make this work over reboots HTH -- regards akash ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ linux-india-help mailing list linux-india-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-india-help