-
Jean-Francois Lalande authoredJean-Francois Lalande authored
- Test your Virtualbox Installation
- Install VirtualBox
- Test your installation
- Problems and solutions
- The VM does not start and Virtualbox displays an error
- VT-X is missing
- Error: vboxnet0 (adapter 2)
- Error: Failed to create a host network interface
- USB problem
- The VM starts and it shows an error
- Pinging 8.8.8.8 fails
- DNS resolution fails
- DHCP is blocked and the test does not continue
- There is an error about eth1
- Other problems
- Cannot exit the mouse from the VM
- The screen of the VM is very small
Test your Virtualbox Installation
This page helps you to test if your VirtualBox install is ok.
Install VirtualBox
If not already done, install VirtualBox on your computer. You can follow the instructions given here by the DISI.
Test your installation
For testing VirtualBox, we have developed a small virtual image that should run smoothly on your computer. Follow the following steps:
-
Download TestVM.ova from this link.
-
Import TestVM.ova: Menu File > import appliance, then select TestVM.ova and hit next and finalize hitting "Import" - (help)
- You now see the TestVM virtual image on the left
- Select it and hit the "Start" button
- Wait and look at the screen: when the virtual machine has finished to boot, you should obtain the following result:
If some tests fail, please find your problem below and a possible solution.
- Shutdown the VM
You are now ready with your VirtualBox installation :)
Problems and solutions
The VM does not start and Virtualbox displays an error
VT-X is missing
You should enable the intel VT-x instructions in your BIOS.
In windows 10, you should:
- go to the update screen of Windows
- reboot into the BIOS
- activate intel VT-x
This page should help you.
Error: vboxnet0 (adapter 2)
The VM does not start because the private network vboxnet0 have not been created.
- Go to File > Host network manager
- Create the vboxnet0 network using the Create button
Error: Failed to create a host network interface
It seems that the installation of VirtualBox was done with wrong options. Try to uninstall VirtualBox and install it again. It should solve this problem.
USB problem
You should install the extension pack. Go on this page and click the VirtualBox X.Y.Z Oracle VM VirtualBox Extension Pack and follow the instructions.
The VM starts and it shows an error
Pinging 8.8.8.8 fails
Your VM cannot access internet. It is probably due to your computer that is not connected to internet or your traffic is filtered. Try to reconnect to internet or change of network provider and recheck.
DNS resolution fails
If you can ping 8.8.8.8 is ok and the DNS resolution fails, it is a strange problem. It means that the DNS server embedded in VirtualBox cannot send DNS request outside. It should not happen. Try to change of network provider.
DHCP is blocked and the test does not continue
This is because your virtual network card has been disabled or misconfigured. Go to "Paramètres", then "Réseau" and activate the network card in NAT mode:
There is an error about eth1
Probably, you have misconfigured the second network card: this network card is connected to the private host vboxnet0. You should configure it as follows (Paramètres > Réseau):
If vboxnet0 is missing go to the previous error "vboxnet0 is missing".
Other problems
Cannot exit the mouse from the VM
By default the key "Ctrl" on the right, asks Virtualbox to exit from the VirtualBox window. If your keyboard has no right Ctrl key, you should customize the key in the preferences of Virtualbox.
The screen of the VM is very small
It is really difficult to read the screen !
You can increase the screen size by going into the menu:
Screen > Virtual screen number 1 > Resize to 125%