I performed a dist-upgrade
and then and autoclean
and autoremove
. It disabled the Virtual Box service on Linux because the headers were out of date. The headers caught up, so I rebuilt the modules off the Guest Additions CD.
I'm trying to start the service again, but I can't seem to find the command. For example, I found How to automatically start and shut down VirtualBox machines?, but it talks about using the Virtual Box manager and not Ubuntu's service control.
How do I start How to start Virtual Box service on Ubuntu Linux?
If needed, how do I reinstall the Virtual Box service on Ubuntu Linux?
Best Answer
On my Deepin Linux (a variant of Ubuntu), I know two ways to start the Virtualbox services.
service --status-all
-- It will list the services registered in system with the status mentioned in output. You can see VirtualBox related services with the namevbox
*.service service_name start
where service_name is the service name you saw in step 1. E.g.: If the service name isvboxautostart-service
then typeservice vboxautostart-service start
.Or,
/etc/init.d
. Typels -l
to list files (services) and look for services with the namevbox
*. Make sure that they are executable.vboxdrv
service, the command would be./vboxdrv start
.In both the methods, you can choose not to issue
start
to see all parameters available for the service.