VirtualDisk - read Virtual PC .vhd files in Syllable


VirtualDisk is a Syllable driver for mounting virtual hard disks created by Microsoft Virtual PC. It provides full read-write support, although only for 'Fixed-size' disks. (The alternatives are 'Dynamically-expanding' or 'Differencing' disks, which are not currently supported.)

--> Download it here! <--

How to install it   -   How to use it   -   Known issues & bugs

How to install it:
  1. Download the .zip file and extract it to /Applications/VirtualDisk
  2. Copy the file virtualdisk to /system/drivers/dev/disk ; this is the driver.
  3. Use the command-line util mountvhd to mount & unmount virtual disks; see below.
  4. To uninstall it, delete the file /system/drivers/dev/disk/virtualdisk and the directory /Applications/VirtualDisk.
How to use it:

Use the command-line tool 'mountvhd' to mount or unmount virtual disks. (The .vhd file must already be on your Syllable system; ie it must be stored on a filesystem that you can mount and read in Syllable.)
For example, suppose you want to access files on a FAT filesystem, on the first partition on the virtual disk file ~/virtual-hard-disk.vhd:
  1. Open a Terminal window
  2. Mount the virtual disk with the following commands:
    cd /Applications/VirtualDisk
    mountvhd -m ~/virtual-hard-disk.vhd
    This creates a directory /dev/disk/virtual/virtual-hard-disk.vhd/, with a raw node (referring to the entire disk), and nodes 0, 1 etc for each valid partition on the disk. Any number of virtual disks can be mounted concurrently; they each get a directory /dev/disk/virtual/filename.
  3. Mount the filesystem on the first partition:
    mkdir /MountPoint
    mount /dev/disk/virtual/virtual-hard-disk.vhd/0 /MountPoint
    
    Now, the files should be accessible under /MountPoint.
  4. To unmount the virtual disk, first unmount the filesystem:
    unmount /MountPoint
    
    then unmount the virtual disk:
    mountvhd -u ~/virtual-hard-disk.vhd
    
Known issues & bugs: