gl3nn Posted January 19, 2016 Share Posted January 19, 2016 hello guys, I created a vm for gaming so i put the disk size at 300gb. After that i found out about shares and put my games there so i would like to reduce my vm size to 100gb. Is this possible and how? Greeting Gl3nn Link to comment
itimpi Posted January 19, 2016 Share Posted January 19, 2016 The issue is making sure there is no data in the part of the virtual disk image that you want to discard. The easiest way is to start by using something like a gparted .iso and temporarily amending the VM to boot off that. When it boots it will allow to shrink the partition inside the virtual disk image. Once that has been done you can stop the VM; put it back to its normal boot setting; and truncate the virtual disk image to only include the smaller partition. Link to comment
gl3nn Posted January 19, 2016 Author Share Posted January 19, 2016 so I have to boot from gparted and then change the size? Link to comment
smakovits Posted January 19, 2016 Share Posted January 19, 2016 yes, mount the iso like you would when installing windows and tell it to make the partition smaller, similar to what you would do with a physical disk. After that, you will write zeros to the empty space and truncate the disk. Link to comment
netslayer Posted September 10, 2016 Share Posted September 10, 2016 how does one truncate the remaining space after a gparted resize? just dd a copy to the size you want? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.