Web Developer & Photographer
Menu
menu

Ever since I have been using VMware Fusion, I never really thought about managing the disk space. Primarily because most of my documents and applications were stored on my Mac and not in the virtual machine partition. Therefore, when it did come time for installing applications in VMware, there were installation problems. It takes a little bit of work, but after following these instructions of which my tutorial is based on, you should be all set.

Getting The Tools For The Job

  1. GParted – (download)
  2. VDiskManager GUI – (download)
  3. VMX Extras – (download)

Setting The Max Disk Size

  1. With your Windows XP virtual machine shutdown completely, open up the VDiskManager GUI application.
  2. Click on the Expand tab in VDiskManager. Then click “Choose”.
  3. Go to “username/Library/Virtual Machines/Windows XP/Windows XP.vmdk”
  4. Type in the maximum disk size you want in the box below. Then click “Go”.

Screenshots: 2 3 4

Editing The Startup Screen

  1. You need to edit the startup screen so you can run commands.
  2. To do so, open up the VMX Extras application.
  3. Go to File > Open and browse to “username/Library/Virtual Machines/Windows XP/Windows XP.vmx”
  4. In the Preconfigured Options tab, change the “BIOS Delay” to 5 seconds and then click “Change”.
  5. Close VMX Extras and save the changes.

Screenshots: 3 4

Preparing GParted For Bootup Disk

  1. In order to make the final changes for the repartition, you need to use GParted.
  2. In VMware Fusion, go to the Virtual Machine > Settings menu (⌘ (Command) + E) and choose CDs & DVDs.
  3. Under the CDs & DVDs menu, choose “Use disk image” and select the “GParted.iso” file.
  4. Startup the Windows virtual machine in VMware Fusion now and hold down F2.

Screenshots: 3 4

Using The BIOS Startup Screen

  1. After holding down F2, you should see the Main BIOS screen.
  2. Hit the right arrow key until you are in the Boot tab.
  3. Now use the “-” and “+” keys to manipulate the order of devices until “CD-ROM Drive” is on the top of the list.
  4. Now hit the ⌘ (Command) key and F10 to save the configuration.

Screenshots: 3 4

Using The GParted Startup Screen

  1. After saving your configuration, you will see the GParted intro screen.
  2. Choose the first option, “GParted Live” (Default settings).
  3. In the next pop-up screen, choose “Don’t touch keymap” and hit Return.
  4. Hit Return when asked  “Which language do you prefer?” (English is default).
  5. Hit Return when asked “Which mode do you prefer?”.
  6. In the GParted screen that appears, use your arrow keys (because the mouse does not always work) and arrow over to “Resize/Move”.
  7. Now drag the slider with your mouse (if it does not work with your mouse, enter numbers for the boxes). Then hit Tab until the “Resize/Move” button is selected below.
  8. Now hit Tab once until the Undo button is selected, then arrow over to the right and select Apply and hit Return.
  9. In the small pop-up window hit Tab until Apply is selected, then hit Return to apply the drive size changes.
  10. You should see a window that shows the current status.
  11. After it is done, close the window and close GParted by hovering your mouse over the Exit button and then click it when you see the black hand.
  12. Now use your down arrow keys and choose Shutdown and hit Return.
  13. As it shuts down you may receive a message window, choose Yes and hit Return to finish the shutdown.
  14. If Windows starts up by accident, just shut it down from the main screen.

Screenshots: 2 3 7 9 10 12 13

Final Touches Before Using Newly Repartitioned Virtual Disk

  1. Go to the Settings menu in VMware Fusion after making sure the virtual machine is shut down.
  2. Under the CDs & DVDs settings, change it so it says “Automatically detect physical CD/DVD drive”.
  3. With your virtual machine off, go to VMX Extras and open the “username/Library/Virtual Machines/Windows XP/Windows XP.vmx” file.
  4. Go to the Preconfigured Options tab and change the BIOS Delay back to the default which is “No Bios Delay”.
  5. Boot up Windows, it may do a disk check if necessary and may require you to restart after it fully boots.
  6. Double check that your hard drive disk space has increased (My Computer > Local Disk (C:) > Right-click > Properties).

