Fedora18 -- install the GuestAdditions of VirtualBox and Its Solution

Source: Internet
Author: User
Install GuestAdditions [root @ localhostmedia] # mount/dev/cdrom/mnt/cdrom/[root @ localhost ~] of VirtualBox on the ora18desktop Virtual Machine # Cd/mnt/cdrom/[root @ localhostcdrom] # ls32BitAUTORUN. INF

Install Guest Additions of VirtualBox on the 18 ora 18 desktop virtual machine

[Root @ localhost media] # mount/dev/cdrom/mnt/cdrom/

[Root @ localhost ~] # Cd/mnt/cdrom/

[Root @ localhost cdrom] # ls

32Bit AUTORUN. INF cert runasroot. sh VBoxSolarisAdditions. pkg VBoxWindowsAdditions.exe

64Bit autorun. sh OS2 VBoxLinuxAdditions. run VBoxWindowsAdditions-amd64.exe VBoxWindowsAdditions-x86.exe

[Root @ localhost cdrom] #./VBoxLinuxAdditions. run

Verifying archive integrity... All good.

Uncompressing VirtualBox 4.2.6 Guest Additions for Linux ..........

VirtualBox Guest Additions installer

Removing existing VirtualBox non-DKMS kernel modules [OK]

Building the VirtualBox Guest Additions kernel modules

The gcc utility was not found. If the following module compilation fails then

This cocould be the reason and you should try installing it.

The headers for the current running kernel were not found. If the following

Module compilation fails then this cocould be the reason.

The missing package can be probably installed

Yum install kernel-devel-3.6.10-4.fc18.i686

Building the main Guest Additions module [FAILED]

(Look at/var/log/vboxadd-install.log to find out what went wrong)

Doing non-kernel setup of the Guest Additions [OK]

Installing the Window System drivers

Installing X. Org Server 1.13 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 @ localhost cdrom] #

Note the error information above:

Building the main Guest Additions module [FAILED]

The solution is to install the dependent kernel source and gcc (I also installed gcc-c ++)

Yum install kernel-devel.i686 gcc. i686 gcc-c ++. i686

Run the installation program of Additions again.

[Root @ localhost cdrom] #./VBoxLinuxAdditions. run

Related Article

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.