VirtualBox很多时候如果不安装增强功能,可能画面会很少,下面是安装的步骤
- VirtualBox版本5.1.26
- 虚拟机系统Centos7
首先我们要下载对应的增强包下载地址下载完之后我们就需要装载与自动挂载了
[root@localhost /]# mkdir cdrom
[root@localhost /]# mount -t auto /dev/cdrom ./cdrom
[root@localhost /]# cd cdrom
[root@localhost cdrom]# sh ./VBoxLinuxAdditions.run
挂载成功后,我们就可以运行开始安装了。安装过程中遇到问题了
[root@localhost cdrom]# sh ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.1.26 Guest Additions for Linux...........
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
vboxadd.sh: Starting the VirtualBox Guest Additions.
Failed to set up service vboxadd, please check the log file
/var/log/VBoxGuestAdditions.log for details.
按照提示,/var/log/VBoxGuestAdditions.log我们查看这个文件
[root@localhost cdrom]