Screenshots: 1 2 3 4 6

  1. Great instructions, thanks! Not sure if this is a foolish question, but can I use the similar procedure to make my virtual machine partition SMALLER? Just about every piece of info I can find online is about how to grow it. I used to use it for GIS software, but now I rarely use it at all and would like to reclaim the hard drive space to facilitate burning DVDs in Mac OS X.

  2. Alex, it should work just fine. You follow the same steps, but just change the partition to the appropriate size you want. Let me know if there are any problems.

  3. Thanks for this tutorial. I was looking for something like this but didn’t find any, and I can see you have put some time to it.
    One problem I met though. When I tried to change the max disk size with VDiskManager, it didn’t show any information or warnings. This was because of the “snapshot-chain”. I realized this problem from trial and error. In Terminal, I discovered this because it shows the status. After I deleted all the snapshots in VMware Fusion, it worked fine.

  4. If doing this on a MacBook Air make sure the CD/ROM drive is “Connected”. It probably will default to disconnected. The boot to GPartEd Live will not happen if the connected property is not set.

  5. Chuck, I appreciate you pointing that out.

    Thanks,
    Mason

  6. This has been plaguing me for months, and I’ve finally found the solution!

    Great instructions, but the clincher was the hitherto unknown VMWare utilities (less GParted which is an old Linux friend) that has made some thing that I couldn’t get working, work.

    Great work!

  7. Thanks for sharing your expertise.

    I wish to shrink (not expand) the size of the partition allocated to Win/XP, however, the VDiskManager GUI insists that the new partition size be larger than the existing size.

    Therefore, it appears that one cannot shrink the partition size, am I wrong?

    Thanks.

  8. You’re very welcome Paul. Glad you got everything working now.

    Thanks,
    Mason

  9. Hey Richard,
    I actually had no problem shrinking the XP partition on my computer. In fact, you don’t do the actual shrinking until the GParted screen (during BIOS reboot).
    Just follow the screenshots I have during the GParted steps and drag the partition slider the other way to shrink it.

    Thanks,
    Mason

  10. Thanks a lot! Really useful. I thought that VMWare Fusion could handle this on it’s own. This guide helped out.

  11. You’re very welcome. I appreciate the comment.

  12. I followed the steps up to hitting “apply” in GParted. It gave me an error when I tried to shrink the disk. Reading online, I found that the error might be solved by a simple defrag of the drive. I went to perform my defrag and somehow it’s eating up my available Mac hard drive space. I keep having to delete files just to create room for the defragmentation to finish. What it’s acting like is that somehow it’s ignoring the original NTFS partition and creating a new one. What do I do? HELP!

  13. Assuming you have not partitioned anything successfully, your best bet is try again.
    Let me know how it goes.

    Thanks,
    Mason

  14. I actually just deleted all of my .vmdk files and called it good. It was become more of a hassle than it was worth. Bye bye Windows XP.

    Thanks for the help, Mason.

  15. CJ,
    I’m sorry I was not much help. Typically, errors can be fixed by re-doing or re-moving. I’m glad you found a fix though.
    “Bye bye Windows XP” is a statement I would like to hear more often :-)

    Thanks,
    Mason

  16. When I reboot XP and hold down F2 the only thing that happens is my brightness goes all the way up.

  17. Justin, have you tried holding down Function (Fn) when you press F2?

    Let me know if that works,
    Mason

  18. Wow, many thanks for this. I’ve been trying to permanently shrink my Virtual Disk even since I mistakenly allocated 70 GB to it when migrating from Boot Camp. Like one of your previous writers, all I could find were instructions to make it bigger! It’s now 35 GB and I won’t have to buy a new drive! Cheers!

  19. Thanks Ken. I’m glad you found my tutorial helpful.

    – Mason

  20. Hey Mason. If I’m running VMware Fusion 3 — the steps requiring Vdisk Manager to expand the drive — do I need to do that or can I do that in VMware because there is that option in the hard drive tab to expand the drive size and rewrite the vm file, it seems to be doing what vdiskmanager is doing. Am I correct?

    -Jo

  21. Just my luck … keep getting errors … won’t take.

  22. That’s correct Jo.

  23. Try it from scratch (new virtual machine) and run through my tutorial again.

    Thanks,
    Mason

  24. Hey Mason,
    Thanks so much for this information! You are the only one I could find with some decent instructions and a good FREE repartition program. Although I was a bit new at using that type of interface, all went well. GParted worked well with a few quirks with the mouse/tab buttons. Ha — I have Fusion 3.1.1 and for some real stupid reason when I first installed Fusion 1, I only allocated 15GB. OK, stupid move. But now with XP I have a new 50 GB HD. Again, thanks for everything. To the others out there: take your time, work with that interface instead of just giving up. It will work just as you said. You did well here. I have worked with Apple over 25 years and I am proud to see sites like this helping others.

    Best wishes,
    Tony

  25. I appreciate the kind words Tony.

    Thanks,
    Mason

  26. I have made a very large virtual disk on my Windows 7 in VMware. I made the mistake of checking the “pre-allocate disk space” when I made the disk. I need to make it small again but I cannot because the minimum size is now fixed and very large. How can I fix this?

    Thanks,
    Frank

  27. Frank,

    You should be able to shrink it following my instructions. Let me know if that works.

    Thanks,
    Mason

  28. Hi,

    Will this work on Windows 7 as well? I have Windows 7 Environment and have 60 GB allocated, but when I go into Windows 7 on my Mac I only see 40 GB available. However, if I go to Manage > Disk Management, I see two Partitions (partition type is Basic) 40 GB and 20 GB. The 20 GB is Unallocated.
    Please advise.

    Thanks.

  29. This will work just fine on Windows 7. Follow my instructions. Please keep me posted if you have any problems.

    Thanks,
    Mason

  30. Mason,

    It did not work. What I had to do was actually delete the virtual disk and reload in Fusion and Windows. Essentially re-install everything. Of course, now I cannot get Windows 7 to see my other computers on the network. My old Lenovo is looking pretty good at this point…

    Frank

  31. Followed these directions loosely to increase the main partition of a Windows XP client on a Linux host using VMware player 3. Worked like a charm! If you don’t have the VMX extras tool, you can simply add the following line to your VMX file to accomplish the same thing:

    bios.bootDelay = “boot delay in milliseconds”
    example: bios.bootDelay = 5000 (5 seconds to enter the bios)

    Thanks for the write-up.

  32. Thanks Jester!

  33. Hi Mason,

    Thanks so much for providing these instructions! I’ve just started following them as I want to reduce the size of my VM disk (I’m using VMware Fusion v3.1.2 on Snow Leopard).

    I recently increased the disk size through Settings > Hard Disks in VMware itself, but since doing this I get warnings saying that the disk the virtual machine is installed on is running out of space and I have to suspend it. I went back to the same Settings window, but it will only let me move the slider up to increase the disk size, it doesn’t allow it to be made smaller!

    The original size of the VM was 40GB, and I was planning to move a lot of data over, so I added 80GB to make it 120GB. Now when I look at it in Windows Disk Manager it says that Disk 0 is 120GB, with 40GB on C: and 80GB “Unallocated”. Since I now get errors about running out of space I want to change things back to the way they were, leaving the VM at 40GB and removing the extra 80GB I tried to add. Should I follow your steps or is there something else I should try?

    In step 3 of your instructions you need to go to the Windows XP vmdk file, however I can’t find one — the only file I have is Windows XP.vmwarevm under DocumentsVirtual Machines. Will this work? I also noticed on the vdiskmanager GUI screen for “Expand” it says “New max size: (0.1 to 950, and larger than the current size)” doesn’t this mean it would only make things bigger and not smaller?

    I hope this isn’t off the topic too much and welcome any suggestions!

  34. Hey Sam,

    I’m glad you were able to follow these instructions.

    Your first problem was changing the virtual disk space and not the actual physical disk space. By changing the size through the Settings window, you aren’t changing the actual hard-drive disk space allocated for the virtual machine. In order to do so, you must use the vdiskmanager GUI application.

    My best suggestion is to try using this application:
    http://www.partition-tool.com/easeus-partition-manager/extend-system-partition.htm

    Please keep me posted on your progress!

    Thanks,
    Mason

  35. Hi Mason,

    Thanks for the quick response! I had a look at EASEUS and it looks perfect for increasing the partition size of C:, however it doesn’t seem to let me remove the “unallocated” 80GB I created in VM Fusion.

    I’m still not sure if vdiskmanager GUI will work on the “Windows XP.vmwarevm” file I have as opposed to the “Windows XP.vmdk” file in the instructions.
    Is there a different procedure for the different file type?

    On the plus side, I haven’t had any running out of space messages all day so maybe the problem has gone away (fingers crossed)!

    Thanks,
    Sam

  36. Sam,

    It is definitely possible that the problem has gone away if you are not seeing those warning messages.

    For the “.vmwarewm” file, I’m not quite sure what you should do with it. I’ve only used the “.vmdk” file for adjusting disk space. Therefore, I cannot suggest anything for you. If you are still curious about it, it can’t hurt to post your question on the discussion boards over on VMware’s website (http://communities.vmware.com/community/vmtn/desktop/fusion?view=discussions).

    Best,
    Mason

  37. Thanks Mason,

    It has been working fine for 2 days now with no more error messages, so I think I might be out of the woods after all! Thanks for all your help, good idea to post on the VMware forum too.

    Cheers,
    Sam

  38. Sam,

    I’m glad to hear you’re not having anymore problems so far with VMware. Let me know if you need help with anything else.

    Best,
    Mason

  39. Hi, I want to know how to find space allocated on SAN in VCenter…

  40. Chethna,

    Unfortunately, I do not have an answer for you.
    However, I recommend you take a look at the VMware Support page.

    Thanks,
    Mason

  41. Thank you thank you thank you!!!

  42. Nicole, you’re quite welcome. I’m glad you find my website helpful.

  43. Mason, thank you so much for sharing this! I had one error when I Gparted but then I went through the steps again and everything worked perfectly. I was so worried I was going to have to wipe and reinstall everything and now I don’t have to.

    Thanks again,
    Kristin

  44. Kristin, you are very welcome! I’m glad you found my website helpful.

    Best,
    Mason

  45. Mason,

    thanks for a great guide.

    I do have one issue after – I’m running Fusion 3 and wanted to reduce my disk size from 111GB to 83GB, I followed the guide, and specified the 83GB on the GParted screen, and the reduce in size seemed to work fine.

    In Windows VM the disk is correctly showing now as 83GB in Windows File Explorer, however on the Mac the VMWare files still add up to 110.75GB collectively.

    I have tried using VM Tools inside Windows to perform a ‘Shrink’ which ran successfully, but still the VMWare files are same size.

    Also tellingly, if I go to Virtual Machine > Settings menu , and Hard Disk, the size still shows as the old size 111.80 GB.

    Any ideas much appreciated, as the whole point for me was to regain some space for my Mac.

    The only other thing to add is I do have two disks in Windows, the C: drive is smaller at 28GB (I did not reduce the size of this), and a F: drive which is the 112GB one that I reduced.

    Also a Step 1 (with VDiskManager) I was not sure which .vmdk file to choose as I have 2 (one for C: drive and one for F: drive) , I chose the F: drive one but as others have said at this stage you’re not allowed to reduce the size, so I think I left as is (I forget now)

  46. Pete, if you’re following my steps to shrink the physical (not the virtual) disk size, then there shouldn’t be any problems such as the ones you’re encountering. My best recommendation is to try the process once more and see if the problem repeats. I can’t think of any reasons for why this is occurring on your end. Please let me know how “Shrinking: Part 2” goes!

    Thanks,
    Mason

  47. Mason,

    Great guide but it does not work for me. Running Vista on VM 2.x I tried to increase partition size. When GParted runs it has no concept where the mouse clicks so somehow or another used tabs and arrow keys to apply the resize. It starts running but then quits reporting an error (the nature of which I could not determine).

    Any suggestions?

    Thanks!

  48. AG,

    That could simply be that the program GParted has some bugs in it. Try repartitioning again and see if the problem occurs.

    Thanks,
    Mason

  49. Mason,

    Tried multiple times with the same result. Also updated to Fusion 3.1.3, created a new VM of 150G and migrated the old one to it. Still VISTA thinks it is running on 70G or so. Tried GParted again and got the same results. It seems as if a pragmatic approach would be to toss all that junk out and start from scratch; Welcome to Vista.

    AG

  50. AG,

    To be quite honest, that may be the best solution at this point.

  51. Attempted twice each with the resulting error:
    oxcoooo225

    Requesting the Windows disc.

    How can I resolve this without the disc that I misplaced?

  52. Jerry, I’ve honestly never heard of anyone getting this error during the installation process. Are you trying to using a disk image instead of a physical disc?

  53. Hi Mason, I am using VMware Fusion 3.1.3. I tried expanding a virtual disk (non-OS 2nd hard disk) by moving the slider bar from 300GB to 500GB. It seems instantaneous but when I boot up my Windows 7 VM, the whole 500GB is unallocated and Windows Disk Manager prompts for disk initialization which I’m afraid might wipe out my data. I had tried expanding from 250GB to 300GB before without trouble but do not remember it to be this quick. How can I monitor to see whether the disk expansion is in progress or had died and corrupted my virtual drive?

  54. John, I’m not sure why this would happen. From the BIOS screen does it show any changes to the hard-drive allocation?

  55. OK, followed all steps to detail only 2 things I have as an issue. I never found GParted.iso, but I did find a Gparted-live4.1.iso, so I used that. Secondly, I got all of the f2 part… got to the boot tab and said I was in user mode and couldn’t adjust the CD-ROM… How would I get out of user mode?

  56. Matt, you need to find GParted.iso for the process to work properly. As far as escaping user mode, I am not sure how… Try following the steps one more time. Let me know if you encounter any other issues.

    Best,
    Mason

  57. Thanks for all your help. It is nice to have some knowledge in my corner. As far as the iso, I clicked the download above and it comes up with the live version 04.1.iso. I did a search for it after and downloaded on my computer to no avail. . and still stuck on supervisor mode and user mode under the step Bios part. . .also anyway to run the xp version from 32bit to 64? Thanks again.

  58. Matt, here’s the link to the newest GParted.iso:

    http://sourceforge.net/projects/gparted/files/gparted-live-stable/0.11.0-7/gparted-live-0.11.0-7.zip/download

    Try it out and tell me how it goes.

    I’m only familiar with running 64bit Vista, but not XP…

  59. Yeah, BIOS isn’t allowing me to. Says something about USB not reading the F9. I tried uninstalling VMware and then repartitioned it that way and reset parameters… I am at a standstill unless I can figure out a full uninstall and full reinstall.

    Thank you anyway.

  60. That’s weird… F9 should work, did you try holding down the command key with F9?

  61. Have two complications in using your instructions.
    1. At “Preparing GParted For Bootup Disk,…. 3. Under the CDs & DVDs menu, choose “Use disk image” and select the “GParted.iso” file.” I could not get the iso file selected in the window. had to go into folder and selected initrd.img.

    2. Having done that, the software would not allow me, in the Bios, to change to CD/DVD option. It required I contact a system manager.

    What am I doing wrong?

  62. Ralph,

    That’s strange… My best recommendation is to try starting from scratch. This process should work rather smoothly, and without error. Please let me know if you are still having issues.

    Best,
    Mason

Comments are closed.