Howto Mount NTFS VMware Virtual Disk Image (vmdk) read/write -- Ubuntu Geek

来源:百度文库 编辑:神马文学网 时间:2024/04/19 14:48:50
If you want to Mount NTFS VMware Virtual Disk Image (vmdk) read/write follow this procedure.
Vmware server comes with a little utility tomount the VMware virtual file systems called vmware-mount.pl. Thisutility works pretty well but mounts all NTFS partitions as Read Only!
Outlined below is a process to mount .vmdk files Read/Write.
Requirements
vmware-loop
nbd module
ntfs-3g
Vmware-loop is provided by the free vmware server. Instructions for installing can be foundHERE.The nbd (Network Block Device) module should be provided already by Ubuntu.
Install Ntfs-3g in Ubuntu
sudo apt-get install ntfs-config
This will complete the installation
Configure VMware Disk
First One is to load the nbd module
sudo modprobe nbd
Next we use vmware-loop, the “Virtual Hard Disk to Network BlockDevice mapper”. This is done using vmware-loop /path/to/VirtualDiskPartition# Device. For example
sudo vmware-loop /home/MrFSL/VirtualDisk.vmdk 1 /dev/nbd0
Finally we open a new terminal and mount in the usual way
sudo mount -t ntfs-3g /dev/nbd0 /mnt/
Common Problem with Solution
Problem
If you are having permission issues you might want to adjust permissions on the mount point or device
Solution
sudo chmod 777 /mnt
sudo chmod 777 /dev/nbd0
When you are done unmount with a simple
sudo umount /dev/nbd0