虚拟机Fefora和主操作系统硬盘之间实现文件共享方法
作者:网络转载 发布时间:[ 2013/8/26 14:04:43 ] 推荐标签:
解决办法如下:
1.使用uname -r看kernel版本号:2.6.27.41-17.2.117.fc10.i686
2.Yum install kernel-devel 2.6.27.41-17.2.117.fc10.i686
//使用yum命令 安装kernel-devel 只要连接网络能安装
3.当再次配置VMware的时候
What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]
路径设置:
[root@localhost ~]# cd /usr/src/kernels/
[root@localhost ~]# ls //查看kernel的版本号
[root@localhost ~]# 2.6.27.41-17.2.117.fc10.i686 //版本号
路径为:
/usr/src/kernels/2.6.27.41-17.2.117.fc10.i686 /include
后,如下提示,则表示vmware-tools安装成功了!
Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-2.6.35-24-generic
Checking acpi hot plug done
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
Paravirtual SCSI module: done
Guest filesystem driver: done
Mounting HGFS shares: done
Guest memory manager: done
VM communication interface: done
Blocking file system: done
File system sync driver: done
Guest operating system daemon: done
Virtual Printing daemon: done
The configuration of VMware Tools 8.1.3 build-203739 for Linux for this running
kernel completed successfully.
You must restart your X session before any mouse or graphics changes take
effect.
You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an X server session.
To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.
Enjoy,
--the VMware team
成功解决问题!Fedora跟主机之间可以实现文件共享了

sales@spasvo.com