2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

vagrant up時カーネルの違いでコケるときの対応

Posted at

【検証環境】

virtual box vagrant
5.0.14 1.7.4

vagrant up で失敗する(つらい)

1.vagrant up時にバーっと流れる文の中にこれがこっそり出てる。。。

An error occurred during installation of VirtualBox Guest Additions 5.0.14. Some functionality may not work as intended. In most cases it is OK that the "Window System drivers" installation failed. Restarting VM to apply changes..

解決方法
[vagrant@vagrant-centos65 ~]$ sudo vagrant plugin install vagrant-vbguest
このプラグインでGuest Addtionsを合わせることで解決します。

2.vagrant up時下記のエラー分が出る場合
GuestAdditions versions on your host (5.0.14) and guest (4.3.10) do not match.

解決方法
guestOS側のカーネルのバージョンとあっていませんよということなので最新のものを入れてあげる。
[vagrant@vagrant-centos65 ~]$ sudo yum update --exclude=centos*
[vagrant@vagrant-centos65 ~]$ sudo yum install http://vault.centos.org/6.5/updates/x86_64/Packages/kernel-devel-2.6.32-431.3.1.el6.x86_64.rpm

このときに --exclude=centos*が入ってないとOSのバージョンまで上がってしまうため注意が必要です。。。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?