Re: How to reduce/shrink the size of a VirtualPC disk image (reclaim unused space)

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


Date: Sat, 09 Oct 2004 14:53:15 -0700

Ghost isn't free, you would need to purchase it.

On Sat, 09 Oct 2004 01:08:25 +0200, user@domain.invalid wrote:

>Thanks a lot for the Ghost-instructions, I'll try to apply them as soon
>as I get my copy of Ghost. I had just searched the Web for it and found
>nothing (and hadn't figured out yet how to full-text search this
>newsgroup ... now I know, via Google).
>
>Steve Jain wrote:
>> On Fri, 08 Oct 2004 14:56:29 +0200, user@domain.invalid wrote:
>>
>>
>>>Hello,
>>>
>>>I am confronted with a ballooning VirtualPC (6.0) disk image (16GB from
>>>within Windows, OS X sees a 20GB file) although I have less than 4GB of
>>>data on my C-drive in W2k. As far as I understand it, this is due to
>>>files deleted in Windows still taking up space on the harddrive. I
>>>probably aggravated the problem by converting my image to a fixed-sized
>>>one (and converting it back to a dynamic one).
>>
>> Yes, if you convert a dynamically expanding drive to a fixed disk, it
>> will expand the drive to its maximum size, i.e. 16GB. Converting it
>> back to a dynamically expanding disk will NOT reduce the size.
>>
>>
>>>The solution I found on the net (e.g.
>>>http://www.robertmoir.co.uk/win/vpcfaq/VPCFAQ5-GeneralTipsandTri.html#5.11
>>>) is to zero the unused disk space in Windows (after defragmentation),
>>>using software referenced in the previous link, shut down Windows,
>>>commit the changes, and then using the the Virtual Disk Assistant (under
>>>the 'Window' menu) in VPC to select the image and use the function
>>>'Reclaim unused disk space' to shrink the disk image (which is only
>>>present when you have a dynamic image).
>>
>> You need to commit the changes FIRST, then defrag, then zero, then
>> compact.
>>
>>
>>>Alas, in my case, doing all these steps, does not change the size of my
>>>disk image. Other solutions suggested were to use 'Ghost' to 'clone' to
>>>a newly created, smaller disk image or use 'Partition Magic' to shrink
>>>the size of the C-drive. But how this would be done in practice, was
>>>left unclear.
>>
>> I can't even count the number of times I've posted the steps on the
>> newsgroups for using Ghost, its bascially the same as whats on
>> Robert's site.
>>
>> 1. Create a new drive image
>> 2. mount it as a hard disk 2
>> 3. boot the VM from a floppy/floppy image and run ghost
>> 4. image from drive 1 to drive 2
>> 5. shut down
>> 6. mount drive image 2 as hard disk 1, and leave drive 1 unmounted
>> 7. boot up and verify everything works
>> 8. delete old drive image 1
>>
>> Using partition magic to resize your partition still won't reduce the
>> actual size of the image file.
>> Steve Jain, Microsoft MVP for Virtual PC for Windows
>> Website: http://www.essjae.com
>> *** All posts are provided AS-IS, no warranty, no QoS ***

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: BACK-UP/Copy Hard Drive Question
    ... The copy function is for making an exact copy of a drive to another drive. ... Microsoft MVP Windows Shell/User ... >> Norton Ghost 9.0 ...
    (microsoft.public.windowsxp.basics)
  • Re: Ghost 2003/USB Problem
    ... Animated Shockwave Ghost tutorial with sound ... Microsoft MVP ... Get Windows XP Service Pack 2 with Advanced Security Technologies: ... | an external USB 2.0/Firewire Western Dig HD. ...
    (microsoft.public.windowsxp.basics)
  • BACK-UP/Copy Hard Drive Question
    ... > You'll need a third-party imaging program. ... > Norton Ghost 9.0 ... > Introduction to cloning a Windows NT, Windows 2000, or Windows XP computer ... > Microsoft MVP ...
    (microsoft.public.windowsxp.basics)
  • Re: ghost 2003
    ... > | I am trying to clone my work machine to use on a dual boot system on my ... > | external drive it goes ok but does not show up as a ghost image there ... > Microsoft MVP ... > Windows XP - Shell/User ...
    (microsoft.public.windowsxp.general)
  • RE: http://service1.symantec.com/SUPPORT/ghost.nsf/docid/1999050308324125?Open&src=&docid=20
    ... | How to change the SID on a Windows XP, Windows 2000, or Windows NT ... Identifier (SID) afterward. ... | Ghost Walker is a Ghost utility included in the corporate Ghost ... | Microsoft provides the SysPrep utility for preparing a source ...
    (microsoft.public.win2000.security)