Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorygeds
    • CommentTimeJan 31st 2008
     
    I am having trouble using a disk image with an ntfs file system that was created with TrueCrypt 4.3a on Windows. Is this supported? Am I doing something wrong?

    Attach seems to work ok, but the size is wrong:
    $ /usr/local/bin/ocutil attach -verbose file.img
    attach: outer volume password:
    attach: info: identifing outer volume...
    attach: info: volume: blocks = 5092737 block size = 512 size = 2607481344 bytes.
    attach: info: cipher: algorithm = Serpent-AES mode = LRW pkcs5 prf = HMAC-Whirlpool
    attach: info: cipher: master key = [...]
    attach: info: cipher: iv = [...]
    attach: info: outer volume identified.
    attach: info: trying to attach 'file.img' ...
    attach: info: attaching disk image 'file.img', please wait...
    attach: info: attached disk image 'file.img' to disk1
    attach: info: seizing device disk1 via DiskArbitration.
    attach: info: reprobing device disk1 for success...
    attach: info: driver has been attached to device disk1 successfully.
    attach: debug: storage service returned rc=0
    attach: attached OSXCrypt device disk2
    attach: info: automounting volumes for device disk2
    attach: info: unseizing device disk1 via DiskArbitration.

    But no volumes are mounted.

    $ diskutil -l
    /dev/disk1
    #: type name size identifier
    0: *10.4 GB disk1
    /dev/disk2
    #: type name size identifier
    0: *2.4 GB disk2

    $ file -s /dev/disk2
    /dev/disk2: x86 boot sector, code offset 0x52, OEM-ID "NTFS ", sectors/cluster 8, reserved sectors 0, Media descriptor 0xf8, heads 1, hidden sectors 63, dos < 4.0 BootSector (0x80)

    $ mount -t ntfs /dev/disk2 test
    mount_ntfs: /dev/disk2: Invalid argument

    It works fine with TrueCrypt 4.3a on Windows. The correct size is 10.4gb.
    • CommentAuthororlando
    • CommentTimeFeb 1st 2008
     
    Intersting, I'll have a look, I wonder if the reported blocks count is correct at this point, can you check?
    • CommentAuthorygeds
    • CommentTimeFeb 3rd 2008
     
    how can I check that? If I go to Volume Properties on Windows it says

    Size: 11197439488 bytes
    Key Size: 512 bits
    Block Size: 128 bits

    but nothing about number of blocks.