Ⅰ Virtualbox共享文件出错
.安装增强功能
VirtualBox自带增强工具Sun VirtualBox Guest Additions,这是实现虚拟机与真实主机共享的关键。启动虚专拟Win7后,点击控制菜属单“设备(Devices)”→“安装增强功能(Insert Guest Additions CD images)”,可以看到程序安装界面。双击安装VBoxGuestAdditions.iso,需重启。
2.设置共享文件夹
切换到“Oracle VM VirtualBox管理器”主页面,选择相应的win7系统,然后选择“设置”选项,再选择“共享文件夹”选项,如图所示:
点击右侧“+”号添加共享文件夹,编辑共享文件夹路径和名称,并勾选“固定分配”选项,然后点击确定,如图所示:
3.映射网络驱动器
切换到虚拟机Win7操作系统界面,打开“计算机”,选择“映射网络驱动”选项,如图所示:
为要连接到的连接和文件夹指定驱动器号。驱动器最好选择除“Z: ”以外的驱动器, “Z: ”作为来安装其他镜像文件时预留的驱动器,否则可能无法安装其他镜像文件,如图所示:
映射完成后,在“计算机”中就可以看到映射成功的网络驱动器,快速访问主机中的文件夹。
Ⅱ VM虚拟机 找不到共享文件夹
故更新vmware-tools,点击update vmware-tools,删除掉/tmp目录下前个版本的vmware-tools-distrib以及安装包,将更新安装包复制到/tmp目录下。
[root@simba-PC ~]# mount /dev/cdrom /mnt/cdrom
mount: mount point /mnt/cdrom does not exist
[root@simba-PC ~]# cd /tmp
[root@simba-PC tmp]# ls
bashrc virtual-root.KkjqhX
bashrc_hlink virtual-root.LHoock
bashrc_slink virtual-root.LqnTi4
bashrc_slink_2 virtual-root.lQtE6R
emacs7RR680 virtual-root.Lx8UCY
etc virtual-root.LZDDK2
keyring-IdMO5s virtual-root.NmKmtQ
keyring-KR3jPA virtual-root.oEJ6EY
keyring-LTujbu virtual-root.PE7rAj
keyring-o04jCc virtual-root.pPwnlD
keyring-oyoOxh virtual-root.qaVq5s
keyring-psThJa virtual-root.QwmNmy
keyring-QZCwGM virtual-root.r2bAXH
keyring-rPSusd virtual-root.Rgz9KF
keyring-U7tGGn virtual-root.rhMsvf
keyring-UcQZ3a virtual-root.sMp7VD
keyring-UDWQd3 virtual-root.ujjBTI
man.config virtual-root.VCwMfz
mvtest2 virtual-root.vEov6R
orbit-gdm virtual-root.VnMxas
orbit-root virtual-root.WHPz5P
pulse-5bjypejDF8kQ virtual-root.xMpjI8
pulse-7TpHe7zldIwM virtual-root.xsxXQh
pulse-BL42PuWp8e8q virtual-root.XUm6X4
pulse-mzQrmZsPx3XV virtual-root.Yf8rql
tmp9MHNPP virtual-root.Z2Ceyg
tmpzk9bR7 virtual-root.zMzDYN
virtual-oracle.bn1mA7 virtual-root.ZWOk8d
virtual-root.1QXlik virtual-simba.36c6Jl
virtual-root.5CHiOt virtual-simba.b3D
virtual-root.6L18AC virtual-simba.gxa4iy
virtual-root.B3ewf9 virtual-simba.wa2lwj
virtual-root.BABJU7 vmware-config0
virtual-root.CO2hrg vmware-config1
virtual-root.cScHZC vmware-config2
virtual-root.Czvlke vmware-config3
virtual-root.eHTiDs VMwareDnD
virtual-root.gd2MUn vmware-root
virtual-root.GsXYFI VMwareTools-8.8.1-528969.tar.gz
virtual-root.hsntrp yum.log
virtual-root.IDGGfX yum_save_tx-2012-02-10-23-04hl1rlH.yumtx
virtual-root.kistah
[root@simba-PC tmp]# tar zxpf VmwareTools-8.8.1-528969.tar.gz
tar (child): VmwareTools-8.8.1-528969.tar.gz:无法 open: 没有那个文件或目录
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
[root@simba-PC tmp]# tar zxpf VMwareTools-8.8.1-528969.tar.gz
[root@simba-PC tmp]# ls
bashrc virtual-root.KkjqhX
bashrc_hlink virtual-root.LHoock
bashrc_slink virtual-root.LqnTi4
bashrc_slink_2 virtual-root.lQtE6R
emacs7RR680 virtual-root.Lx8UCY
etc virtual-root.LZDDK2
keyring-IdMO5s virtual-root.NmKmtQ
keyring-KR3jPA virtual-root.oEJ6EY
keyring-LTujbu virtual-root.PE7rAj
keyring-o04jCc virtual-root.pPwnlD
keyring-oyoOxh virtual-root.qaVq5s
keyring-psThJa virtual-root.QwmNmy
keyring-QZCwGM virtual-root.r2bAXH
keyring-rPSusd virtual-root.Rgz9KF
keyring-U7tGGn virtual-root.rhMsvf
keyring-UcQZ3a virtual-root.sMp7VD
keyring-UDWQd3 virtual-root.ujjBTI
man.config virtual-root.VCwMfz
mvtest2 virtual-root.vEov6R
orbit-gdm virtual-root.VnMxas
orbit-root virtual-root.WHPz5P
pulse-5bjypejDF8kQ virtual-root.xMpjI8
pulse-7TpHe7zldIwM virtual-root.xsxXQh
pulse-BL42PuWp8e8q virtual-root.XUm6X4
pulse-mzQrmZsPx3XV virtual-root.Yf8rql
tmp9MHNPP virtual-root.Z2Ceyg
tmpzk9bR7 virtual-root.zMzDYN
virtual-oracle.bn1mA7 virtual-root.ZWOk8d
virtual-root.1QXlik virtual-simba.36c6Jl
virtual-root.5CHiOt virtual-simba.b3D
virtual-root.6L18AC virtual-simba.gxa4iy
virtual-root.B3ewf9 virtual-simba.wa2lwj
virtual-root.BABJU7 vmware-config0
virtual-root.CO2hrg vmware-config1
virtual-root.cScHZC vmware-config2
virtual-root.Czvlke vmware-config3
virtual-root.eHTiDs VMwareDnD
virtual-root.gd2MUn vmware-root
virtual-root.GsXYFI VMwareTools-8.8.1-528969.tar.gz
virtual-root.hsntrp vmware-tools-distrib
virtual-root.IDGGfX yum.log
virtual-root.kistah yum_save_tx-2012-02-10-23-04hl1rlH.yumtx
[root@simba-PC tmp]# cd vmware-tools-distrib
[root@simba-PC vmware-tools-distrib]# ls
bin doc etc FILES INSTALL installer lib vmware-install.pl
[root@simba-PC vmware-tools-distrib]# ./vmware-install.pl
A previous installation of VMware Tools has been detected.
The previous installation was made by the tar installer (version 4).
Keeping the tar4 installer database format.
You have a version of VMware Tools installed. Continuing this install will
first uninstall the currently installed version. Do you wish to continue?
(yes/no) [yes] yes
Uninstalling the tar installation of VMware Tools.
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [确定]
The removal of VMware Tools 6.0.2 build-59824 for Linux completed successfully.
Thank you for having tried this software.
Installing VMware Tools.
In which directory do you want to install the binary files?
[/usr/bin]
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]
What is the directory that contains the init scripts?
[/etc/rc.d/init.d]
In which directory do you want to install the daemon files?
[/usr/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] yes
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes] yes
The installation of VMware Tools 8.8.1 build-528969 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes] yes
Initializing...
Making sure services for VMware Tools are stopped.
[EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a new feature that
creates backups of virtual machines. Please refer to the VMware Knowledge Base
for more details on this capability. Do you wish to enable this feature?
[no] no
Found a compatible pre-built mole for vmci. Installing it...
Found a compatible pre-built mole for vsock. Installing it...
The mole vmxnet3 has already been installed on this system by another
installer or package and will not be modified by this installer. Use the flag
--clobber-kernel-moles=vmxnet3 to override.
The mole pvscsi has already been installed on this system by another
installer or package and will not be modified by this installer. Use the flag
--clobber-kernel-moles=pvscsi to override.
The mole vmmemctl has already been installed on this system by another
installer or package and will not be modified by this installer. Use the flag
--clobber-kernel-moles=vmmemctl to override.
The VMware Host-Guest Filesystem allows for shared folders between the host OS
and the guest OS in a Fusion or Workstation virtual environment. Do you wish
to enable this feature? [yes] yes
Found a compatible pre-built mole for vmhgfs. Installing it...
Found a compatible pre-built mole for vmxnet. Installing it...
!!! [EXPERIMENTAL] !!!
VMware automatic kernel moles enables automatic building and installation of
VMware kernel moles at boot they are not already present. By selecting yes,
you will be enabling this experimental feature. You can always disable this
feature by re-running vmware-config-tools.pl.
Would you like to enable VMware automatic kernel moles?
[no] no
Disabling timer-based audio scheling in pulseaudio.
Detected X server version 1.10.4
Distribution provided drivers for Xorg X server are used.
Skipping X configuration because X drivers are not included.
Creating a new initrd boot image for the kernel.
vmware-tools start/running
The configuration of VMware Tools 8.8.1 build-528969 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 "/usr/bin/vmware-toolbox-cmd" from the
command line or by invoking "/usr/bin/vmware-toolbox" from the command line
ring an X server session.
To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text /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.
To use the vmxnet driver, restart networking using the following commands:
/etc/init.d/network stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/network start
Enjoy,
--the VMware team
Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device
/dev/sr0 ...
[root@simba-PC vmware-tools-distrib]# cd /mnt
[root@simba-PC mnt]# cd hgfs/share/
#事先已经设置了share文件夹为共享文件夹
[root@simba-PC share]#
Ⅲ win7虚拟机vm共享文件夹看不到
在虚拟机主页,选择Win7虚拟机的“编辑虚拟机设置”,进入设置。
在“虚拟机设置”的“选项”选项卡下找到“共享文件夹”,在右侧点击“总是启用”,在下方点击“添加”进行共享文件夹的添加。
在弹出的对话框下,浏览选择文件夹作为共享文件夹。共享文件夹的名称会自动填充,当然也可以自定义。
点击“下一步”,进入文件夹属性指定的对话框,“启用共享”必选。如果不希望虚拟机对文件进行更改,也可以勾选“只读”。
返回“虚拟机设置”对话框,选中自己的共享文件夹,勾选“在Windows客户机中映射为网络驱动器”。
进入虚拟机,打开“计算机”就可以看到在“网络位置”的共享文件夹了。
Ⅳ 虚拟机无法访问主机的共享文件
你按照路由器分配给你主机的ip地址登录试试不输入计算机名或文件夹名你就直内接输入容ip地址比如我的主机是,192.168.1.100你就直接输入那么你就直接输入\\192.168.1.100如果打开后没有看到共享的文件夹就说明设置有问题不过我建议你使用虚拟机自带的那个功能
Ⅳ windows和虚拟机共享后的文件在物理机上找不到
1、打开虚拟机,点击“edit virtual machine settings”,在点击“options”选中“shared folders” 使右边的always enables选项选中,看图:2、然后单击add选择物理机的要共享的文件夹,单击ok。开始添加共享的文件夹。3、打开虚拟机后粗败运右击“物理邻居”,选择“映射网络磁盘”。4、点岩梁击浏览选择“全部网络”,选择已经共享好的枯颤物理机上的文件夹。
Ⅵ VBOX虚拟机上的CentOS设置共享目录时候出现mole vboxsf not found的错误怎么办
试试vboxfs