3 comments on “Mac OS X Native VDI Image Mounts

  1. Hi. I’m getting ‘hdiutil: attach failed – no mountable file systems’.

    If I add a few extra flags to hidutil …

    $ hdiutil attach -agent hdid -section 0x1000 -readonly PHPMaker_Win7.img -nomount

    /dev/disk2 FDisk_partition_scheme
    /dev/disk2s1 Windows_NTFS
    /dev/disk2s2 Windows_NTFS

    If I add -debug -verbose …

    2017-09-12 10:11:43.329 diskimages-helper[18225:7663085] _mountDevEntries: (DiskArb version)
    2017-09-12 10:11:43.329 diskimages-helper[18225:7663085] _mountDevEntries: disk2 {
    DAAppearanceTime = “526900172.09876”;
    DABusName = “/”;
    DABusPath = “IODeviceTree:/”;
    DADeviceModel = “Disk Image”;
    DADevicePath = “IOService:/IOResources/IOHDIXController/IOHDIXHDDriveOutKernel@3/IODiskImageBlockStorageDeviceOutKernel”;
    DADeviceProtocol = “Virtual Interface”;
    DADeviceRevision = “10.12v444.50.16”;
    DADeviceUnit = 3;
    DADeviceVendor = Apple;
    DAMediaBSDMajor = 1;
    DAMediaBSDMinor = 5;
    DAMediaBSDName = disk2;
    DAMediaBSDUnit = 2;
    DAMediaBlockSize = 512;
    DAMediaContent = “FDisk_partition_scheme”;
    DAMediaEjectable = 1;
    DAMediaIcon = {
    CFBundleIdentifier = “com.apple.iokit.IOStorageFamily”;
    IOBundleResourceFile = “Removable.icns”;
    };
    DAMediaKind = IOMedia;
    DAMediaLeaf = 0;
    DAMediaName = “Apple read/write (part) Media”;
    DAMediaPath = “IOService:/IOResources/IOHDIXController/IOHDIXHDDriveOutKernel@3/IODiskImageBlockStorageDeviceOutKernel/IOBlockStorageDriver/Apple read/write (part) Media”;
    DAMediaRemovable = 1;
    DAMediaSize = 8086618112;
    DAMediaWhole = 1;
    DAMediaWritable = 0;
    DAVolumeMountable = 0;
    DAVolumeNetwork = 0;
    }
    2017-09-12 10:11:43.329 diskimages-helper[18225:7663085] _mountDevEntries: skipping disk2 because it doesn’t look mountable

    Any ideas?

    • I believe based on the trace, you are trying to mount an NTFS image. I don’t think NTFS filesystems are supported natively. You may need something like OSXFuse or TuxeraNTFS.

    • A dynamically allocated VDI seems to the the issue:

      VBoxManage clonemedium disk original.vdi new.vdi –variant fixed

      I also installed Tuxera NTFS, but that was probably unnecessary in retrospect since I just needed read access.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.