« VirtualBoxのWindowsXPにPanda Cloud Antivirusを入れた | トップページ | HTML5ベースの素敵な404 Not Found »

2010年10月 3日 (日) / Author : Hiroshi Sekiguchi.

How to install Oracle VM VirtualBox guest additions.

Guest Additionsインストールで悩んだ時はこれね!

Oracle VM VirtualBoxでguest additionsインストールでbash: ./VBoxLinuxAdditions-x86.run: /bin/sh: bad interpreter: 許可がありませんエラーに遭遇したんですが、多分皆さん一度はハマったかなっと思った事もあり、メモ替わりに載せておきます。


「VM上のメニュー」→「デバイスアイテム」→「Guest Additionsのインストール」を選択後、xtermを開く、まではいいんですが…。

[root@discus2 ˜]# cd /media
[root@discus2 media]# ll
合計 2
dr-xr-xr-x 4 root root 2048 8月 5 20:58 VBOXADDITIONS_3.2.8_64453
[root@discus2 media]# cd VBOXADDITIONS_3.2.8_64453
[root@discus2 VBOXADDITIONS_3.2.8_64453]# ll
合計 30317
dr-xr-xr-x 3 root root 2048 8月 5 20:58 32Bit
dr-xr-xr-x 2 root root 2048 8月 5 20:58 64Bit
-r-xr-xr-x 1 root root 222 6月 3 01:33 AUTORUN.INF
-r-xr-xr-x 1 root root 3286480 8月 5 20:50 VBoxLinuxAdditions-amd64.run
-r-xr-xr-x 1 root root 2846156 8月 5 20:57 VBoxLinuxAdditions-x86.run
-r-xr-xr-x 1 root root 11253760 8月 5 21:52 VBoxSolarisAdditions.pkg
-r-xr-xr-x 1 root root 7669024 8月 5 20:44 VBoxWindowsAdditions-amd64.exe
-r-xr-xr-x 1 root root 5701080 8月 5 20:41 VBoxWindowsAdditions-x86.exe
-r-xr-xr-x 1 root root 277008 8月 5 20:41 VBoxWindowsAdditions.exe
-r-xr-xr-x 1 root root 4890 8月 5 20:54 autorun.sh
[root@discus2 VBOXADDITIONS_3.2.8_64453]#
[root@discus2 VBOXADDITIONS_3.2.8_64453]#
[root@discus2 VBOXADDITIONS_3.2.8_64453]# ./VBoxLinuxAdditions-x86.run
bash: ./VBoxLinuxAdditions-x86.run: /bin/sh: bad interpreter: 許可がありません
[root@discus2 VBOXADDITIONS_3.2.8_64453]#
[root@discus2 VBOXADDITIONS_3.2.8_64453]#
[root@discus2 VBOXADDITIONS_3.2.8_64453]#
[root@discus2 VBOXADDITIONS_3.2.8_64453]# /bin/sh VBoxLinuxAdditions-x86.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 3.2.8 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 3.2.8 of VirtualBox Guest Additions...
Building the VirtualBox Guest Additions kernel modules
Your guest system does not seem to have sufficient OpenGL support to enable
accelerated 3D effects (this requires Linux 2.6.27 or later in the guest
system). This Guest Additions feature will be disabled.

Building the main Guest Additions module [ OK ]
Building the shared folder support module [ OK ]
Doing non-kernel setup of the Guest Additions [ OK ]
You should restart your guest to make sure the new modules are actually used

Installing the Window System drivers
Installing X.Org 7.1 modules [ OK ]
Setting up the Window System to use the Guest Additions [ OK ]
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 componen[ OK ]
[root@discus2 VBOXADDITIONS_3.2.8_64453]#


| |


この記事へのトラックバック一覧です: How to install Oracle VM VirtualBox guest additions.: