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 1 year has passed since last update.

VirtualBox Guest Additions がうまくインストールできない(GUI)ときはコマンド(CUI)でインストールする

Posted at

VBoxLinuxAdditions.run をコマンドラインで実行する

VirtualBox7.0

VM VirtulBox のメニューで Guest Additions をインストールしたら下記のエラーが発生。コマンドラインで実行した。

デバイス > Upgrade Guest Addition..

Automatic update of Guest Additions has failed: files were installed, but kernel modules were not reloaded automatically. Please consider rebooting the guest.  

ゲスト追加の自動更新に失敗しました。ファイルはインストールされましたが、カーネル モジュールは自動的にリロードされませんでした。 ゲストを再起動することを検討してください。

Result Code:
VBOX_E_GSTCTL_GUEST_ERROR (0X80BB000F)
Component:
GuestSessionWrap
Interface:
IGuestSession {234f0627-866d-48c2-91a5-4c9d50f04928}

VBoxLinuxAdditions.run 実行する上で必要なもの。

sudo apt install bzip2
sudo apt install gcc make perl -y

上記でインストールされていないものがあれば、それが原因だったのかもしれない。この時点で、GUIでのインストール(Upgrade Guest Addition..)をすればうまく行くかもしれない。

前提
仮想ホスト(VM)を立ち上げた状態で上のメニューの
デバイス>Guest Additions CD 挿入 をクリックしGuest Additions CD がマウントされていること。
エラーがすでに出ているのでマウントはうまく行ってるはず余計なお世話かもしれない。

sudo /media/uchi/VBox_GAs_7.0.10/VBoxLinuxAdditions.run

以上

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?