ntfs-3g linpus and automatic mount in ro/rw ?

Discussion in 'Linux' started by hpfx, Nov 20, 2008.

  1. hpfx

    hpfx

    Joined:
    Oct 30, 2008
    Messages:
    35
    Likes Received:
    0
    hello,
    when i plug my ntfs external usb hard drive, it is mounted as readonly.

    Code:
    dev/sdb5/ on /media/DISK type fuseblk (ro,nosuid,nodev,noatime,......
    but I know that ntfs-3g is installed here (version 1.1030)
    I have to unmount and then mannually mount it with
    Code:
    ntfs-3g /dev/sdb5 /mnt/windows
    how can I tell the system to use ntfs-3g in rw instead of "i-dont-know-what-in-read-only" ?

    and also another question, can we update ntfs-3g to a more recent version ?
    do you have experiance with acer linpus and updating ntfs-3g ?
    thank you.

    EDIT : do not try ntfs-config, it's not working and may broke your system even if you uninstall it !!!
     
    hpfx, Nov 20, 2008
    #1
  2. hpfx

    Grim Squeaker

    Joined:
    Aug 19, 2008
    Messages:
    410
    Likes Received:
    0
    Update with:
    Code:
    sudo yum update ntfs-3g
    For writing:
    I found that
    Code:
    sudo yum install ntfs-config
    sudo ntfs-config
    And then allowing writing to external media did the trick.
     
    Grim Squeaker, Nov 21, 2008
    #2
  3. hpfx

    hpfx

    Joined:
    Oct 30, 2008
    Messages:
    35
    Likes Received:
    0
    thank you, but,
    now when I plug my usb ntfs drive, I got an error that only "root can mount this device"
     
    hpfx, Nov 21, 2008
    #3
  4. hpfx

    Grim Squeaker

    Joined:
    Aug 19, 2008
    Messages:
    410
    Likes Received:
    0
    Unplug it and reboot. Then replug.
     
    Grim Squeaker, Nov 21, 2008
    #4
  5. hpfx

    hpfx

    Joined:
    Oct 30, 2008
    Messages:
    35
    Likes Received:
    0
    what I did ! serveral times.
    now I would like to get back the old behavior...
    I have unflag both write support for internal and external device in ntfs-config (and reboot)
    but I still have problem I don't know where but my config is broken now :shock:
    I still have this mount error !

    I'll now try to uninstall this package, and cross my finger.
     
    hpfx, Nov 21, 2008
    #5
  6. hpfx

    hpfx

    Joined:
    Oct 30, 2008
    Messages:
    35
    Likes Received:
    0
    damn !
    it's broken !!!!
    I removed this package but now I cannot mount (automatically) an NTFS drive. :(


    ok, after searching for modified file, I found that 3 files that were changed :
    /etc/fstab/
    I removed the line that ntfs-config added
    (it was about the device of my ntfs drive, I did not change anything else)

    /etc/hal/fdi/policy/20-ntfs-config-read-policy
    this file was a broken link, I removed it.

    /media/.created-by-python-fstab
    this file content was only the device name of my external ntfs harddrive
    I removed it.


    now, it's ok on thunar, I can plug my ntfs drive, it's mounted, read only, but it works...

    EDIT :
    finally, the only solution I have is to manual mounting thanks to ntfs-3g : do alt-f2 termial, and then :
    Code:
    # first unmount automatic ro mount :
    umount /dev/sdb5
    # and mount in rw mode :
    ntfs-3g /dev/sdb5 /mnt/windows
    I made a script for that action.
     
    hpfx, Nov 21, 2008
    #6
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.