How to make a disk smaller

This is for discussing general topics about how to use VirtualBox.
Post Reply
jvsrvcs
Posts: 38
Joined: 26. Oct 2011, 02:53
Primary OS: MS Windows 7
VBox Version: OSE self-compiled
Guest OSses: Android

How to make a disk smaller

Post by jvsrvcs »

Is it possible to take an existing VM and clone it and change the size of the disk drive to be smaller ( like from 40GB to 5GB? )
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: How to make a disk smaller

Post by mpack »

Not using VirtualBox. You can however do it the same way you would with a physical PC. I.e. reduce partition size with partition manager of your choice, image using disk imager of your choice, restore the image onto the PC of your choice.

Restricting a modern OS to something as small as 5GB is normally not a brilliant idea. It leads to congestion, awful performance, and of course an increased risk of running out of disk space in the middle of an operation.
Post Reply