Ref: stackoverflow.com/questions/11659005/how-to-resize-a-virtualbox-vmdk-file

 

How to resize a VirtualBox vmdk file

I've run out of space on a virtual machine disk which is a vmdk and need to resize the virtual image. Resizing with the command vboxmanage modifyhd Machine-disk1.vmdk --resize 30720 gives the er...

stackoverflow.com

 

 

$ VBoxManage clonemedium "source.vmdk" "cloned.vdi" --format vdi

$ VBoxManage modifymedium "cloned.vdi" --resize 30720   (30 * 1024)

$ VBoxManage clonemedium "cloned.vdi" "resized.vmdk"  --format vmdk

 

$ sudo apt install gparted

 

adjust free space on the gparted


WRITTEN BY
RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.

,