Ⅰ 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