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?

【virtualbox】GuestAdditionsのバージョンの不整合エラーの解決

Posted at

該当エラー

image.png
ホスト側のGuest AdditionsとゲストOS側のGuest Additionsのバージョンが違う。

VBoxService --versionでは7.1.6r17084(ISO版)
dpkg -l | grep virtualbox-guest-*では 7.0.20-dfsg-1.2(リポジトリ版)

解決策

ISOイメージ版で統一することにする。

1.Debianパッケージ版の削除

sudo apt purge -y virtualbox-guest-utils virtualbox-guest-x11

2.必要パッケージのインストール

sudo apt update
sudo apt install -y dkms build-essential linux-headers-$(uname -r)

3.Guest Additions CDを挿入・マウント

sudo mkdir -p /mnt/cdrom
sudo mount /dev/cdrom /cdrom

4.ISOのインストール

sudo sh /mnt/cdrom/VBoxLinuxAdditions.run

5.ゲストを再起動

sudo reboot

バージョン確認

VboxService --version
modinfo vboxguest | grep ^version

ここで同じバージョンが出ればOK

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?