你指的是虚拟机arch,提示找不到.tenzu 写了:kernel-header26没装吧
virtualbox安装不了增强功能(已解决)
-
- 帖子: 1081
- 注册时间: 2009-04-29 21:22
Re: virtualbox安装不了增强功能
-
- 帖子: 12134
- 注册时间: 2008-01-11 17:02
-
- 帖子: 1081
- 注册时间: 2009-04-29 21:22
Re: virtualbox安装不了增强功能
人在井天 写了:你指的是虚拟机arch,提示找不到.tenzu 写了:kernel-header26没装吧
晕,是kernel26-headers
安装之后再装:
代码: 全选
$ sudo ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.0.8 Guest Additions for Linux.........
VirtualBox Guest Additions installer
Removing installed version 4.0.8 of VirtualBox Guest Additions...
:: Removing existing VirtualBox DKMS kernel modules [DONE]
:: Removing existing VirtualBox non-DKMS kernel modules [DONE]
:: Building the VirtualBox Guest Additions kernel modules [BUSY]
:: Building the main Guest Additions module [DONE]
:: Building the shared folder support module [DONE]
:: Building the OpenGL support module [DONE]
:: Doing non-kernel setup of the Guest Additions [DONE]
:: Starting the VirtualBox Guest Additions [DONE]
:: Installing the Window System drivers [BUSY]
:: Installing X.Org Server 1.10 modules [DONE]
:: Setting up the Window System to use the Guest Additions [DONE]
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 components [DONE]
重启电脑之后,终于发现成功啦!
上次由 人在井天 在 2011-06-19 19:43,总共编辑 1 次。
-
- 帖子: 1081
- 注册时间: 2009-04-29 21:22
Re: virtualbox安装不了增强功能
虚拟机都没玩转,不可能真机安装的.长头发的和尚 写了:要不真机安装吧,多看看wiki就行了
-
- 帖子: 7
- 注册时间: 2010-09-22 17:03
Re: virtualbox安装不了增强功能(已解决)
我也遇到类似的问题了,我的环境如下:
宿主:win7(64位)
vbox版本:4.1.16
挂的ubuntu版本:(用 sudo lsb_release -a 查看)
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
安装VboxGuesstAddition的时候,死活不行,每次都报下面的错误:
“
....
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
...
Installing graphics libraries and desktop services components ...fail.
.....
”
尝试了楼上的方法,,发现两者都是一样的。运行之后,再次跑安装增强功能,就没再报fail的错误了。
但重启虚拟机之后还是不行,发现错误提示里面让我去查一个log文件,具体地址忘了,但里面有这段记录:
“install_x11_startup_app:no script given”
上网goole了下,找到一个解决方法,目测是因为之前安装的遗留问题导致的。
“Before installing the new guest additions version, you need to remove manually 2 symlinks:
”
原地址:http://gallinar.blogspot.com/2012/07/vi ... grade.html
宿主:win7(64位)
vbox版本:4.1.16
挂的ubuntu版本:(用 sudo lsb_release -a 查看)
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
安装VboxGuesstAddition的时候,死活不行,每次都报下面的错误:
“
....
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
...
Installing graphics libraries and desktop services components ...fail.
.....
”
尝试了楼上的方法,
发现我这个机子上没有/etc/init.d/vboxdrv 这个文件,后来查了下,有个类似的sudo apt-get install dkms build-essential linux-headers-$(uname -r)
sudo /etc/init.d/vboxdrv setup
代码: 全选
/etc/init.d/vboxadd
但重启虚拟机之后还是不行,发现错误提示里面让我去查一个log文件,具体地址忘了,但里面有这段记录:
“install_x11_startup_app:no script given”
上网goole了下,找到一个解决方法,目测是因为之前安装的遗留问题导致的。
“Before installing the new guest additions version, you need to remove manually 2 symlinks:
代码: 全选
rm /usr/lib64/VBoxGuestAdditions
rm /usr/share/VBoxGuestAdditions
原地址:http://gallinar.blogspot.com/2012/07/vi ... grade.html
-
- 帖子: 1
- 注册时间: 2017-07-24 13:46
- 系统: win7
Re: virtualbox安装不了增强功能(已解决)
请问楼主kernel26-headers怎么装上的啊,引用sudo apt-get install dkms build-essential linux-headers-$(uname -r)之后sudo /etc/init.d/vboxdrv setup命令表示找不到文件,怎么解决啊?
-
- 帖子: 1
- 注册时间: 2017-09-04 16:30
Re: virtualbox安装不了增强功能(已解决)
好像既没有/etc/init.d/vboxdrv
也没有/etc/init.d/vboxadd
init.d目录下只有一个virtualbox-guest-utils
我也有
Your system does not seem to be set up to build kernel modules.
Look at /var/log/vboxadd-install.log to find out what went wrong.
这个问题。。。
要被逼疯了
也没有/etc/init.d/vboxadd
init.d目录下只有一个virtualbox-guest-utils
我也有
Your system does not seem to be set up to build kernel modules.
Look at /var/log/vboxadd-install.log to find out what went wrong.
这个问题。。。
要被逼疯了
- lilydjwg
- 论坛版主
- 帖子: 4255
- 注册时间: 2009-04-11 23:46
- 系统: Arch Linux
- 联系:
Re: virtualbox安装不了增强功能(已解决)
旧东西当然没有了。你是不是没安装 linux-headers?v8t4u 写了:好像既没有/etc/init.d/vboxdrv
也没有/etc/init.d/vboxadd
init.d目录下只有一个virtualbox-guest-utils
我也有
Your system does not seem to be set up to build kernel modules.
Look at /var/log/vboxadd-install.log to find out what went wrong.
这个问题。。。
要被逼疯了
另外让你看日志你就看看呗。