Centos6.7安装VBoxLinuxAdditions

mkdir /media/cdromd
mount /dev/sr0  /media/cdrom

把sr0挂载到 /media/cdrom 里,如果没有cdrom,可以先mkdir一个,挂载到其他位置也可以。

sh ./VBoxLinuxAdditions.run

几个错误:
1.  Installing the Window System drivers …fail!
  (Could not find the X.org or XFree86 Window System.)
解决办法:centos: yum install xserver-xorg xserver-xorg-core

yum install gcc
yum install kernel-devel
export MAKE='/usr/bin/gmake -i'
./VBoxLinuxAdditions.run

 

参考:

https://my.oschina.net/jsk/blog/289275

http://blog.csdn.net/gx_xiaon/article/details/8953361

你可能感兴趣的:(Centos6.7安装VBoxLinuxAdditions)