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

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
deii
帖子: 144
注册时间: 2018-04-24 20:06
送出感谢: 0
接收感谢: 0

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

#1

帖子 deii » 2018-06-10 18:46

代码如下:
[email protected]:~$ cd /media/fcc/VBox_GAs_5.2.12
[email protected]:/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.
头像
jobinson99
帖子: 1169
注册时间: 2007-04-28 15:14
系统: NixOS+虚拟机各种系统
送出感谢: 0
接收感谢: 5 次
联系:

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

#2

帖子 jobinson99 » 2018-06-10 19:34

代码: 全选

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 
黑色的不是眼睛,而是眼圈
关注和实现科技领域未来3年内有大规模普及潜力、能改善穷人生活品质的技术/应用。
NixOS + lxqt + 无人生产线 + 无人农场 (已发明全套山地农业机械 + 线性喷洒系统,成片农业采收系统)+ 随身设备,柔性电路,冷热双调衣……
deii
帖子: 144
注册时间: 2018-04-24 20:06
送出感谢: 0
接收感谢: 0

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

#3

帖子 deii » 2018-06-10 20:30

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版本呢?

代码: 全选

[email protected]:~$ cd /media/fcc/VBox_GAs_5.2.12
[email protected]:/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这两个包我都装了,还是不行!
mittywen
帖子: 1
注册时间: 2018-07-06 13:12
系统: Windows 8
送出感谢: 0
接收感谢: 0

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

#4

帖子 mittywen » 2018-07-06 13:18

我也是这个问题,gcc已经安装好了,之后出现了一样的页面,重启了Ubuntu也没用,想问之后要怎么操作啊?
头像
lainme
论坛版主
帖子: 7805
注册时间: 2008-09-13 19:17
系统: Arch Linux (x86_64)
送出感谢: 3 次
接收感谢: 68 次
联系:

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

#5

帖子 lainme » 2018-07-06 13:34

如果你的vbox等都是从源里装的,应该不会版本不一致,如果有先尝试apt-get更新系统。

另外不止虚拟机需要重启,如果更新了host的内核,系统也是需要重启的。
wulisong
帖子: 6
注册时间: 2009-02-16 21:23
送出感谢: 0
接收感谢: 0

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

#6

帖子 wulisong » 2018-10-09 21:09

deii 写了:
2018-06-10 18:46
代码如下:
[email protected]:~$ cd /media/fcc/VBox_GAs_5.2.12
[email protected]:/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
回复

回到 “虚拟机和虚拟化”