The 64-bit system directly mounted the vmdk file for a long time and tried various methods, such as losetup, mount, kpartx, no matter whether dd is used, we must use vmware-mount in the 64-bit vmware-server version provided by the official website to extract vmware-mount from the bin folder of the vm server version, this server is more than 400 MB, www.2cto.com, just to mention the 1.5 MB file in the middle. Fortunately, the pipe is large, or it will be depressing that vmware-server has 1.x and 2.x versions. Remember 2. of x, 1. x seems to be used for the vmware-5 to create vmdk, anyway in line with the downward compatible, it is engaged in the 2.x and then the operating system for the version to the next if the prompt less library files, most of them are sudo apt-get install libssl0.9.8, which is easy to install. # Check the image file and sudo vmware-mount-p xxx. if the vmdk Is NTFS, it can be directly displayed. If the vmdk is EXT4, it will be retained and will not be troublesome. It only requires two steps to mount the Ruby code www.2cto.com sudo vmware-mount-f xxx. vmdk/mnt/dd sudo mount-t ext4/mnt/dd/flat/mnt/ff In addition, it is found that the 32-bit system may be slightly different in Ubuntu, for example, you do not need to mount in step 2, after comparing the mount information, you can see the following reference fuseMountLib on/mnt/dd type fuse. fuseMountLib (rw, nosuid, nodev, allow_other)/mnt/dd/flat on/mnt/ff type ext4 (rw) www.2cto.com, I found that it was still mounted to the/dev/loop0 device. In theory, mount and losetup, dd should be able to do this, but I don't know the parameters, or there will be fewer library files, I will not go into the issue. In addition, the Mount method can be more elegant, so that the folder is not mounted everywhere, so I will not go into the attached vmware-loop, the 32-bit and 64-bit versions are easy to find. If you have a better solution, please share it.
VMware-mount-loop-linux.zip author chunk