VBox安裝增強功能報錯
執行安裝指令碼,報錯:
點選(此處)摺疊或開啟
- [root@rhel601 vboxsp]# sh VBoxLinuxAdditions.run
Verifying archive integrity... All good. Uncompressing VirtualBox 5.1.12 Guest Additions for Linux........... VirtualBox Guest Additions installer Removing installed version 5.1.12 of VirtualBox Guest Additions... vboxadd.sh: Stopping VirtualBox Additions. Copying additional installer modules ... Installing additional modules ... vboxadd.sh: Building Guest Additions kernel modules. Failed to set up service vboxadd, please check the log file /var/log/VBoxGuestAdditions.log for details. |
檢視安裝日誌檔案:
點選(此處)摺疊或開啟
- [root@rhel601 vboxsp]# cat /var/log/VBoxGuestAdditions.log
vboxadd.sh: failed: Look at /var/log/vboxadd-install.log to find out what went wrong.
vboxadd.sh: failed: Please check that you have gcc, make, the header files for your Linux kernel and possibly perl installed..
chcon: can't apply partial context to unlabeled file `/usr/lib64/VBoxGuestAdditions/mount.vboxsf'
檢查gcc和make包是否安裝以及kernel和kernel-devel是否安裝,在本次錯誤中,gcc和kernel-devel包沒有安裝,所以需要執行安裝。
點選(此處)摺疊或開啟
-
yum install -y gcc*
- yum isntall -y kernel-devel
安裝完成後結果如下:
yum list gcc
yum list make
yum list kernel kernel-devel
點選(此處)摺疊或開啟
-
[root@rhel601 ~]# yum list gcc*
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Installed Packages
gcc.x86_64 4.4.6-4.el6 @local
gcc-c++.x86_64 4.4.6-4.el6 @local
gcc-gfortran.x86_64 4.4.6-4.el6 @local
gcc-gnat.x86_64 4.4.6-4.el6 @local
gcc-java.x86_64 4.4.6-4.el6 @local
gcc-objc.x86_64 4.4.6-4.el6 @local
gcc-objc++.x86_64 4.4.6-4.el6 @local -
[root@rhel601 ~]# yum list make
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Installed Packages
make.x86_64
-
[root@rhel601 ~]# yum list kernel kernel-devel
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Installed Packages
kernel.x86_64 2.6.32-279.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3
kernel-devel.x86_64 2.6.32-279.el6 @local -
點選(此處)摺疊或開啟
-
[root@rhel601 vboxsp]# sh VBoxLinuxAdditions.run
-
Verifying archive integrity... All good.
-
Uncompressing VirtualBox 5.1.12 Guest Additions for Linux...........
-
VirtualBox Guest Additions installer
-
Removing installed version 5.1.12 of VirtualBox Guest Additions...
-
vboxadd.sh: Stopping VirtualBox Additions.
-
Copying additional installer modules ...
-
Installing additional modules ...
-
vboxadd.sh: Building Guest Additions kernel modules.
-
vboxadd.sh: Starting the VirtualBox Guest Additions.
-
-
- Could not find the X.Org or XFree86 Window System, skipping. --這裡的錯誤忽略
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/196700/viewspace-2145865/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Ubuntu在Vbox中安裝增強功能Ubuntu
- VirtualBox安裝增強功能報錯
- 強制解除安裝報錯模組
- oracle VM virtualbox安裝增強功能與設定全屏Oracle
- Linux 環境下為VirtualBox安裝增強功能Linux
- Vbox安裝oracle-linux報錯:VT-x features locked or unavailable in MOracleLinuxAI
- VM VirtualBox 虛擬機器 Linux 安裝增強功能虛擬機Linux
- 安裝ionic 報錯 安裝canvas報錯 解決辦法Canvas
- nginx安裝報錯Nginx
- 安裝VUE報錯Vue
- list增強for迴圈刪除元素報錯
- Oracle12c功能增強 新特性之管理功能的增強Oracle
- snipMate安裝後報錯
- 安裝heapster報錯
- virtualbox中安裝增強工具失敗
- openGauss DSS功能增強
- .NET Framework 新功能和增強的功能Framework
- freeipa server安裝報錯Server
- pip 安裝 grpcio 報錯RPC
- CDC linux安裝報錯Linux
- RPM 包安裝報錯
- 安裝mysql 5.5.14 報錯MySql
- Oracle安裝報錯syntax errorOracleError
- 安裝RAC 報錯 集錦
- Ruby----RMagick安裝報錯
- Windows7安全增強功能Windows
- 安裝ElasticSearch-6.2.3所遇到的安裝報錯Elasticsearch
- Composer 安裝 Laravel/passport 報錯LaravelPassport
- 求救安裝 PHP7.4.7 報錯PHP
- 安裝grid軟體報錯
- Linux安裝virtualenvwrapper報錯LinuxAPP
- npm包全域性安裝報錯NPM
- CentOS release 6.5 yum安裝報錯CentOS
- 安裝sass報錯解決方案
- vue安裝babel依賴報錯VueBabel
- 安裝MYSQL ODBC5.3報錯MySql
- 安裝OUD報錯,unsupported classversion 51.0
- 安裝oracle11g報錯Oracle