- Power off the VM
- Expand VMDK file to final size: One method is to use VIC, Edit settings, select Hard Disk, then change New Size.
- The other is to login to ESX host and use command line tool /usr/sbin/vmkfstools –X #G pathtofile/file.vmdk, where #G is the final disk size and file.vmdk is the vmdk of the virtual server.
- Edit settings of VM and mount the Gparted-livecd-*.iso to the VM.
- Go into Options tab and change Boot Options to for entry into BIOS setup screen and make CD-ROM boot before the hard disk.
- OK to close VM Properties.
- Power on VM
- Once within GParted tool, use the defaults until into the GUI
- Click on current partition
- Select Resize
- Drag arrow to expand partition
- Click Resize
- Click Exit and Shutdown VM
- Edit settings again to remove the Gparted ISO
- Power on VM
- Login via VIC console and Windows will find new hardware.Reboot the VM to complete process.
Reference: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=994
No comments:
Post a Comment