north-memo

日常のメモをしている

【メモ】vagrant upが失敗したら

これはただの個人的メモです。原因追求を一切していません。

吐くエラー

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

解決策

sudo /etc/init.d/vboxdrv setup

状況

vagrant起動中に不意に電源が切れ、再起動した時に起こる。

予想

どうもvirtual boxのkernelをrecompilingしている様子。

参考

d.hatena.ne.jp