Category Archives: VirtualBox

Windows: Disable Credential- ,Device Guard and Virtualization based security

Hi,

new features in Windows 10 prevents Virtual Machines based on VMware Workstation or Virtual Box from starting.
Typical Errors are:

  • VirtualBox: VERR_SUPDRV_NO_RAW_MODE_HYPER_V_ROOT or VT-x is not available (VERR_VMX_NO_VMX)
    error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole
  • VMware Workstation: VMware Workstation and Device/Credential Guard are not compatible. VMware Workstation can be run after disabling Device/Credential Guard

Continue reading Windows: Disable Credential- ,Device Guard and Virtualization based security

VirtualBox: Boot from USB

Hi,

Virtualbox allows to boot from USB. But this feature isn’t exposed to the GUI.

Lets start. First of all determine the physical disk. Open Powershell and query the disks by WMI

PS D:\> Get-WmiObject -Query "Select * from Win32_DiskDrive"

Partitions : 3
DeviceID   : \\.\PHYSICALDRIVE0
Model      : Samsung SSD 850 PRO 512G
Size       : 512105932800
Caption    : Samsung SSD 850 PRO 512G

Partitions : 1
DeviceID   : \\.\PHYSICALDRIVE2
Model      : Generic USB CF Reader USB Device
Size       : 4030387200
Caption    : Generic USB CF Reader USB Device

Continue reading VirtualBox: Boot from USB

Virtualbox: VM does not start after creating a snapshot. EFail (0x80004005)

Hi,

when using vhd disks or when you convert other  disk formats (vmdk, vhd)  to vdi and you create  a snapshot, the virtual machine won’t boot.

An error occurs while starting the vm:

Fehlercode: E_FAIL (0x80004005)
Component: ProgressProxy
Interface: IProgress {c20238e4-3221-4d3f-8891-81ce92d9f913}

In this case the manager for virtual medias shows an error that the parent UUID of the snapshot file does not matches the UUID of parent medium stored in the media registry c:\Users\Username\.virtualbox\VirtualBox.xml.

This can be fixed 🙂 Get the UUID of the parent disk
Continue reading Virtualbox: VM does not start after creating a snapshot. EFail (0x80004005)

Virtualbox: Creating and controlling Virtual Maschines from command line

Hi,

VirtualBox offers a very powerful command inferface: vboxmanage. With vboxmanage you can create new virtual machine, add and modify harddisk and much more. All the things you could do in the GUI, and a lot more are also possible at command line. In this post I will create, modify, control and delete a complete virtual machine.

At the bottom of the post the whole script can be downloaded.
I used a debian linux system for my tests. To install the latest VirtualBox version use the following commands:

echo "deb http://download.virtualbox.org/virtualbox/debian wheezy contrib non-free" >> /etc/apt/sources.list
# Add Oracle Keyring
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | apt-key add -
# Update repositories
apt-get update
# Install latest virtualbox version
apt-get -y install virtualbox-4.3
# Installing the Extentionpack for USB2 and RDP support
wget http://download.virtualbox.org/virtualbox/4.3.6/Oracle_VM_VirtualBox_Extension_Pack-4.3.6-91406.vbox-extpack
VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.6-91406.vbox-extpack

Continue reading Virtualbox: Creating and controlling Virtual Maschines from command line

VirtualBox: Changing the UUID of a VDI virtual disk File

Hi,

sometimes you simply want to copy a vdi file and attach it to another virtual machine.

This will fail because in a VirtualBox Installation each vdi Harddisk must have an unique UUID. This command line changes the UUID of a VDI file.
Continue reading VirtualBox: Changing the UUID of a VDI virtual disk File