On 6/20/06, Reiner Tolentino <[EMAIL PROTECTED]> wrote:
How can I resize my disk space in linux? Currently, I have 40GB disk
space for linux but in my mistake i have allotted 10GB of it for swap
space. How can I change this?

First thing would be to turn off your swap ("swapoff -a"), assuming
that your physical RAM isn't exhausted. Then use fdisk or parted to
delete your swap partition. You'll now have 10GB free, unallocated
space.

Now you can create two new partitions in its place, one for swap (1GB
or less), and one for a new data partition that you can mount however
you wish, e.g. mount it as "/mnt/extraspace" if you're lazy and you
just want to use the space. If you're using LVM, you can also add this
space to your existing volume group/s and try to grow your existing
partitions if their existing filesystems allow it.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to