Faqs when run Ubuntu in VirtualBox on Windows.
a. first execute follow commands in linux:
sudo dd if=/dev/zero of=zero.fill
sudo rm -f zero.fill
then close virtual mathine.
b. redirect to vm vdi file directory on Windows, execute:
'C:\Program Files\Oracle\VirtualBox\VBoxManage.exe' modifyhd ./ubuntu.vdi --compact
a. set share folder on Virtualbox settings.
b. linux operation, tools and mount commands:
sudo apt-get install virtualbox-guest-utils
sudo mkidr /mnt/shared
sudo mount -t vboxsf share /mnt/shared