Newer
Older
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](http://student-pc.centralesupelec.fr/fr/node/332) 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](https://centralesupelec-my.sharepoint.com/:u:/g/personal/jean-francois_lalande_centralesupelec_fr/EXpIsTNkHedKhJFdRYScveABMY0MMcH3jSf6oNxFmdKdmw?e=ewcPMV).
- Import TestVM.ova: Menu File > import appliance, then select TestVM.ova and hit next and finalize hitting "Import" - ([help](https://docs.oracle.com/cd/E26217_01/E26796/html/qs-import-vm.html))
- You now see the TestVM virtual image on the left
- 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 :)
### 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](https://www.shaileshjha.com/step-by-step-guide-to-enable-intel-vt-x-or-amd-v-in-bios-or-uefi-in-windows-10-and-windows-8/) should help you.

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](https://www.virtualbox.org/wiki/Downloads) 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.