#navi(../)
* Ubuntu14.04にVirtualBox guest additionsをインストールする [#ce046971]
Ubuntu14.04をインストールしたら、画面がVGAサイズのまま設定が不可能だったので、~
VirtualBoxのGuest Additionsをインストールした時の備忘録です。

#contents
#htmlinsertpcsp(linux_ads_top.html,linux-sp.html)

* 参考資料 [#uc4d5ab3]
以下のURLを参考にしました。
-How to install Virtualbox guest additions on Ubuntu 14.04~
http://www.binarytides.com/vbox-guest-additions-ubuntu-14-04/

* Guest Additonsのインストール [#o8552da8]
以下の手順でVirtualBoxのGuest Additionsをインストールしました。

+システムのアップデート
以下のコマンドでUbuntu14.04のシステムを最新にアップデートしました。
#br
 sudo apt-get update
#br
 sudo apt-get dist-upgrade
#br
 sudo reboot
#br
+コンパイル環境のインストール
 sudo apt-get install build-essential module-assistant
#br
+ m-aコマンドの実行
 sudo m-a prepare


* Guest additonsのイメージをマウント [#id8bdb2e]
以下のスクリーンショットの手順でGuest Additonsのイメージをマウントします。
+ Guest Addtionsのイメージ挿入
#ref(01.gif)
#br
+Ubuntu側に以下のメッセージが表示されるので、いいえを押します。
#ref(02.png)
#br
+ターミナル(端末)を起動します。
+以下に記すディレクトリに移動します。
 cd /media/<ユーザ名>/VBOXADDITIONS_<バージョン>
#br
+ 移動が完了したら以下のコマンドでGuest Addtionsをインストールします。
 sudo ./VBoxLinuxAdditions.run 
#br
以下は当方の環境で実際に実行した時のターミナルの出力です。
 sakura@ubuntu1404:~$ cd /media/sakura/VBOXADDITIONS_4.3.14_95030/
 sakura@ubuntu1404:/media/sakura/VBOXADDITIONS_4.3.14_95030$ sudo ./VBoxLinuxAdditions.run 
 [sudo] password for sakura: 
 Verifying archive integrity... All good.
 Uncompressing VirtualBox 4.3.14 Guest Additions for Linux............
 VirtualBox Guest Additions installer
 Copying additional installer modules ...
 Installing additional modules ...
 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 ...done.
 Building the OpenGL support module ...done.
 Doing non-kernel setup of the Guest Additions ...done.
 Starting the VirtualBox Guest Additions ...done.
 Installing the Window System drivers
 Installing X.Org Server 1.15 modules ...done.
 Setting up the Window System to use the Guest Additions ...done.
 You may need to restart the hal service and the Window System (or just restart
 the guest system) to enable the Guest Additions.
 
 Installing graphics libraries and desktop services components ...done.
 sakura@ubuntu1404:/media/sakura/VBOXADDITIONS_4.3.14_95030$ 
#br
+vboxguestがインストールされたかを以下のコマンドで確認します。
 lsmod | grep -io vboxguest
vboxguestが表示されれば正常にインストールされています。
#br
+再起動します。
 sudo reboot

以上、VirtualBox上のUbuntu14.04にGuest Additionsをインストールする手順でした。

#htmlinsertpcsp(linux_ads_btm.html,linux-sp.html)


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS