1. Use VBoxManage modifyhd command:
VBoxManage modifyhd NGINX.vdi --resize 30000
The parameter for --resize is in MB. 30000 is 30GB. 40000 is 40GB.2. If your VM has snapshots, you will have to do the exact same command for each snapshot vdi file. Without doing this, you will not be able to do the next step.
3. Use gparted iso mounted onto your VM and then boot up your VM.
4. Use the gparted to resize your disk, then reboot your VM. Your VM at this point will have resized disk size.
No comments:
Post a Comment