分页: 1 / 1

安装virtualbox增强包装成了吗?尝试虚拟机,增强包总是不能搞定,求助!

发表于 : 2018-06-10 18:46
deii
代码如下:
fcc@fcc-VirtualBox:~$ cd /media/fcc/VBox_GAs_5.2.12
fcc@fcc-VirtualBox:/media/fcc/VBox_GAs_5.2.12$ sudo ./VBoxLinuxAdditions.run
[sudo] fcc 的密码:
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.12 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.12 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.
VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted
VirtualBox Guest Additions: Starting.

Re: 安装virtualbox增强包装成了吗?尝试虚拟机,增强包总是不能搞定,求助!

发表于 : 2018-06-10 19:34
jobinson99

代码: 全选

Please install the gcc make perl packages from your distribution.
错误原因和解决办法上面都给出了啊。
就是安装gcc,在 build-essential 包里,直接全安装,还有要安装 virtualbox-guest-dkms 。

可以新立得里面查找,然后安装,也可以用下面命令行:

代码: 全选

sudo apt-get install  build-essential virtualbox-guest-dkms 

Re: 安装virtualbox增强包装成了吗?尝试虚拟机,增强包总是不能搞定,求助!

发表于 : 2018-06-10 20:30
deii
jobinson99 写了:

代码: 全选

Please install the gcc make perl packages from your distribution.
错误原因和解决办法上面都给出了啊。
就是安装gcc,在 build-essential 包里,直接全安装,还有要安装 virtualbox-guest-dkms 。

可以新立得里面查找,然后安装,也可以用下面命令行:

代码: 全选

sudo apt-get install  build-essential virtualbox-guest-dkms 

代码: 全选

Loading new virtualbox-guest-5.2.10 DKMS files...
我安装的是5.2.12,它装的是5.2.10,不会有版本冲突吧?!那如何将virtualbox-guest-dkms升级到5.2.12版本呢?

代码: 全选

fcc@fcc-VirtualBox:~$ cd /media/fcc/VBox_GAs_5.2.12
fcc@fcc-VirtualBox:/media/fcc/VBox_GAs_5.2.12$ sudo ./VBoxLinuxAdditions.run
[sudo] fcc 的密码: 
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.12 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.12 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted
VirtualBox Guest Additions: Starting.
build-essential virtualbox-guest-dkms这两个包我都装了,还是不行!

Re: 安装virtualbox增强包装成了吗?尝试虚拟机,增强包总是不能搞定,求助!

发表于 : 2018-07-06 13:18
mittywen
我也是这个问题,gcc已经安装好了,之后出现了一样的页面,重启了Ubuntu也没用,想问之后要怎么操作啊?

Re: 安装virtualbox增强包装成了吗?尝试虚拟机,增强包总是不能搞定,求助!

发表于 : 2018-07-06 13:34
lainme
如果你的vbox等都是从源里装的,应该不会版本不一致,如果有先尝试apt-get更新系统。

另外不止虚拟机需要重启,如果更新了host的内核,系统也是需要重启的。

Re: 安装virtualbox增强包装成了吗?尝试虚拟机,增强包总是不能搞定,求助!

发表于 : 2018-10-09 21:09
wulisong
deii 写了:
2018-06-10 18:46
代码如下:
fcc@fcc-VirtualBox:~$ cd /media/fcc/VBox_GAs_5.2.12
fcc@fcc-VirtualBox:/media/fcc/VBox_GAs_5.2.12$ sudo ./VBoxLinuxAdditions.run
[sudo] fcc 的密码:
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.12 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.12 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.
VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted
VirtualBox Guest Additions: Starting.

代码: 全选

sudo apt install build-essential linux-headers-$(uname -r) && sudo sh ./VBoxLinuxAdditions.run