github twitter email rss
Virtualbox
0001 Jun 1
One minute read

Virtualbox

mount shared folder in Windows

  • net use x: \vboxsvr\sharename

https://forums.virtualbox.org/viewtopic.php?p=29272 Tutorial: All about VDIs

How can I reduce the size of a dynamic VDI on disk?

  • free space
  • defrag
  • zero free space
    sdelete -c C
    sdelete -z C

host:

VBoxManage modifyvdi xxxx.vdi compact
VBoxManage modifyhd Windows7.vdi --compact

Resize virtual drive

VBoxManage modifyhd YOUR_HARD_DISK.vdi –resize SIZE_IN_MB

Supported OS

VBoxManage list ostypes

Other

VBoxManage controlvm docker-vm setlinkstate1 off
VBoxManage controlvm docker-vm natpf1 dfhttp,tcp,127.0.0.1,80,127.0.0.1,80
VBoxManage controlvm docker-vm setlinkstate1 on

Back to posts


comments powered by Disqus