Fixing virtual hard disk size and identifying fixed virtual hard d

Discussion in 'Virtual PC' started by dmanchepalli, Oct 18, 2004.

  1. dmanchepalli

    dmanchepalli Guest

    Our project used Virtual PC 5.2 early on. The virtual PC image [Windows XP
    Pro] used on VPC 5.2 grew from a size of 2.2GB[base image without
    applications] to 12GB. Applications added on 2.2 GB base image were less than
    50 MB and I did not see any reason for the image to become 12GB!

    Our project now uses Virtual PC 2004. And, I have access to both Virtual PC
    5.2 and Virtual PC 2004.

    I would now like to
    1. Determine if the image that grew is a fixed one or dynamic one.
    2. How can i make an existing image fixed [or dynamic] to a specific
    size limit?
    3. Did VPC 5.2 support fixed/dynamic images?

    Thank you.
    dmanchepalli, Oct 18, 2004
    1. Advertisements

  2. dmanchepalli

    Scott Baker Guest

    1. Run the Virtual Disk Wizard. If the VHD is fixed, it
    will let you convert it to dynamic, and vice versa

    2. Just like a physical hard drive, you can't change the
    size of the VHD once it is created (i.e., if you create a
    16GB VHD, it will always be 16GB). You can always create
    a new, larger VHD and then use an imaging program in the
    Guest to copy the old VHD image to the new VHD image

    3. Yes. This was covered in the documentation for 5.2
    just like it is in the VPC 2004 VPC Help file

    Scott Baker, Oct 18, 2004
    1. Advertisements

  3. dmanchepalli

    dmanchepalli Guest

    Thank you Scott.

    Is there a way to specify a custom size limit when changing a dynamic VHD
    into a fixed VHD? I notice that it takes in a fixed size[16GB] by default
    that is much larger than what I require. How can i set the size for fixed VHD?

    Current Spec
    VHD type: DYNAMIC
    VHD size: 2.2 GB

    Required Spec
    VHD type: FIXED
    VHD size: 4 GB

    dmanchepalli, Oct 18, 2004
  4. dmanchepalli

    Scott Bakre Guest

    No. See item 2.

    Scott Bakre, Oct 18, 2004
  5. dmanchepalli

    Steve Jain Guest

    If you use the Disk Wizard you can create disks any size you like.
    You can't change the size after its created.

    Steve Jain, Microsoft MVP for Virtual PC for Windows
    *** All posts are provided AS-IS, no warranty, no QoS ***
    Steve Jain, Oct 18, 2004
  6. 1. Using the New Virtual Hard Drive Wizard, you can create a virtual hard
    drive of an arbitrary size up to 128GB (before running the New Virtual
    Machine Wizard).

    2. Then when you run the New Virtual Machine Wizard, instead of creating a
    new virtual hard drive select "use an existing virtual hard drive" and
    browse to the virtual hard drive just created in step 1 above.

    What's another word for synonym?
    Colin Barnhorst, Oct 19, 2004
  7. dmanchepalli

    dmanchepalli Guest

    I tried this and it fixed the issue. Thank you.

    dmanchepalli, Oct 19, 2004
  8. yw

    What's another word for synonym?
    Colin Barnhorst, Oct 19, 2004
  9. dmanchepalli

    Xepol Guest

    Sound like you need to run the pre-compactor and then
    compact the drive using the VPC image editor.

    Dynamic Virtual hard drives store an image of every
    sector used, even if its not currently in use. The
    precompactor basically zeros everything out.

    Compacting the drive basically discards all zeroed
    sectors (It doesn't know anything about operating
    systems, just raw sectors on the drive), so until you
    zero the empty space from inside the drive, compacting it
    will not be useful.

    - Clinton R. Johnson
    Xepol, Oct 20, 2004
    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.