Mount vmdk image files in Ubuntu 64-bit System

Source: Internet
Author: User


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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.