在國(guó)外網(wǎng)站看到一個(gè)介紹減小VMWARE映像文件的文章,覺得有點(diǎn)用,大家看看,里面的很多方法也適用于2000,XP等操作系統(tǒng)。
How to reduce size of vm disk image. Guest OS Windows 2000 Server with service packs and hotfixes Virtual Disk Size Before 1342 MB Steps to Reduce Virtual Disk Size (Performed in the Guest OS) //在虛擬機(jī)執(zhí)行的
1. Set minimum page file size to 15 MB. 2. Empty dllcache folder a. run sfc.exe /cachesize=1 b. restart guest OS c. run sfc.exe /purgecache 3. Empty %windir%\servicepack folder. 4. Empty %windir%\Driver Cache\i386 folder. 5. ClearPageFileAtShutdown(314834.KB.EN-US, 182086.KB.EN-US), restart. 6. If your guest OS is XP, turn off System Restore. 7. Defragment the disk, even if the Analysis says you don’t need to. 8. Shrink the disk using Control Panel -> VMWare Tools -> Shrink. 9. Shutdown guest.
Virtual Disk Size After 473 MB
Additional Steps (Performed in the Host OS) //需要在宿主機(jī)執(zhí)行
10. Using NTFS compression, compress the .vmdk files.
Virtual Disk Size After 296 MB
|