Failed to open a session for the virtual machine 7.
The virtual machine '7' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {f30138d4-e5ea-4b3a-8858-a059de4c93fd}
위와 같은 에러가 나타나면서 실행이 안되었습니다.
아래 붉은색 명령어를 입력하니 실행이 되더군요^^
[root@localhost ~]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Recompiling VirtualBox kernel modules^[[A
^[[A^[[B^C
[root@localhost ~]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Recompiling VirtualBox kernel modules [ OK ]
Starting VirtualBox kernel modules [ OK ]
검색하여 보니 아래와 같은 답변도 있군요.
The reason, why the module can not be built are, as the error suggest, missing kernel header files.
Install them with
sudo apt-get install linux-headers-generic
It will install a meta-package that always points to the latest kernel headers in the repository. If a new kernel is available and installed during a system update, the appropriate headers are going to be installed automatically as well.
Afterwards, try to install the vboxdrv
modules again.
출처 : http://askubuntu.com/questions/676992/virtualmachine-5-dosnt-work-after-upgrade-linux-mint-to-17-1