User Tools

Site Tools


vm:virtualbox

This is an old revision of the document!


Virtualbox

Hardware Virtualization

Hardware Virtualization (alias VT-X - a command Set of the CPU) is required for virtual machines.

on MSI Mainboard

Enabling it is hidden within

Overclocking > CPU Features > Inter Virtualization Technology

ACHTUNG: “CPU Features” IS FUCKING ONLY AVAILABLE IN “STANDARD MODE” - NOT IN “ECO MODE”

on HP Notebook

lh3.googleusercontent.com_-gmtpmuupcta_wqpjdwfc_vi_aaaaaaaaafe_0vsmi6oqdc0kansjakollnbb50ebtwgbwchmycw_s0_2018-03-15_13-13-40.jpg

DeviceGuard

“DeviceGuard” also blocks the VT-x feature, which causes the “VERR_VMX_NO_VMX” message by VirtualBox or Vagrant.

You can check, whether DeviceGuard is running under SystemInformation. Search for: “DeviceGuard Virtualization: Running”

You can disable it, via “gpedit.msc”, setting “Computer Configuration\Administrative Templates\System\Device Guard\Turn On Virtualization Based Security” to “Disabled”.

Additionally you can set “bcdedit /set hypervisorlaunchtype off”

You can check, whether the device guard is running under

Resolution

How to customize Virtual box resolution is written here: http://www.virtualbox.org/manual/ch09.html

VBoxManage.exe setextradata "Windows8" CustomVideoMode1 1680x1050x32
VBoxManage.exe setextradata global GUI/MaxGuestResolution any

Release Disk space

The dynamic disk occupies XGB of real disk space, once there tehre were XGB of Data.
But the virtualdisk does not automatically release diskpace.
To release diskspace do: - Disk defragmentation inside of the virtual machine - use sdelete.exe tool to delete unneeded blocks

sdelete.exe -z

- use vmbox toolkit to compact the disk

VBoxManage modifyhd "X:\Virtual Machines VirtualBox\VirtualboxHdd.vdi" --compact

Running Virtualbox as a VBoxHeadlessTray

http://www.toptensoftware.com/VBoxHeadlessTray/

Use the vboxvmservice tool to run Virtual Machines as a service!

Network

The Network woks if set to Networkbridge

vm/virtualbox.1531479544.txt.gz · Last modified: (external edit)