使用vmware-mount加载vmdk文件

 

RHEL4的VMDK文件损坏了,winImage加载看不到文件,VMWare-Mount加载之后,双击windows提示是否需要格式化,很faint!

 

使用vmware-mount加载vmdk文件


安装好VMWare后,承软件带一vmware-mount程序,该程序可以在宿主机(真机)上直接加载vmdk文件(也就是虚拟机用的硬盘文件),这样的话,我们就可以直接在宿主机上直接使用虚拟机里的文件了。方法是在开始菜单中输入vmware-mount所在的路径,如:C:/Program Files/VMware/VMware DiskMount Utility,当然,具体路径要看你安装好的路径了。
C:/Documents and Settings/ronun>cd C:/Program Files/VMware/VMware DiskMount Utility
C:/Program Files/VMware/VMware DiskMount Utility>dir
驱动器 C 中的卷没有标签。
卷的序列号是 100E-B911
C:/Program Files/VMware/VMware DiskMount Utility 的目录

2007-03-15   08:25 <DIR>       .
2007-03-15   08:25 <DIR>       ..
2005-11-18   13:54           827,392 libeay32.dll
2003-03-18   20:14           499,712 msvcp71.dll
2003-02-21   04:42           348,160 msvcr71.dll
2005-11-18   13:54           159,744 ssleay32.dll
2005-11-18
   13:54       1,220,608 vmware-mount.exe
            5
个文件    3,055,616 字节
            2 个目录   3,375,861,760 可用字节
C:/Program Files/VMware/VMware DiskMount Utility>vmware-mount /?
VMware-mount [driveletter:] [path-to-virtual-disk] [options]
VMware DiskMount Utility version 5.5.0 build-18463
Copyright (c) 1998-2003 VMware, Inc. All rights reserved.
This utility mounts VMware virtual disks under Microsoft Windows.
Use "VMware-mount" without arguments to list the currently-mounted volumes.
  
/d deletes the mapping to a virtual drive volume
   /f forcibly deletes the mapping to a virtual drive volume
   /v:N   mounts volume N of a virtual disk
   /p displays the partitions (volumes) on a virtual disk
   /y open the virtual disk whether or not a snapshot is in effect
   /n do not open the virtual disk if a snapshot is in effect
   /? displays this usage information
上面是帮助信息,例如,如果你想加载d:/temp/Win2k.vmdk文件,就用如下命令:
C:/Program Files/VMware/VMware DiskMount Utility>VMware-mount   z: d:/temp/Win2k.vmdk
这时,你机器上会多一个Z盘,里面就是虚拟机硬盘d:/temp/Win2k.vmdk的内容。
如果想卸载,则用/d参数:
C:/Program Files/VMware/VMware DiskMount Utility>VMware-mount   z: /d

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

do2jiang

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值