Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running VMWare Fusion on my Mac, and just created a new VM for CentOS 5.3. I have pre-allocated 20GB of space for this VM.

Here are the / and /home mounts on my machine. There are others but they should be inconsequential.

[root@localhost ~]# df -h
Filesystem  Size  Used  Avail  Use%  Mounted on
/dev/sda2   3.8G  3.8G      0  100%  /
/dev/sda5   9.8G  1.1G   8.2G   12%  /home

I want to resize the /home partition to ~4GB, and resize the / partition to ~10GB. How would I go about this? Are there any limitations as a result of the fact that I'm running this on a VM?

share|improve this question
up vote 0 down vote accepted

I do not have experience with VMWare Fusion in particular, but with other VMs I have run the process to expand a partition is much the same as a physical system. After you shut down the VM and increase the "physical" hard drive space on the VM, boot with Parted Magic or other partition growing boot disk of choice, and resize the partitions to the sizes you want.

Boot back normally into the VM and you are done.

share|improve this answer
Thanks, I used Parted Magic and it worked well. – lupefiasco Sep 30 '09 at 2:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.