How to reduce win7 disk space to increase osx disk space?

Discussion in 'macOS Virtual Machine' started by Bill77, Jun 24, 2012.

  1. Bill77

    Bill77 Bit poster

    Messages:
    7
    I have Parallels 7 with Win7 and Lion. There's 81g free on Win7 160g virtual drive. How to do move free space from it to my Mac HD that has only 40g of free space?
     
  2. ZBoater

    ZBoater Member

    Messages:
    38
    Are you running Bootcamp or just a Parallels VM? If just a Parallels VM, the disk auto adjusts. If you want to check how much space the VM is really using, right click on the Windows 7 entry in Paralells Desktop, and choose "Show in Finder". Then right click on the pvm file and click "info".

    If you are running Windows 7 in Bootcamp, you'll need to backup, resize and restore your Windows partition using Winclone. Check here - Resizing a Bootcamp partition with Winclone.
     
  3. Bill77

    Bill77 Bit poster

    Messages:
    7
    Thanks for your help ZBoater! I have a 320g hard drive. 25g is Bootcamp, 295g is Mac HD with 40g free. Following your instructions the Parallels VM is 100g. But here's my confusion and question. With Win7 running in Parallels - when I click on the C drive it shows its size at 160g with 81g free. Is it possible to move 75g of those 81g to my Mac HD to use in my Mac Lion OS where I do most of my work now? I saw when I click on Virtual Machine in the Parallels menu bar and then on Configure > Hardware > Hard Disk 1 - it shows 160g there on Windows 7-0.hdd. When I shut down the VM there is a slider for that which is at 160g. Is there some way to use that to reduce the Win7 C drive size by 75g and get that to work on the Mac Lion side - giving me 75g + 40g = 115g free space in Lion?
     
  4. ZBoater

    ZBoater Member

    Messages:
    38
    The slider is how you'd adjust the size, but I'm confused. If you have a 25GB Bootcamp partition, and you've used that as a source for your VM, your Windows 7 pvm file should be very small. Mine is only a few MB. That's because the VM is running off the source in the Bootcamp partition.

    To answer your other question, no, you can't take virtual hd space and give it back to your host OS (in this case Mac OS). That virtual space is "fake" and only available to the guest OS while it's running.

    That Parallels vm size of 100GB is strange. What that tells me (and I could be wrong) is that you are not running your Windows 7 vm off your bootcamp partition, but rather it's a vm in and of itself, and you've installed a lot of stuff inside your vm. For comparison sake, I have a 50GB Bootcamp partition. When I launch my Windows 7 vm inside of my Mac OS, rather than reboot into Windows natively, Parallels uses the Windows OS that's in my Bootcamp partition and launches it inside a vm. But what that means to me is I only have the 50GB available to me, as I'm running off a real hard drive, not a virtual one. Anything I install while running my vm goes into that 50GB partition. And if I reboot my Mac into Windows natively, anything I've done in my Windows 7 vm is right there waiting for me.

    Some people run their Windows 7 vm as a straight vm without relying on their Bootcamp partition. In these cases, everything you install in Windows (apps, games, etc.) is stored in the virtual hard drive inside the pvm file. That is why some pvm files are huge.

    Here's something else for you to try. You say your Windows 7 pvm file is 100GB? Right click on it, and click on "Show package contents". That will show you what's inside of it. There will be a file in there with an extension of .hdd. How big is it? Thats your virtual hard drive. I once had a log file that was several GB.
     
  5. Bill77

    Bill77 Bit poster

    Messages:
    7
    Didn't quite understand this before, but yes you are correct. I am not running my Windows 7 vm off my bootcamp partition, but rather it's a vm in and of itself, and I've installed a lot of stuff inside that vm. Initially I was working mostly in Windows and didn't understand that Bootcamp could be a VM under Parallels. Show package contents reveals the .hdd is in fact 100g.

    Now however I'm working mostly in Mac OS and need to dump most of my Windows stuff to regain HD space in Mac OS. Is the best way to do this to:

    1) Remove the VM running under Parallels, and

    2) make an image of my bootcamp drive with WinClone (which I know how to do!), eliminate the 25g bootcamp partition, create a larger the bootcamp partition, restore the image to it with WinClone, and then reload in bootcamp the few additional programs and files i need?

    If so how do I eliminate my VM drive under Parallels? And how do I set up bootcamp as a VM under Parallels?

    Thanks again for your help!
     
  6. ZBoater

    ZBoater Member

    Messages:
    38
    Yes, I think you have the right idea. You can eliminate the virtual drive by deleting the pvm file. Make sure you have a good backup!

    You can import your Bootcamp partition from the Parallels Desktop. Click New, and it should be one of the options.
     
  7. Bill77

    Bill77 Bit poster

    Messages:
    7
    Thanks so much for helping me understand Parallels and VMs! I look forward to regaining some Mac OS space as soon as my schedule permits.
     

Share This Page