Windows 8 and 8.1 Forums


expand "C" partition in vmware VM the EASY way

  1. #1


    Hafnarfjörður IS
    Posts : 4,376
    Linux Centos 7, W8.1, W7, W2K3 Server W10

    expand "C" partition in vmware VM the EASY way


    Hi there

    (For Windows VM's).

    Sometimes running a VM you get short of space particularly on the "C" drive

    There are many ways of doing this - some more complicated than others but IMO the absolute EASIEST way is the following (If you are using VMWARE).

    1) Before powering on the VM go to settings
    2) click / double click the virtual HDD you want to enlarge
    3) utilities==>expand virtual disk --enter the new size. NOTE THE ORIGINAL PARTITION SIZE IS NOT CHANGED BY THIS.
    4) Now edit VM again and choose an iso as the CD drive. Ensure it's GPARTED.
    5) in Power on choose BOOT to BIOS so you can set the VM to boot from the CD drive.
    6) Power on
    7) choose default GPARTED options and simply slide the partition size to the new size you want. THIS INCREASES THE PARTITION SIZE.
    8) power off the VM
    9) set to boot normally --uncheck the iso image
    10) power on -- your VM has now got its larger C drive. !!!

    For REDUCING the size - the only way I can see is to dump the VM image with something like acronis (also boot from the ISO and ensure the VM can "see" external drives so it can save / restore the image.)

    Create a new VM with the HDD size you want.
    Boot again with acronis and restore.

    Cheers
    jimbo

      My System SpecsSystem Spec

  2. #2


    great tips
      My System SpecsSystem Spec

  3. #3


    Germany/Florida
    Posts : 4,514
    Vista and Win7


    Here are some pictures to show the facility

    Click image for larger version


    Click image for larger version
      My System SpecsSystem Spec

  4. #4


    Orbiting the Moon
    Posts : 2,975
    Windows 10 x64


    Good tips Jimbo!

    As mentioned, there are many ways to do this.

    Here are some minor variations for step 7 that may speed things up a bit.

    Quote Originally Posted by jimbo45
    7) choose default GPARTED options and simply slide the partition size to the new size you want. THIS INCREASES THE PARTITION SIZE.
    On Linux VMs we can spare a reboot if Gparted is installed in the guest OS. But then again, Gparted is the way to go.
    For Windows however, no need to reboot with Gparted if you run diskmgmt.msc (as admin) and EXTEND the volume for the needed disk.

    Quote Originally Posted by jimbo45
    For REDUCING the size - the only way I can see is to dump the VM image with something like acronis (also boot from the ISO and ensure the VM can "see" external drives so it can save / restore the image.)
    Agreed. The acronis method will work in all cases but might take a while to complete on slower machines. Though today it all goes all pretty fast.

    Other ways to do this , maybe, but it might get tricky:
    I was thinking at REDUCING the size of a virtual disk by running diskmgmt.msc again and SHRINK the volume of the needed disk to a new size of your choice. You may need to defragment the disk first in case fragmented files don't allow to shrink beyond a certain size. But what do we do with the unallocated space? Cloning the disk with the CloneVDI tool might work but it will create a VirtualBox HDD that, in case of VMware will need to be re-converted again.

    One KB article at VMware recommends converting, shrinking and expanding using an all-in-one tool, the VMware Converter. I didn't tried the vm converter personally but it should go faster than a bare Acronis backup in a VM (the backup needs to be restored later). In my experience with CloneVDI, large disks are already duplicated and expanded in minutes. Similar results are expected from the VMware Converter as well.

    Regards,
    Hopachi
      My System SpecsSystem Spec

  5. #5


    The way I shrink them is with vmware converter.
      My System SpecsSystem Spec

  6. #6


    Hafnarfjörður IS
    Posts : 4,376
    Linux Centos 7, W8.1, W7, W2K3 Server W10


    Quote Originally Posted by pparks1 View Post
    The way I shrink them is with vmware converter.
    Hi there

    That shrinks the Virtual disk size but it doesn't actually shrink the partition within the VM. I assume say if you have a Windows partition defined as 75GB, and only using say 35 GB you might want to shrink the partition to say 50GB as well as reducing the Virtual disk size.

    (The latest version of the VMware converter might have changed so it does work but the last time I tried that I think it didn't reduce the partition size within the VM which is why I suggested my original procedure).

    Cheers
    jimbo
      My System SpecsSystem Spec

expand "C" partition in vmware VM the EASY way
Related Threads
How to Turn Navigation Pane "Expand to Current Folder" On or Off in Windows 8 and 8.1 This tutorial will show you how to turn Automatically Expand to Current Folder on or off in your File Explorer navigation pane in Windows 8. If Expand to current folder is turned on (checked), the navigation...
This enhancement applies to VMware Player standalone. If you have VMware Workstation installed, you don't need to apply this as Workstation includes all the features (and also includes VMware Player). As the most VMware Workstation users know, there is a virtual network editor available that...
Hi all, So I'm kind of stuck.. I currently have the problem where I am in an endless cycle of "loading files" -> "Windows Boot Manager" (see: How To Boot Into Safe Mode On Windows 8 (The Easy Way)). I have tried to load all of the options -- and none successfully load. I also end up at...
Hey guys,.. I'm sure this is posted more than once in here.. but just in case someone searches it can pop up .. My Theme backgrounds stopped working or stopped changing at the timed interval (10 sec, 30 sec, 5 mins, 10 mins .. etc) that I had selected completely. It would show one set of...
Is there no "Windows Easy Transfer" from XP to Windows 8? Or is "Windows Easy Transfer" dangerously buggy? My wife is transitioning from XP, SP3. on an older machine. to Windows 8 preinstalled on a new machine. Despite much Googling, I was unable to find any clear directions from Microsoft as to...
Hello, I am trying to verify if I can use Easy Transfer to mover files and settings from an XP machine to a new Windows 8 machine. I heard that the XP machine must be SP3, correct? ANy other restrictions? Thanks far any help!
Eight Forums Android App Eight Forums IOS App Follow us on Facebook