Tag Archives: VirtualBox

Error ns when starting VirtualBox virtual machine after upgrading kernel_ ERROR_ FAILURE

I updated the Ubuntu kernel today and everything seems to be going well. But when Trying to open a Previously created Windows 8.1 virtual machine inside VirtualBox, an error was reported:

Feeling confused, hard to create a virtual machine so can not be used?
After a long look, it turns out that the kernel driver for VirtualBox was not loaded successfully, presumably because the kernel had just been upgraded.
The solution is simple: simply execute the following command:

sudo /etc/init.d/vboxdrv setup

At this point, the VirtualBox kernel driver will be recompiled and loaded, possibly waiting a while.
After the command is executed, try to open the virtual machine again, and everything is fine.

Virtualbox failed to attach usb, VERR_PDM_NO_USB_PORTS problem solved

The problem described
Error:VERR_PDM_NO_USB_PORTS
my machine environment:
host kali Linux virtualbox version 5.0.x
Question why
Usb Settings should use USB 3.0, as if because VirtualBox doesn’t support anything else
Problem solving
Settings Go to USB Settings and select USB 3.0 but Invalid Settings Detected appears. Tip need to install the Extension pack. And go to the website to download the Extension pack, then warrant 5.1.1 version seems finally to version, so the final solution is to update the virtualbox.
but here are a few need to be aware of, update need completely remove clean before virtualbox virtualbox

apt-get remove virtualbox
apt-get remove virtualbox-dkms

After that, I used the official downloaded.deb file for the installation

dpkg -i virtualbox-5.1_5.1.6-110634~Debian~jessie_amd64.deb

Prompt lack of libvpx1 and libssl1.0.0
apt-get found that these two can not directly down,libvpx is related to libvpx3 and libvpx4, it seems that must be libvpx1 can, so there is no way, can only search libvpx1 and libssl1.0.0, here is my search to download the address
libssl1.0.0 download address
libssl1.0.0 download address
libvpx1 download address
and then respectively through DPKG After the -i installation, install Virtualbox-5.1 and open Discover USB is now available. The default is 3.0

Errors occured, no packages were upgraded. ⇒ ERROR: Failed to install packages to new root.

LZ installing archlinux with virtualbox. Archwiki installing

according to the official document to execute (before executing the command, it is better to go to /etc/pacman.d/mirrorlist to change a faster source to copy the following Server template, change the middle http://mirrors.163.com/ after the same as the template)

pacstrap -i /mnt base base-devel

will throw an error

after executing this command

Errors occured, no packages were upgraded. 
⇒ ERROR: Failed to install packages to new root.

after all kinds of methods can not be solved (all are all kinds of post bar big hand reply, today suddenly noticed is someone answered the correct method, there is a solution in pacman, did not see.) The second page to find a solution, of course, this method may not be universal, but also post bar reply method only for I did not
the solution is as follows, execute the command

pacman-key --refresh-keys

官方文档如下(不愧是archwiki)

注意:archlinux-keyring包是pacman的一个依赖项,它包含最新的密钥。但是,也可以使用pac -key -refresh-keys(作为根用户)手动更新密钥。在执行-refresh-keys时,您的本地密钥也将在远程keyserver上查找,并且您将收到一条关于未找到该密钥的消息。这没什么可担心的

好的,问题解决。重新执行

pacstrap -i /mnt base base-devel

VirtualBox problem solving set -[drm:vmw_host_log [vmwgfx]] *ERROR* Failed to send host log message

environment description:
virtual machine: VirtualBox version 6.0.14 r133895 (Qt5.6.2)
virtual machine: Ubuntu 18.04 LTS

problem description: [DRM :vmw_host_log [VMWGFX]] ERROR Failed to send host log message
screenshot:

solution:

  1. shut down the target system;
  2. VirtualBox main panel, select the virtual machine to be modified on the left, click “Settings” on the right;
  3. Settings page, click “display” on the left, select “screen” on the top right, select “video card controller” on the bottom, and select VBoxVGA;
  4. Start the target system, but you can find that there are no more prompts.