Page 103 of 203 FirstFirst ... 35393101102103104105113153 ... LastLast
Results 1,021 to 1,030 of 2026

Thread: HOWTO: NTFS with read/write support using ntfs-3g (easy method)

  1. #1021
    Join Date
    Nov 2006
    Beans
    10

    Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)

    Hi, has this thread dicussed how to automatically mount (with ntfs-3g instead of ntfs) LUKS encrypted USB keys that are NTFS-formatted? I searched the thread for luks and cryptsetup but only found the output of some pmount command. Mounting an NTFS-formatted USB key (without LUKS) works flawless here on my Edgy thanks to ntfs-3g (which is based on this thread). Unfortunately when I use LUKS ntfs is used to mount the key. Any hint on what to change so that ntfs-3g is used?

  2. #1022
    Join Date
    Apr 2006
    Beans
    1,252

    Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)

    Hum can't really help on that since i know idea how works LUKS encrypted USB keys, but you may try :
    Code:
    pmount -t ntfs-3g /dev/sda1
    to know where is the problem (also adjust sda1 for you need)
    WARNING : Post with explicit contents
    Join to "STOP monolithic all-in-one unmanageable application"
    The wiki is your friend https://help.ubuntu.com/community/

  3. #1023
    Join Date
    Sep 2005
    Location
    London, UK
    Beans
    42
    Distro
    Hardy Heron (Ubuntu Development)

    Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)

    Quote Originally Posted by shoaibi View Post
    If no then tell me how to convert 100GB Compressed NTFS files with no risk of data loss into FAT. [don't ever tell me using Norton Partition Magic]
    1) Buy an external 250Gb drive.
    2) Format it to have VFAT partitions (I don't remember what the largest VFAT partition size is).
    3) Copy your files across.
    4) Junk the 100Gb drive. If the files are compressed and filling it, you need a bigger drive.

  4. #1024
    Join Date
    Apr 2006
    Location
    Green Bay, WI, USA
    Beans
    399
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)

    Quote Originally Posted by givré View Post
    qpieus, hum check the volume. What is the filesystem of this volume ?
    the usb stick and the ipod are vfat (fat32).
    A computer without Microsoft is like a chocolate cake without mustard.

  5. #1025
    Join Date
    Apr 2006
    Beans
    1,252

    Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)

    Quote Originally Posted by qpieus View Post
    the usb stick and the ipod are vfat (fat32).
    Check it unmounted like that :
    Code:
    fsck.vfat -va /dev/sda1
    Also, look at man fsck.vfat for more option.
    WARNING : Post with explicit contents
    Join to "STOP monolithic all-in-one unmanageable application"
    The wiki is your friend https://help.ubuntu.com/community/

  6. #1026
    Join Date
    Apr 2006
    Location
    Green Bay, WI, USA
    Beans
    399
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)

    Quote Originally Posted by givré View Post
    Check it unmounted like that :
    Code:
    fsck.vfat -va /dev/sda1
    Also, look at man fsck.vfat for more option.
    fsck.vfat -va /dev/sdf1
    dosfsck 2.11 (12 Mar 2005)
    dosfsck 2.11, 12 Mar 2005, FAT32, LFN
    Checking we can access the last sector of the filesystem
    Boot sector contents:
    System ID "MSDOS5.0"
    Media byte 0xf8 (hard disk)
    512 bytes per logical sector
    4096 bytes per cluster
    32 reserved sectors
    First FAT starts at byte 16384 (sector 32)
    2 FATs, 32 bit entries
    989184 bytes per FAT (= 1932 sectors)
    Root directory start at cluster 2 (arbitrary size)
    Data area starts at byte 1994752 (sector 3896)
    247189 data clusters (1012486144 bytes)
    63 sectors/track, 255 heads
    32 hidden sectors
    1981408 sectors total
    Reclaiming unconnected clusters.
    Checking free cluster summary.
    /dev/sdf1: 77 files, 3791/247189 clusters
    There doesn't seems to be any errors?
    Here's dmesg from when I plugged in the usb stick. It's a little different from the dmesg the ipod produced (that i posted a couple days ago).
    Code:
    [17182835.900000] usb 2-3: new high speed USB device using ehci_hcd and address 5
    [17182836.036000] scsi7 : SCSI emulation for USB Mass Storage devices
    [17182836.036000] usb-storage: device found at 5
    [17182836.036000] usb-storage: waiting for device to settle before scanning
    [17182841.036000]   Vendor: LEXAR     Model: JUMPDRIVE SECURE  Rev: 3000
    [17182841.036000]   Type:   Direct-Access                      ANSI SCSI revision: 00
    [17182841.044000] SCSI device sdf: 1981440 512-byte hdwr sectors (1014 MB)
    [17182841.044000] sdf: Write Protect is off
    [17182841.044000] sdf: Mode Sense: 43 00 00 00
    [17182841.044000] sdf: assuming drive cache: write through
    [17182841.052000] SCSI device sdf: 1981440 512-byte hdwr sectors (1014 MB)
    [17182841.052000] sdf: Write Protect is off
    [17182841.052000] sdf: Mode Sense: 43 00 00 00
    [17182841.052000] sdf: assuming drive cache: write through
    [17182841.052000]  sdf: sdf1
    [17182841.196000] sd 7:0:0:0: Attached scsi removable disk sdf
    [17182841.196000] sd 7:0:0:0: Attached scsi generic sg5 type 0
    [17182841.200000] usb-storage: device scan complete
    There doesn't seem to be anything wrong there, and yet I get the same error in konqueror when the device tries to suto mount.
    A computer without Microsoft is like a chocolate cake without mustard.

  7. #1027
    Join Date
    Dec 2005
    Location
    Islamabad, Pakistan
    Beans
    573
    Distro
    Ubuntu

    Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)

    qpeius and i cant't do that.....

  8. #1028
    Join Date
    Apr 2006
    Beans
    1,252

    Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)

    shoaibi, did you get it working read only at least ?

    qpieus, have a look there :
    https://help.ubuntu.com/community/DebuggingUSBStorage
    WARNING : Post with explicit contents
    Join to "STOP monolithic all-in-one unmanageable application"
    The wiki is your friend https://help.ubuntu.com/community/

  9. #1029
    Join Date
    Nov 2006
    Beans
    10

    Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)

    Quote Originally Posted by givré View Post
    Hum can't really help on that since i know idea how works LUKS encrypted USB keys, but you may try :
    Code:
    pmount -t ntfs-3g /dev/sda1
    to know where is the problem (also adjust sda1 for you need)
    Thanks givré. The problem is not with pmount:
    Code:
    $ pmount -d -t ntfs-3g /dev/sdb1 
    resolved /dev/sdb1 to device /dev/sdb1
    mount point to be used: /media/sdb1
    no iocharset given, current locale encoding is UTF-8
    locale encoding uses UTF-8, setting iocharset to 'utf8'
    Cleaning lock directory /var/lock/pmount_dev_sdb1
    device_whitelist: checking /etc/pmount.allow...
    device_whitlisted(): nothing matched, returning 0
    find_sysfs_device: looking for sysfs directory for device 8:17
    find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/dm-0 (254:0)
    find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/sdb (8:16)
    find_sysfs_device: major device numbers match
    find_sysfs_device: minor device numbers do not match, checking partitions...
    find_sysfs_device: checking whether device /dev/sdb1 matches partition 8:16
    find_sysfs_device: checking whether device /dev/sdb1 matches partition 8:17
    find_sysfs_device: -> partition matches, belongs to block device /sys/block/sdb
    device_removable: corresponding block device for /dev/sdb1 is /sys/block/sdb
    get_blockdev_attr: value of /sys/block/sdb/removable == 1
    policy check passed
    spawnv(): executing /sbin/cryptsetup '/sbin/cryptsetup' 'isLuks' '/dev/sdb1'
    spawn(): /sbin/cryptsetup terminated with status 0
    spawnv(): executing /sbin/cryptsetup '/sbin/cryptsetup' 'luksOpen' '/dev/sdb1' '_dev_sdb1'
    Enter LUKS passphrase: 
    spawn(): /sbin/cryptsetup terminated with status 0
    locking mount point directory
    mount point directory locked
    filesystem is ntfs-3g. Setting locale to de_DE.UTF-8
    spawnv(): executing /bin/mount '/bin/mount' '-t' 'ntfs-3g' '-o' 'nosuid,nodev,user,nonempty,async,atime,noexec,uid=1000,gid=1000,umask=077,locale=de_DE.UTF-8' '/dev/mapper/_dev_sdb1' '/media/sdb1'
    spawn(): /bin/mount terminated with status 0
    unlocking mount point directory
    mount point directory unlocked
    
    $ mount
    [...]
    /dev/mapper/_dev_sdb1 on /media/sdb1 type fuse (rw,nosuid,nodev,noexec,noatime,allow_other)
    As a reference, here is the output when I don't specify ntfs-3g:

    Code:
    $ pmount -d /dev/sdb1 
    resolved /dev/sdb1 to device /dev/sdb1
    mount point to be used: /media/sdb1
    no iocharset given, current locale encoding is UTF-8
    locale encoding uses UTF-8, setting iocharset to 'utf8'
    Cleaning lock directory /var/lock/pmount_dev_sdb1
    device_whitelist: checking /etc/pmount.allow...
    device_whitlisted(): nothing matched, returning 0
    find_sysfs_device: looking for sysfs directory for device 8:17
    find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/dm-0 (254:0)
    find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/sdb (8:16)
    find_sysfs_device: major device numbers match
    find_sysfs_device: minor device numbers do not match, checking partitions...
    find_sysfs_device: checking whether device /dev/sdb1 matches partition 8:16
    find_sysfs_device: checking whether device /dev/sdb1 matches partition 8:17
    find_sysfs_device: -> partition matches, belongs to block device /sys/block/sdb
    device_removable: corresponding block device for /dev/sdb1 is /sys/block/sdb
    get_blockdev_attr: value of /sys/block/sdb/removable == 1
    policy check passed
    spawnv(): executing /sbin/cryptsetup '/sbin/cryptsetup' 'isLuks' '/dev/sdb1'
    spawn(): /sbin/cryptsetup terminated with status 0
    spawnv(): executing /sbin/cryptsetup '/sbin/cryptsetup' 'luksOpen' '/dev/sdb1' '_dev_sdb1'
    Enter LUKS passphrase: 
    spawn(): /sbin/cryptsetup terminated with status 0
    locking mount point directory
    mount point directory locked
    spawnv(): executing /bin/mount '/bin/mount' '-t' 'udf' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000,umask=000,iocharset=utf8' '/dev/mapper/_dev_sdb1' '/media/sdb1'
    spawn(): /bin/mount terminated with status 32
    spawnv(): executing /bin/mount '/bin/mount' '-t' 'udf' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000,umask=000' '/dev/mapper/_dev_sdb1' '/media/sdb1'
    spawn(): /bin/mount terminated with status 32
    spawnv(): executing /bin/mount '/bin/mount' '-t' 'iso9660' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000,iocharset=utf8' '/dev/mapper/_dev_sdb1' '/media/sdb1'
    spawn(): /bin/mount terminated with status 32
    spawnv(): executing /bin/mount '/bin/mount' '-t' 'iso9660' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000' '/dev/mapper/_dev_sdb1' '/media/sdb1'
    spawn(): /bin/mount terminated with status 32
    spawnv(): executing /bin/mount '/bin/mount' '-t' 'vfat' '-o' 'nosuid,nodev,user,quiet,shortname=mixed,async,atime,noexec,uid=1000,gid=1000,umask=077,iocharset=utf8' '/dev/mapper/_dev_sdb1' '/media/sdb1'
    spawn(): /bin/mount terminated with status 32
    spawnv(): executing /bin/mount '/bin/mount' '-t' 'vfat' '-o' 'nosuid,nodev,user,quiet,shortname=mixed,async,atime,noexec,uid=1000,gid=1000,umask=077' '/dev/mapper/_dev_sdb1' '/media/sdb1'
    spawn(): /bin/mount terminated with status 32
    spawnv(): executing /bin/mount '/bin/mount' '-t' 'ntfs' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000,umask=077,iocharset=utf8' '/dev/mapper/_dev_sdb1' '/media/sdb1'
    spawn(): /bin/mount terminated with status 0
    unlocking mount point directory
    mount point directory unlocked
    
    $ mount
    [...]
    /dev/mapper/_dev_sdb1 on /media/sdb1 type ntfs (rw,noexec,nosuid,nodev,uid=1000,gid=1000,umask=077,iocharset=utf8)
    So who calls pmount? gnome-volume-manager? Where could I override ntfs with ntfs-3g? Come on, it's linux, there must be a config file ;).

  10. #1030
    Join Date
    Apr 2006
    Beans
    1,252

    Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)

    gvm call pmount-hal, which will choose the fs according to what suggest hal.
    Since my patched package provide an hal rule to choose ntfs-3g for ntfs, pmount-hal would choose ntfs-3g automatically. What give u :
    Code:
    pmount-hal /dev/sda1
    Also, cheek that the hal rule is there :
    For dapper : /usr/share/hal/fdi/policy/10osvendor/15-ntfs-policy.fdi
    For edgy : /etc/hal/fdi/policy/15-ntfs-policy.fdi
    WARNING : Post with explicit contents
    Join to "STOP monolithic all-in-one unmanageable application"
    The wiki is your friend https://help.ubuntu.com/community/

Page 103 of 203 FirstFirst ... 35393101102103104105113153 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •