Disclaimer: I just did these steps once after 2 hours of research on a VirtualBox Version 6.0.10 r132072 (Qt5.6.2)
installed on Windows 10 and it worked. Make sure you know what you are doing.
Let's assume these:
- Your VM VirtualBox installation folder is:
C:\Program Files\Oracle\VirtualBox
- Your VM files are in
D:\VM\ubuntu\18.04\
. fixed-18.04.vdi
is a 40GB fixed size storage that we want to resize.
Steps:
- Shutdown your Ubuntu VM.