感谢支持
我们一直在努力

Fedora 18 — 安装VirtualBox的Guest Additions 问题及解决方法

在Fedora 18 desktop虚拟机上安装VirtualBox的Guest Additions

[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 could 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 could be the reason.

The missing package can be probably installed with

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]#

注意上面的出错信息:

Building the main Guest Additions module                  [FAILED]

解决办法是安装依赖的kernel source, gcc (我顺便也安装了gcc-c++)

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

然后再次运行Additions的安装程序即可

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

赞(0) 打赏
转载请注明出处:服务器评测 » Fedora 18 — 安装VirtualBox的Guest Additions 问题及解决方法
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