安装VBoxLinuxAdditions 需要gcc折腾了好长时间
rpm -ivh *.rpm
Installing:
gcc i386 4.1.2-27.fc7 updates 5.2 M
Installing for dependencies:
glibc-devel i386 2.6-4 updates 2.0 M
glibc-headers i386 2.6-4 updates 612 k
kernel-headers i386 2.6.23.15-80.fc7 updates 654 k
Updating for dependencies:
cpp i386 4.1.2-27.fc7 updates 2.6 M
glibc i686 2.6-4 updates 5.3 M
glibc-common i386 2.6-4 updates 18 M
libgcc i386 4.1.2-27.fc7 updates 92 k
libgomp i386 4.1.2-27.fc7 updates 81 k
kernel-2.6.21-1.3194.fc7
kernel-debug-2.6.21-1.3194.fc7
kernel-headers-2.6.21-1.3194.fc7
kernel-devel-2.6.21-1.3194.fc7
kernel-debug-devel-2.6.21-1.3194.fc7
mount /dev/cdrom 挂载光驱
cd /mnt/cdrom 进入光盘
sh ./VBoxLinuxAdditions.run
reboot 安装成功后需要重启系统
重启之后,就可以访问 Windows 提供的共享文件夹了。
mkdir /mnt/share 新建挂载点(mountpoint)
mount -t vboxsf E-DRIVE /mnt/share 挂载共享文件夹
cd /mnt/share 进入共享文件夹
我晕,挂上了就是
ls: 无法访问 /mnt/share 没有这个文件或目录