Expand a vhd

Discussion in 'Virtual PC' started by JackSpratt, Apr 7, 2010.

  1. JackSpratt

    JackSpratt Guest

    No doubt this has been asked a thousand times.
    Easy way to increase the size of a vhd?
    I seem to have underestimated how quickly I would use up the size of my
    win2.8k virtual.

    Did a quick Google and found talk of 3rd party tools and stuff.
    Does it take that?
    JackSpratt, Apr 7, 2010
    1. Advertisements

  2. JackSpratt

    Steve Jain Guest

    Yes. YOu can't expand a VHD beyond its maximum size without 3rd party tools
    or imaging it to a larger VHD
    Steve Jain, Apr 7, 2010
    1. Advertisements

  3. JackSpratt

    RCan Guest

    yes you can :)

    1. you do have an Hyper-V system available which can expand a VHD.
    2. Have an Win7/R2 system available and use diskpart for expand the maximum
    size of a VHD -> SELECT VDISK FILE="c:\test\test.vhd" -> EXPAND VDISK
    MAXIMUM=100 (MB)

    RCan, Apr 7, 2010
  4. JackSpratt

    Steve Jain Guest

    One thing to keep in mind is the maximum limit for a VHD for VPC is 127GB.
    Don't expand it beyond that.
    Steve Jain, Apr 7, 2010
  5. JackSpratt

    JackSpratt Guest

    Perfect... almost.
    Now my guest OS has 28GB of unallocated space.
    How do I merge this onto the existing drive?
    JackSpratt, Apr 8, 2010
  6. JackSpratt

    Bill Grant Guest

    Extend the partition.
    Bill Grant, Apr 9, 2010
  7. JackSpratt

    JackSpratt Guest

    using diskpart on the host? on the guest? disk management?
    I tried right clicking on the (guest) C drive and extending but it won't
    let me have the unallocated.
    JackSpratt, Apr 11, 2010
  8. JackSpratt

    JackSpratt Guest

    ok got it
    Run diskpart on guest os

    select disk 0
    disk detail
    select volume 1

    JackSpratt, Apr 11, 2010
  9. JackSpratt

    RCan Guest



    RCan, Apr 12, 2010
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.