How to Mount VMDK Disk With an HFS Partition

Written by chris hoffman Google
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Mount VMDK Disk With an HFS Partition
(Stockbyte/Stockbyte/Getty Images)

VMware creates virtual machines with virtual hardware to install guest operating systems on. VMware uses VMDK, or Virtual Machine Disk, format files for virtual hard drive images. VMware provides a utility that can mount VMDK disk image partitions on the host computer, allowing you to access and modify it like you would any other file system. Unfortunately, VMware's utility for Windows can only mount partition with file systems Windows supports, such as NTFS and FAT32. You can mount VMDK disk partitions in HFS format on a Linux computer, which natively supports HFS.

Skill level:
Moderate

Other People Are Reading

Instructions

  1. 1

    Download and install the Virtual Disk Development Kit for Linux from VMware. (See Resources.)

  2. 2

    Open a terminal by clicking "Applications," "Accessories" and "Terminal."

  3. 3

    Become the root user by typing "su" into the terminal, or "sudo su" on Ubuntu, and pressing "Enter."

  4. 4

    Type the password at the password prompt and press "Enter."

  5. 5

    Type "vmware-mount -p /path/to/disk.vmdk" into the terminal, replacing "/path/to/disk.vmdk" with the path to the VMDK disk on the computer, and press "Enter."

  6. 6

    Read the partition number of the HFS partition in the command's output.

  7. 7

    Create a mount point for the HFS partition by typing "mkdir /mnt/hfs" into the terminal and pressing "Enter."

  8. 8

    Mount the HFS partition in the VMDK disk image by typing "vmware-mount /path/to/disk.vmdk 1 /mnt/hfs" into the terminal, replacing "/path/to/disk.vmdk" with the path to the VMDK disk file and "1" with the number of the HFS partition, and pressing "Enter."

Tips and warnings

  • Unmount the HFS partition when you're finished with it by typing "vmware-mount -d /mnt/hfs" into the root terminal and pressing "Enter."

Don't Miss

Filter:
  • All types
  • Articles
  • Slideshows
  • Videos
Sort:
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.