Page 1 of 1

Fail to boot vm on virtualbox 5.2 + ubuntu 17.10

Posted: 20. Oct 2017, 11:31
by zengyee
Virtualbox 5.2 installed on Ubuntu 17.10 without errors, when create a machine and boot, got error dailog to suggest rerun "/sbin/vboxconfig"
when run sudo /sbin/vboxconfig
got following messages, any solution?

Code: Select all

jeff@jeff-pro:~$ sudo /sbin/vboxconfig
[sudo] password for jeff: 
Created symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service → /lib/systemd/system/vboxdrv.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service → /lib/systemd/system/vboxballoonctrl-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service → /lib/systemd/system/vboxautostart-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service → /lib/systemd/system/vboxweb-service.service.
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.
This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.

Re: Fail to boot vm on virtualbox 5.2 + ubuntu 17.10

Posted: 20. Oct 2017, 13:36
by zengyee
Dose Virtualbox support ubuntu 17.10 now?

Re: Fail to boot vm on virtualbox 5.2 + ubuntu 17.10

Posted: 20. Oct 2017, 13:39
by Perryg

Code: Select all

This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.
The install tells you what is missing and what to do about it.

To simplify it further, on Ubuntu you need to install the linux-headers and build-essential.