Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't launch a vm using vagrant and I'm stuck on my tutorial. #132

Open
Miguel-Florian opened this issue Apr 22, 2023 · 0 comments
Open

Comments

@Miguel-Florian
Copy link

I'm on ubuntu 22.04, and I can't deploy my vm (bento/ubuntu-21.04).
When I run the vagrant up command, I get this error:
No usable default provider could be found for your system.

Vagrant relates on interactions with 3rd party systems, known as
"providers", to provide Vagrant with resources to run development
environments. Examples are VirtualBox, VMware, Hyper-V.

The easiest solution to this message is to install VirtualBox, which
is available for free on all major platforms.

If you believe you already have a provider available, make sure it
is properly installed and configured. You can see more details about
why a particular provider isn't working by forcing usage with
vagrant up --provider=PROVIDER, which should give you a more specific
error message for that particular provider.
When I enter the command vagrant up --provider=virtualbox I get this error:
The provider 'virtualbox' that was requested to back the machine
'default' is reporting that it isn't usable on this system. Tea
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 have an error of incomplete installation of virtualbox and when I type VBoxManage --version, I have:
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-generic.

You will not be able to start VMs until this problem is fixed.
6.1.38_Ubuntur153438
I installed the headers with this command: sudo apt-get install linux-headers-$( uname -r ) build-essential dkms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant