Problem with "Protect Your Files With TrueCrypt on Debian"

Discussion in 'HOWTO-Related Questions' started by ensens, Mar 4, 2009.

  1. ensens

    ensens Member

    Hi,

    I'm using TrueCrypt 6.1a. I'm using Debian 5 and the kernel is 2.6.26-1-686.
    I'm using NTFS-3G driver Version 1.2531. I see that the newest version of the NTFS-3G driver is Release 2009.2.1.
    I don't know if my problem is the result of using the older Version 1.2531.

    I'm writing because I have two TrueCrypt files formatted as NTFS.
    The first is a 20 MB file.
    The second is 150 GB file.

    In Windows XP I can mount both TrueCrypt files as read-write.

    My problem is that in Linux I can't mount both TrueCrypt files as read-write.
    I can mount the 20 MB file as read-write. But, I can't mount the 150 GB file read-write. I can only mount the 150 GB file read-only.

    Do you think the problem is the NTFS-3G driver is too old? If that's the case I'll need to figure out how to replace the old driver version with the newer driver version.

    I looked at http://www.ntfs-3g.org/quality.html and have also read the NTFS-3G Release History but I can't find the solution.

    Thank you.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Do you see any errors in your logs?
     
  3. ensens

    ensens Member

    I've never read log files before. But, since you asked for information about my log files I looked at the files in the /var/log directory. And in that directory I saw changes in messages, syslog and debug. Those messages are below.

    A) /var/log# tail -f messages
    Mar 5 14:04:36 xps400 kernel: [467559.486706] usb 5-7: Product: FreeAgent Go
    Mar 5 14:04:36 xps400 kernel: [467559.486706] usb 5-7: Manufacturer: Seagate
    Mar 5 14:04:36 xps400 kernel: [467559.486706] usb 5-7: SerialNumber: 5MA0XBAQ
    Mar 5 14:04:41 xps400 kernel: [467564.719895] scsi 8:0:0:0: Direct-Access Seagate FreeAgent Go 100F PQ: 0 ANSI: 4
    Mar 5 14:04:41 xps400 kernel: [467564.723896] sd 8:0:0:0: [sdd] 312581808 512-byte hardware sectors (160042 MB)
    Mar 5 14:04:41 xps400 kernel: [467564.723896] sd 8:0:0:0: [sdd] Write Protect is off
    Mar 5 14:04:41 xps400 kernel: [467564.727896] sd 8:0:0:0: [sdd] 312581808 512-byte hardware sectors (160042 MB)
    Mar 5 14:04:41 xps400 kernel: [467564.727896] sd 8:0:0:0: [sdd] Write Protect is off
    Mar 5 14:04:41 xps400 kernel: [467564.727896] sdd: sdd1
    Mar 5 14:04:41 xps400 kernel: [467564.752218] sd 8:0:0:0: [sdd] Attached SCSI disk
    Mar 5 14:12:44 xps400 kernel: [468073.128005] NTFS volume version 3.1.

    B) /var/log# tail -f syslog
    Mar 5 14:04:42 xps400 NetworkManager: <debug> [1236279882.010715] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_bc2_2000_____________5MA0XBAQ_scsi_host').
    Mar 5 14:04:42 xps400 NetworkManager: <debug> [1236279882.015751] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_bc2_2000_____________5MA0XBAQ_scsi_host_scsi_device_lun0').
    Mar 5 14:04:42 xps400 NetworkManager: <debug> [1236279882.246156] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/storage_serial_Seagate_FreeAgent_Go_5MA0XBAQ_0_0').
    Mar 5 14:04:42 xps400 NetworkManager: <debug> [1236279882.449226] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/volume_uuid_825086A95086A40F').
    Mar 5 14:07:05 xps400 ntfs-3g[20041]: Version 2009.2.1 integrated FUSE 27
    Mar 5 14:07:05 xps400 ntfs-3g[20041]: Mounted /dev/sdd1 (Read-Write, label "New Volume", NTFS 3.1)
    Mar 5 14:07:05 xps400 ntfs-3g[20041]: Cmdline options: rw,force
    Mar 5 14:07:05 xps400 ntfs-3g[20041]: Mount options: rw,force,silent,allow_other,nonempty,relatime,fsname=/dev/sdd1,blkdev,blksize=4096
    Mar 5 14:12:44 xps400 kernel: [468073.128005] NTFS volume version 3.1.
    Mar 5 14:17:01 xps400 /USR/SBIN/CRON[20162]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)

    C) /var/log# tail -f debug
    Mar 5 14:04:37 xps400 NetworkManager: <debug> [1236279877.531079] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_bc2_2000_____________5MA0XBAQ').
    Mar 5 14:04:38 xps400 NetworkManager: <debug> [1236279878.130516] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_bc2_2000_____________5MA0XBAQ_if0').
    Mar 5 14:04:38 xps400 NetworkManager: <debug> [1236279878.138379] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_bc2_2000_____________5MA0XBAQ_usbraw').
    Mar 5 14:04:41 xps400 kernel: [467564.718873] usb-storage: device scan complete
    Mar 5 14:04:41 xps400 kernel: [467564.723896] sd 8:0:0:0: [sdd] Mode Sense: 1c 00 00 00
    Mar 5 14:04:41 xps400 kernel: [467564.727896] sd 8:0:0:0: [sdd] Mode Sense: 1c 00 00 00
    Mar 5 14:04:42 xps400 NetworkManager: <debug> [1236279882.010715] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_bc2_2000_____________5MA0XBAQ_scsi_host').
    Mar 5 14:04:42 xps400 NetworkManager: <debug> [1236279882.015751] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_bc2_2000_____________5MA0XBAQ_scsi_host_scsi_device_lun0').
    Mar 5 14:04:42 xps400 NetworkManager: <debug> [1236279882.246156] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/storage_serial_Seagate_FreeAgent_Go_5MA0XBAQ_0_0').
    Mar 5 14:04:42 xps400 NetworkManager: <debug> [1236279882.449226] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/volume_uuid_825086A95086A40F').

    I googled to try to find where, if anywhere, TrueCrypt would store its log files but I wasn't able to find that information.

    -B
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Unfortunately I'm no TrueCrypt expert, and from the logs I can't see anything that gives me a clue what is going wrong. :(
     
  5. ensens

    ensens Member

    Solved:

    Hi falko,

    That's OK. I appreciate your time and assistance. If I ever figure out the solution I'll update this post.

    I switched from Debian 5 to Ubuntu 8.10 and that fixed the problem.

    Ubuntu 8.10 is using, ntfs-3g 1.2506 external FUSE 27 - Third Generation NTFS Driver.

    -B
     
    Last edited: Mar 8, 2009

Share This Page