I solved it by reinstalling box. It is found that the box installation and direct apt install may cause the problem that the virtual machine cannot be started.
1. Add the source of VirtualBox and install the 5.1 version
virtualbox official website: https://www.virtualbox.org/wiki/Download_Old_Builds
Although the deb package can also be installed directly (for example: sudo dpkg -i virtualbox-4.3_4.3.10-93012~Ubuntu~raring_amd64.deb), but I personally have problems installing it through the deb package,
So it is installed in this way, and the installation can be kept updated by adding the source:
$ sed -i '$adeb http://download.virtualbox.org/virtualbox/debian xenial contrib' /etc/apt/sources.list
Import public key for apt-secure:
$ wget -q https://www.virtualbox .org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
$ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
install via apt VirtualBox and dkms, where the dkms package ensures that the next time the kernel is updated via apt upgrade, VirtualBox's kernel modules are also updated correctly:
$ sudo apt-get update
$ sudo apt-get install virtualbox dkms
Second, uninstall. dpkg -l |grep <program name>
First, check the version of the installed VirtualBox in the terminal:
$ dpkg -l |grep virtualbox
to check the version number, for example, mine: virtualbox-4.1
Execute uninstallation:
$ sudo apt-get remove virtualbox-4.2
3. View the program installation path.
dpkg -L <program name>
For example: dpkg -L virtualbox-4.2