Last active
September 24, 2020 14:42
-
-
Save anselmobattisti/5c65cc61c51beb43eb98ffef0b833d83 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Verify if the VDI can be resized using the command. | |
VBoxManage showhdinfo Ubuntu 19.04.vdi | |
# The result will be | |
UUID: 5a382024-85c8-4828-ac12-9a4f260ed8be | |
Parent UUID: base | |
State: created | |
Type: normal (base) | |
Location: Ubuntu 19.04.vdi | |
Storage format: VDI | |
Format variant: fixed default | |
Capacity: 30720 MBytes | |
Size on disk: 30722 MBytes | |
Encryption: disabled | |
Property: AllocationBlockSize=1048576 | |
Note that the format variant is fixed, so you CAN'T RESIZE. | |
The only way i found to resize the disk was clonning the VDI file | |
VBoxManage clonehd Ubuntu 19.04.vdi Ubuntu 19.04_new.vdi | |
Resize the clone that by default will be "resizeable" | |
VBoxManage modifyhd Ubuntu 19.04_new.vdi --resize 50000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment