Wiki Home Update Image and Game Compact Virtual Disk File

Compact Virtual Disk File

2015/04/10 11:50

If you want to compact a virtual disk file, here is a good way. The steps are as follows.


English:

1) Click the "Start" button, and enter "cmd" in the "Run" edit box, press the "Enter" button.

2) In the pop up "Command Line" window, enter "diskpart", then press the "Enter" button.

3) Select vdisk file="d:\YeniWin7Sp1UltimateUcgenNet.vhd"

4) Attach vdisk readonly.

5) Compact vdisk.

6) Detach vdisk.

Now you can see that you have a smaller file.


Turkish:

Server üzerinden sanal diskleri sisteme bağlayarak sıkıştırma yapabilirsiniz.

Öncelikle komut satırını açıyoruz

Başlat -> Tüm Programlar -> Donatılar -> Komut İstemi (Kısa yoldan Win Tuşu + R cmd yaz enter)

Komut isteminde Diskpart yazıp enter a basıyoruz

Disk yönetiminin komut istemi hali açılacak. Şimdi sanal diskimizi sisteme tanıtalım select vdisk file="d:\YeniWin7Sp1UltimateUcgenNet.vhd"

Imaj dosyamızı sisteme salt okunur modda ekleyelim attach vdisk readonly

Son olarak sıkıştırma komutunu verelim compact vdisk

Sistem sanal diski sıkıştırdıktan sonra diskimizi sistemden ayırabiliriz detach vdisk

Bu arada örnek olarak sıkıştırmadan önce 22,0 GB Sıkıştırmadan sonra : 14,9 GB (Dikkate değer bi fark)


Thanks for Selçuk Dere providing this solution.

Related:

CCBoot Used As Virtual Disk Game Server