VirtualBox Install CENTOS6 Enhancement Package Error resolution and configure shared folders

Source: Internet
Author: User


First, install the enhancement package

1, start the CentOS6.5 virtual machine, click on the device à install enhanced features.

The "disc" Vboxadditions is already mounted on the CentOS 5.5 desktop.

Double-click the disc, double-click Vboxlinuxadditions.run to complete the installation

Typically, we run the components that are mounted directly to the VirtualBox client enhancements in the system.

2, error Resolution: The author installed an error occurred

Bulding the virtualboxguest additions Kernel modules [failed]

Your system does not seemto is set to build kernel modules.

Look At/var/log/vboxadd-install.log-Find out-what went worg. Once you havecorrected it,you run

/etc/init.d/vboxadd Setupto Build them

It is clear that the kernel does not support the missing compiler kernel components, the solution to install the kernel component.

[root@localhost ~]# yum install kernel kernel-devel

Loaded Plugins:fastestmirror, Refresh-packagekit,security

Repository C6-media is listed more than once in theconfiguration

Loading mirror speeds from cached hostfile

* base:mirror.sunnyvision.com

* extras:mirror.sunnyvision.com

* UPDATES:FTP.CUHK.EDU.HK

Setting up Install Process

Resolving Dependencies

--Running Transaction check

---> Package kernel.x86_64 0:2.6.32-642.1.1.el6will is installed

--processing Dependency:kernel-firmware >=2.6.32-642.1.1.el6 for package:kernel-2.6.32-642.1.1.el6.x86_64

--processing Dependency:dracut-kernel >=004-388.el6 for package:kernel-2.6.32-642.1.1.el6.x86_64

---> Package kernel-devel.x86_640:2.6.32-642.1.1.el6 'll be installed

--Running Transaction check

---> Package dracut-kernel.noarch 0:004-335.el6will is updated

---> Package dracut-kernel.noarch0:004-409.el6_8.2 'll be a update

--processing dependency:dracut =004-409.el6_8.2 for Package:dracut-kernel-004-409.el6_8.2.noarch

---> Package kernel-firmware.noarch0:2.6.32-431.el6 'll be updated

---> Package kernel-firmware.noarch0:2.6.32-642.1.1.el6 'll be a update

--Running Transaction check

---> Package dracut.noarch 0:004-335.el6 would beupdated

---> Package dracut.noarch 0:004-409.el6_8.2will is an update

--Finished Dependency Resolution

Dependencies resolved

=============================================================================================================== =========================

Package Arch Version Repository Size

=============================================================================================================== =========================

Installing:

 kernel                              x86_64                     2.6.32-642.1.1.el6                         updates                      M

Kernel-devel x86_64 2.6.32-642.1.1.el6 Updates M

Updating for dependencies:

 dracut                              noarch                     004-409.el6_8.2                            updates                     127 k

 dracut-kernel                       noarch                     004-409.el6_8.2                            updates                      k

Kernel-firmware Noarch 2.6.32-642.1.1.el6 Updates M

Transaction Summary

=============================================================================================================== =========================

Install 2 package (s)

Upgrade 3 Package (s)

Total Download size:71 M

Is this OK [y/n]: Y

Downloading Packages:

(1/5): dracut-004-409.el6_8.2.noarch.rpm | 127 KB 00:01

(2/5):d racut-kernel-004-409.el6_8.2.noarch.rpm                                                                     |  kb     00:00    

(3/5): kernel-2.6.32-642.1.1.el6.x86_64.rpm                                                                         |  mb     05:21    

(4/5): kernel-devel-2.6.32-642.1.1.el6.x86_64.rpm | One MB 01:46

(5/5): kernel-firmware-2.6.32-642.1.1.el6.noarch.rpm | MB 04:51

--------------------------------------------------------------------------------------------------------------- -------------------------

Total KB/S | MB 12:02

Running Rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Updating:d Racut-004-409.el6_8.2.noarch &NB

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.