web-dev-qa-db-ja.com

Virtualbox 4.2.10でのXubuntu 13.10ゲストOSのゲスト追加のインストールに問題がある

Virtual Box 4.2.10を実行しているHostオペレーティングシステムとしてUbuntu 13.04 64-BITを使用していますvirtualboxにゲストの追加(CTRL + D)をインストールし、ゲストOSにボリュームをマウントし、rootを使用してVBoxLinuxAdditions.runファイルを実行するように指示すると、このメッセージが表示されます。

Sudo ./VBoxLinuxAdditions.run

起動してから、次のエラーメッセージが表示されます。

Verifying archive integrity... All good.
Uncompressing VirtualBox 4.2.10 Guest Additions for Linux..........
VirtualBox Guest Additions installer
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.

    Building the main Guest Additions module ...done.
    Building the shared folder support module ...fail!
    (Look at /var/log/vboxadd-install.log to find out what went wrong)
    Doing non-kernel setup of the Guest Additions ...done.
    Installing the Window System drivers
    Warning: unknown version of the X Window System installed.  Not installing
    X Window System drivers.
    Installing modules ...done.
    Installing graphics libraries and desktop services components ...done.
    allusers@allusers-VirtualBox:/media/allusers/VBOXADDITIONS_4.2.10_84104$ 

Linux用のゲスト追加のインストールに関する公式のVirtualBoxマニュアル のすべてに従いました。

Sudo apt-get install build-essential linux-headers-$(uname -r) dkms

そして:

Sudo apt-get install virtualbox-guest-x11

これらのコマンドを実行した後、リブートしましたが、まだ機能しません。カーネルモジュールが欠落しており、ウィンドウがシームレスではないことを示しています。何が問題になる可能性がありますか?ログファイルは次のとおりです vboxadd-install.log

2

私は、VirtualBox 4.1.8(Kubuntu 13.10をゲストとして)を実行しているDebian Wheezyホストで同じ問題を実行しています。

少し掘り下げた後、最新の13.10派生Linuxディストリビューション(Xubuntu 13.10など)にゲスト追加をインストールするには、ホスト上で実行されるVirtualBoxのバージョン4.3以上が必要と思われます。

VirtualBoxのバージョンを4.3まで更新するには:

公式リポジトリを/etc/apt/sources.listファイルに追加します。

deb http://download.virtualbox.org/virtualbox/debian raring contrib

公式のOracleリポジトリキーを追加し、リポジトリリストを更新します。

wget -q http://download.virtualbox.org/virtualbox/debian/Oracle_vbox.asc -O- | Sudo apt-key add -
Sudo apt-get update

実行中のvirtualboxデーモンのIDを選択します。

ps -aux | grep virtualbox

そしてそれらを殺します。

VirtualBoxの新しいバージョンをインストールします(以前のバージョンは自動的に削除されます)

Sudo apt-get install virtualbox-4.3

VirtualBoxインターフェースからゲストを起動し、Linux 13.10ゲストに4.3 .isoからゲスト追加機能をインストールします。これは、(Sudo ./VBoxLinuxAdditions.run)。カーネルモジュールは、コンパイルに適したLinuxヘッダーを見つけます。

お役に立てれば。

詳細については、 VirtualBoxの一般的なLinuxディストリビューションインストールチュートリアル を参照してください。

1
Nicolas SAUBAT