0
0

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 3 years have passed since last update.

[02] Vagrant を使って VM「192.168.101.1」を立てる際のトラブル事例とその対策方法

Last updated at Posted at 2021-08-28
シリーズトップページ
https://qiita.com/robozushi10/items/bbdcb9e3548fb5d22dcb

概要

下記を実践した際のトラブルとその対策方法を記しておく.
[01]Vagrant を使って VM「192.168.101.1」を立てる

環境

項目
物理PC Ubuntu 18.04
VirtualBox バージョン 5.2.42
Vagrant バージョン 2.2.14

事例

「vagrant up」を実行したところ「VBoxManage: error: Implementation of the USB 2.0 controller not found!」が発生した

エラーログ抜粋

下記🛑がエラー部分である

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'CentosBox/Centos-7-v7.4-Minimal-CLI' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: 17.11.24
中略 
Command: ["startvm", "b62e9217-2a46-4ca4-84c7-67729769be25", "--type", "headless"]
 
🛑Stderr: VBoxManage: error: Implementation of the USB 2.0 controller not found!
🛑VBoxManage: error: Because the USB 2.0 controller state is part of the saved VM 🛑state, the VM cannot be started. To fix this problem, either install the 'Oracle VM VirtualBox Extension Pack' or disable USB 2.0 support in the VM settings.
VBoxManage: error: Note! This error could also mean that an incompatible version of the 'Oracle VM VirtualBox Extension Pack' is installed (VERR_NOT_FOUND)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

対策

参考にしたサイト

URL
https://qiita.com/keitakn/items/f29c9a1eaddfef2253c6

1. VirtualBox バージョンに一致した「Oracle VM VirtualBox Extension Pack」をダウンロードする

下図は VirtualBox 5.2.42 の場合である.

image.png

2. 「Oracle_VM_VirtualBox_Extension_Pack-5.2.42.vbox-extpack」をインストールする

下図のように GUI にてダブルクリックで実行してやれば良い.

image.png

3. 再度 vagrant up を実行してやれば良い

$ vagrant up

 

以上

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?