虚拟机菜单栏:Devices --> Insert Guest Additions CD image
结果出现:Unable to insert the virtual optical disk blablabla... 未能加载虚拟光盘
1. 图形化安装
step 1:弹出虚拟光盘 --Quit
step 2:try again----> Devices --> Insert Guest Additions CD image
2. 手动指令安装:
step 1:手动创建一个文件夹:/media/cdrom
step 2:将/dev/cdrom挂载到/media/cdrom文件夹下
step 3:安装VBoxLinuxAdditions
step 4:重启虚拟机
sudo mkdir --p /media/cdrom
sudo mount -t auto /dev/cdrom /media/cdrom/
cd /media/cdrom/
sudo sh VBoxLinuxAdditions.run