[Solved] Stderr: VBoxManage: error: Failed to load unit ‘HGCM’ (VERR_TOO_MUCH_DATA)

OS:macOS v10.14.3

Vagrant:v2.2.4

VirtualBox:v6.0.4

When executing vagrant up , the following error message appears:

➜  vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Resuming suspended VM...
==> default: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "41ad906e-5dbe-4dd5-adce-dbec1d8c57ee", "--type", "headless"]

Stderr: VBoxManage: error: Failed to load unit 'HGCM' (VERR_TOO_MUCH_DATA)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

Solution:

In the latest version of MacOS system, make sure VirtualBox has enough directory permissions

Execute the vagrant command vagrant reload repair

Similar Posts: