分页: 1 / 1

VirtualBox安装Ubuntu无法安装增强包(VBoxGuestAdditions)

发表于 : 2013-02-21 15:41
gezhonglunta
VirtualBox版本4.2.6
Ubuntu版本ubuntu 12.10 x64
安装增强包命令:sudo sh VBoxLinuxAdditions.run
提示错误:
Building the main Guest Additions module ... fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)
查看了一下log文件,内容如下:
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。 停止。
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。 停止。
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。 停止。
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。 停止。
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.

由于增强包无法安装,现在系统用起来很不舒服,还不能文件共享,求各位大神帮忙看看,多谢!

VirtualBox安装Ubuntu无法安装增强包(VBoxGuestAdditions)

发表于 : 2013-02-21 15:47
gezhonglunta
VirtualBox版本4.2.6
Ubuntu版本ubuntu 12.10 x64
安装增强包命令:sudo sh VBoxLinuxAdditions.run
提示错误:
Building the main Guest Additions module ... fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)
查看了一下log文件,内容如下:
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。 停止。
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。 停止。
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。 停止。
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。 停止。
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.

由于增强包无法安装,现在系统用起来很不舒服,还不能文件共享,求各位大神帮忙看看,多谢!

Re: VirtualBox安装Ubuntu无法安装增强包(VBoxGuestAdditions)

发表于 : 2013-02-21 15:51
eexpress
增强包的版本,要对应程序的版本。去官网下载。

Re: VirtualBox安装Ubuntu无法安装增强包(VBoxGuestAdditions)

发表于 : 2013-02-21 16:12
gezhonglunta
eexpress 写了:增强包的版本,要对应程序的版本。去官网下载。
你好,我在这个网站上找了半天没找到,能不能帮我找一下,多谢!
https://www.virtualbox.org/wiki/Downloads

Re: VirtualBox安装Ubuntu无法安装增强包(VBoxGuestAdditions)

发表于 : 2013-02-21 17:26
YeLee
http://download.virtualbox.org/virtualb ... _4.2.6.iso
这个便是对应的版本,不过,我要说的是,并非一定要对应版本,addon的版本跟host完全无关,表示我的机子的vbox不知道在次版本号上升级多少次了,guest里面的模块版本没变一样没问题。
跟着,我要说明的是事实,是你的内核头文件找不到路的问题,当然,vbox的addon在源里面便有,绕开包管理倒是一个不好的习惯。

Re: VirtualBox安装Ubuntu无法安装增强包(VBoxGuestAdditions)

发表于 : 2013-02-21 17:59
b33e
源里面的版本有点旧,我也去官网下载的 :em06

Re: VirtualBox安装Ubuntu无法安装增强包(VBoxGuestAdditions)

发表于 : 2013-02-22 18:21
fuhaoyun
我也用4.2.6 amd64,下载VirtualBox 4.2.6 Oracle VM VirtualBox Extension Pack 。

双击安装,完美运行!

http://download.virtualbox.org/virtualb ... ox-extpack

Re: VirtualBox安装Ubuntu无法安装增强包(VBoxGuestAdditions)

发表于 : 2013-02-24 10:36
DDV
2楼答非所问…… :em20