Re: How to reduce your VM disk size

From: Steve Jain (essjae-No_at_Spam-hotmail.com)
Date: 10/15/04


Date: Fri, 15 Oct 2004 12:34:22 -0700

A faster method is to use Ghost and simply image the disk from one
disk image to another, then mount the new image as the boot drive.
I've posted more complete steps previously.

On 15 Oct 2004 10:10:58 -0700, TsL78@hotmail.com (Unzip088) wrote:

>Those of you who are using virtual PC 7 will find that windows guest
>OS image is much larger than the amount of used space indicated inside
>the Windows guest OS. What causes this is that when Windows installs,
>it copies a large number of temporary files during the installation
>that are deleted when the installation is finished. These copied
>temporary files cause the guest OS image to be expanded.
>
>Solution:
>Virtual PC includes a utility to compact the drive image, the Virtual
>Disk Assistant. Before the Virtual Disk Assistant can compact a drive
>image, the unused space in the image must be zeroed out. This
>procedure uses the utility Eraser, other zeroing utilities should also
>work. This procedure is for Windows 95, 98, NT 4, and 2000 guest
>operating systems.
>
>Be sure to backup any important data before beginning procedure, as
>this directly changes the hard drive image contents.
>
>1. Download Eraser (current version is 5.7),
>(http://www.tolvanen.com/eraser/) and install it in the guest OS. Exit
>the installation when it is finished.
>2. Defragment the guest OS hard drive.
>3. Backup any critical data in the guest OS.
>4. Run Eraser in the guest OS.
>5. Select Edit->Preferences->Erasing
>6. Select "Unused Disk Space"
>7. Select "New"
>8. Enter the description "Blank"
>9. Select Add
>10. Create a 3-byte pattern of zeros
>11. Hit Save
>12. Select "Blank" under "Unused disk space"
>13. Hit Ok
>14. Select File->New Task
>15. Select "Unused space on drive"
>16. Select Local Hard Drives
>17. Hit OK
>18. Select Task->run on the previously created task
>19. When finished, close the report.
>20. Exit Eraser and shutdown the guest PC. It is important to make
>sure the virtual machine whose virtual hard disk image you want to
>change is shut down completely. In Virtual PC List, the status of the
>virtual machine must be "Not Running".
> 21. In Virtual PC, on the Window menu, click Virtual Disk Assistant.
> 22. Click Examine or modify existing hard disk image, and then click
>Next.
> 23. Click Select a hard disk image attached to a PC, and then click
>Next.
> 24. In the PC box, select the virtual machine associated with the
>virtual hard disk image you want to modify.
> 25. In the Disk box, select the virtual hard disk image that you want
>to modify, and then click Next.
>26. Click Reclaim zeroed disk image space, and then click Done.
>
>I have used these procedure successfully to reduce my win2000 pro
>virtual machine from 4.97 GB to 2.23 GB.
>*The precedure described here is credited mostly to
>http://www.robertmoir.co.uk/win/vpcfaq/.

Steve Jain, Microsoft MVP for Virtual PC for Windows
Website: http://www.essjae.com
*** All posts are provided AS-IS, no warranty, no QoS ***



Relevant Pages

  • Re: Backup/Imaging Software
    ... Symantec Ghost? ... I must say that having a complete disk image as your backup is very ... I should also note that support of external USB hard drives in Ghost ...
    (alt.sys.pc-clone.dell)
  • Re: usernameguest password prompt
    ... Home.I share all drives to all four machines.My problem is with the XP ... xp pro but none of the xp pro machines will map any network drive back ... Make sure that the Guest account is enabled for access by other ... can't see what you see on your computers. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Fortune: Apple a YEAR ahead of the competition
    ... Well, when you discount external and internal drives for backup, as you do, ... Why not use a disk image and back up what you want with Time Machine? ...
    (comp.sys.mac.advocacy)
  • Re: S100 Floppy Controller Question
    ... The SD Sales controller I have supports an SA400 dive, ... The CompuPro board also supports the SA400, but I only have a disk image ... The Morrow board also only supports 8" drives, but no mods to the system are ... among which is a replacement working floppy system for my ...
    (comp.os.cpm)
  • Re: usernameguest password prompt
    ... Home.I share all drives to all four machines.My problem is with the XP ... xp pro but none of the xp pro machines will map any network drive back ... Make sure that the Guest account is enabled for access by other ...
    (microsoft.public.windowsxp.network_web)

Loading