Fail to boot vm on virtualbox 5.2 + ubuntu 17.10

Discussions related to using VirtualBox on Linux hosts.
Post Reply
zengyee
Posts: 2
Joined: 20. Oct 2017, 11:23

Fail to boot vm on virtualbox 5.2 + ubuntu 17.10

Post 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.
Last edited by socratis on 20. Oct 2017, 20:55, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
zengyee
Posts: 2
Joined: 20. Oct 2017, 11:23

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

Post by zengyee »

Dose Virtualbox support ubuntu 17.10 now?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

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

Post 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.
Post Reply