Skip to content
閲覧中:
VitrualBoxの guest additional

VitrualBoxの guest additional

もちろんです。エラーメッセージを見ると、原因は以下の部分です。

Text Only
make: not found

This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.

つまり、**VirtualBox Guest Additions のインストールに必要な開発ツール(make、gcc、perl など)がインストールされていない**ため、カーネルモジュールのビルドに失敗しています。

まず現在のOSを確認

Bash
cat /etc/os-release

Ubuntu系であれば次を実行してください。

必要なパッケージをインストール

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

インストール後、再度 Guest Additions を実行します。

Bash
sudo bash /media/yossym/VBox_GAs_7.1.18/VBoxLinuxAdditions.run

最後に再起動します。

Bash
sudo reboot