open-learning-exchange / open-learning-exchange.github.io

http://open-learning-exchange.github.io/
39 stars 323 forks source link

Troubleshooting for VirtualBox installation for Linux #2461

Closed hiroTochigi closed 5 years ago

hiroTochigi commented 5 years ago

Problem

Linux users might face an installation problem of VirtualBox. Because of this, they cannot start vagrant properly. They might get the below warning

The provider 'virtualbox' that was requested to back the machine
'default' is reporting that it isn't usable on this system. The
reason is shown below:

VirtualBox is complaining that the installation is incomplete. Please
run `VBoxManage --version` to see the error message which should contain
instructions on how to fix this error.

I struggled with the installation process. Other Linux users who are not familiar with virtualization might face the same problem.

Steps to reproduce the problem

If a computer with Linux is booted in secure mode, the computer fails to launch VirtualBox.

Screenshots

Proposed solution

Disable secure boot or create a MOK(Machine Owner Key) Add the relevant reference on vi-planet-installation-vagrant.md Managing EFI Boot Loaders for Linux: Dealing with Secure Boot explains why this phenomenon happens and how to disable Secure Boot. VirtualBox + Secure Boot + Ubuntu = fail and Vagrant and VirtualBox with Secure Boot in Ubuntu 16.04 explain how to create a MOK

perryc85 commented 5 years ago

This is good to know. Thanks for sharing this information!

SNutakki commented 5 years ago

Sounds good. Feel free to work on this.

hiroTochigi commented 5 years ago

Problem

Linux users might face an installation problem of VirtualBox. Because of this, they cannot start vagrant properly. They might get the below warning

The provider 'virtualbox' that was requested to back the machine
'default' is reporting that it isn't usable on this system. The
reason is shown below:

VirtualBox is complaining that the installation is incomplete. Please
run `VBoxManage --version` to see the error message which should contain
instructions on how to fix this error.

I struggled with the installation process. Other Linux users who are not familiar with virtualization might face the same problem.

This Problem already mentioned on vi-planet-installation-vagrant.md. However, the way to make MOK is not mentioned yet. It might help the users who use a dual-booted computer with Windows and Linux.