Vagrantでエラーになったときの記録
トラブルシュート
VirtualBoxのエラー
$ vagrant up
したら以下のエラー
Vagrant failed to initialize at a very early stage:
VirtualBox is complaining that the kernel module is not loaded. Please
run VBoxManage --version or open the VirtualBox GUI to see the error
message which should contain instructions on how to fix this error.
$ VBoxManage --version
したら以下のエラー
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (4.19.78-1-MANJARO) or it failed to
load. Please recompile the kernel module and install it by
sudo /sbin/vboxconfig
You will not be able to start VMs until this problem is fixed.
vboxconfigがない
カーネルのバージョンが古いと/sbin/vboxconfigがないみたい
$ sudo pacman -Ss kernel