-
- Shut down the virtual machine
- Right-click the virtual machine item, select “Show in File Manager”, the file manager window pops up
- Right-click the virtual machine item from the list, select “Settings…”
- Then click “Storage” at the left panel, right-click the vdi file at right, then select “Remove Attachment”
- Click “Ok”
- Switch the folder contains the vdi file, right-click a blank area, select “Open in Terminal”
VBoxManage modifymedium name.vdi --resize 99999
99999 is the new size in MB, 64000 is 64GB- Repeat step 3, then “Storage”, click the Disk icon at the lower right corner of the disks list says “Adds New Storage Attachment”
- Click “Ok”
- Start the virtual machine