Thread: Making a smaller virtual XP disk
01-10-2008, 08:39 AM #1
Making a smaller virtual XP disk
- Member Since
- Mar 19, 2007
- NY USA
- iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano
I wrote instructions on how to stop the runaway train of virtual machines hitting their max in VMware Fusion (and parallels, VPC, etc). Hopefully you'll find it beneficial:
As you use your virtual machine, it will continue to grow in size. I have my virtual XP machine to maximum of 10GB. All I really need it for is testing sites in IE6 (ick) and connecting to a SQL Server (ew). After installing a few things, running all Windows Updates... my vanilla XP is using 8GB. Wha? All I have installed is WinAmp, Cisco VNC Client, and SQL Manager. Whats going on?
"Well, when Windows deletes a file, it doesn’t actually delete the data in the disk; it just deletes the references/pointers in the file allocation table. So when ESX is exporting a VMDK and is looking at the raw disk, it’s seeing values that aren’t empty (non-zero), and exports them as such. The result is more disk space is used and takes longer to export the disk."
What we want to do is remove all unneccesary files. Caches, installer temps, restore points, and useless software. Then use VMware's Shrink utility to reclaim the disk space. Other virtualization vendors will have similar solutions which may vary. But the build up to the final 'shrink' is the same. All steps are carried out in the guest Windows XP virtual machine.
Results and Benefits
- Smaller guest OS footprint (mine went from 8GB to 3GB)
- Smaller virtual disk on the host
- When zipped, the virtual disc is smaller again (mine is 1.4GB) - making it much more portable
- With a cleaner guest OS, it runs much faster
- Suspend/Resume is close to instant
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By ANlMAL in forum Running Windows (or anything else) on your MacReplies: 2Last Post: 08-30-2012, 06:51 PM
By Burnsey91 in forum Movies and VideoReplies: 4Last Post: 06-13-2011, 08:20 AM
By l008com in forum OS X - Development and DarwinReplies: 0Last Post: 02-07-2010, 06:02 AM
By Dave113 in forum Running Windows (or anything else) on your MacReplies: 1Last Post: 02-03-2009, 06:30 AM
By The Fiish in forum Movies and VideoReplies: 1Last Post: 01-25-2006, 07:02 PM