Virtualbox:从Vagrant Ubuntu环境中检索数据

Virtualbox:从Vagrant Ubuntu环境中检索数据,ubuntu,vagrant,virtual-machine,virtualbox,Ubuntu,Vagrant,Virtual Machine,Virtualbox,我用Vagrant配置了一个虚拟Ubuntu droplet,用于Ubuntu系统的开发。现在,我无法启动虚拟机,在使用命令vagrant up时,出现以下错误: Bringing machine 'default' up with 'virtualbox' provider... ==> default: Checking if box 'hashicorp/precise64' is up to date... ==> default: Clearing any previous

我用Vagrant配置了一个虚拟Ubuntu droplet,用于Ubuntu系统的开发。现在,我无法启动虚拟机,在使用命令
vagrant up
时,出现以下错误:

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'hashicorp/precise64' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: bridged
==> default: Forwarding ports...
    default: 8080 (guest) => 2200 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> 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", "9295efec-36d1-4aed-932d-ddd5785df28b", "--type", "headless"]

Stderr: VBoxManage: error: Failed to open/create the internal network 'HostInterfaceNetworking-eth0' (VERR_SUPDRV_COMPONENT_NOT_FOUND).
VBoxManage: error: Failed to attach the network LUN (VERR_SUPDRV_COMPONENT_NOT_FOUND).
VBoxManage: error: One of the kernel modules was not successfully loaded. Make sure that no kernel modules from an older version of VirtualBox exist. Then try to recompile and reload the kernel modules by executing '/sbin/vboxconfig' as root (VERR_SUPDRV_COMPONENT_NOT_FOUND)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
我不确定是什么原因导致了这个错误,因为我没有对配置进行任何更改。无论如何,现在我希望检索存储在虚拟机中的数据,因为我的备份数据没有完全更新。
任何建议都会很有帮助。提前谢谢

您得到的错误是加载了错误的模块或加载了错误的模块,例如(/sbin/vboxconfig), 用sudo打开一个shell,然后尝试以下操作

>sudo su - 
>/sbin/rcvboxdrv setup"

Unloading modules: vboxdrv
Loading modules: vboxnetadp vboxnetflt vboxpci vboxdrv
请确保使用最新版本的VirtualBox 5.0.12或更高版本。 Virtualbox.org上与此相关的问题