Tuesday, August 13, 2013

Extending partitions on Linux VMware virtual machines

Extending partitions on Linux VMware virtual machines

 I had to increase the hard drive size on one of the VMs and read this article:

In the comments people say that you can't do that if you are trying to expand primary root partition.  Not true.  Here is how:

  1. Shut down VM and increase the hard drive size
  2. If that Option is disabled consolidate your snapshots (delete them except the last one) 
  3. Download Linux rescue CD iso
  4. Mount iso as CDROM and boot your VM from it.
  5. Use gparted utility that comes with Linux rescue CD to resize partition to max size
  6. Reboot VM

No comments: