Page 16 of 203 FirstFirst ... 614151617182666116 ... LastLast
Results 151 to 160 of 2026

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

  1. #151
    Join Date
    Oct 2005
    Location
    Southeast Asia
    Beans
    Hidden!
    Distro
    Ubuntu 7.04 Feisty Fawn

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

    Dear givré,

    You did an excellent job on version 0.2. The new script mounted the ext. drive using ntfs-3g drivers properly and open Nautilus right after the ext. drive was mounted. It properly unmounted and used ntfs drivers also. Great job!

    For the internal ntfs drives, I already had the perams set in fstab. It did have problems when I tried to unmount them.





    Afterwards, I removed both internal drive perams from fstab and it produced and error while trying to manually mount using ntfs drivers:

    error: device /dev/hdc6 is not removable

    error: could not execute pmount
    I did not succeed mounting the internal drives using the script.

    Thank you

  2. #152
    Join Date
    Oct 2005
    Location
    Southeast Asia
    Beans
    Hidden!
    Distro
    Ubuntu 7.04 Feisty Fawn

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

    @lordsauron

    Create a directory for each ntfs partition in the /media directory. You can name them what you want, but fstab's mount point must be the same name. They will automount next reboot.

    You will only have one ntfs partition visiable on your desktop and in Nautilus. You can just create a bookmark to your ntfs partition in Nautilus for easy access.

    PS. if you haven't do so, you will need to update Synaptic to get the newest ntfs-3g packages. Add this to source.list if you haven't done so and install the tools.

    Code:
    deb http://flomertens.keo.in/ubuntu/ dapper main
    deb-src http://flomertens.keo.in/ubuntu/ dapper main
    The nautilus script are : ntfs-3g-nautilus-tools.

    Code:
    sudo apt-get install ntfs-3g-nautilus-tools libnotify-bin
    To enable them, you have to do it manually:
    Code:
    nautilus-script-manager enable unmount_ntfs-3g
    nautilus-script-manager enable mount_with_ntfs-3g
    Last edited by domino; July 25th, 2006 at 08:41 AM.

  3. #153
    Join Date
    Apr 2006
    Beans
    1,252

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

    Thanks for the feedback.
    You have reach the actual two limitation of the script.
    - It can't actually unmount thing own by root (all in /etc/fstab if you don't have the option users), but i know how to get ride of that : gksudo -> version 0.3
    - If the last device mounted by fuse is your external and you want to unmount an internal partition mounted before this one, You will need to unmounted all /dev/fuse until this one (like said before, unmount /dev/fuse unmount only the last one). So after that's done, i try to remount all things that need it. But the only information i can have about the external drive is the mount point (device is /dev/fuse in /etc/mtab) so i can't remount them.

    Fuse is a pain for multiple device. I'll try to see in the doc if i can recover information about the original device, but that will not be easy.

    The other thing we can do, is to limite us to only removable device. An other solution could also be to store in a file the correspondance device <-> mount point before we mount them with ntfs-3g. But manage that kind of thing without a daemon could lead to problem.

    Need some braindump
    WARNING : Post with explicit contents
    Join to "STOP monolithic all-in-one unmanageable application"
    The wiki is your friend https://help.ubuntu.com/community/

  4. #154
    Join Date
    Apr 2006
    Beans
    1,252

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

    @lordsauron : I'm definitly not the developper of that 8) .
    The team you have to thanks is this team : http://www.linux-ntfs.org/
    and especialy Szabolcs Szakacsits.

    and yes, like domino said, you need to reboot, or to umount/mout them all.
    WARNING : Post with explicit contents
    Join to "STOP monolithic all-in-one unmanageable application"
    The wiki is your friend https://help.ubuntu.com/community/

  5. #155
    Join Date
    Jul 2006
    Location
    /
    Beans
    26

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

    Thanks alot for this howto, highly appricated. Been looking for this for some time.

  6. #156
    Join Date
    Oct 2005
    Location
    Southeast Asia
    Beans
    Hidden!
    Distro
    Ubuntu 7.04 Feisty Fawn

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

    Thanks for the feedback givré. Being an early adopted driver, you have made it this far. As long as people know the limitations, I think your script will do well. It just makes it that much easier control our devices.

  7. #157
    Join Date
    Apr 2005
    Location
    montreal
    Beans
    26

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

    Quote Originally Posted by domino View Post
    Sorry, stack. AFter the board went to maint. mode, I went to bed.

    Post your fdisk -l. Also did you partition using a 3rd pary application? Because even the slightest error in the file system will not mount the partition using ntfs-3g drivers. You might be able to get away with it with ntfs drivers. Anothering thing you can try is to do a "chkdsk /f" or scandisk/fix the ntfs partition in windows.
    here is the output of fdisk -l

    Disk /dev/hda: 60.0 GB, 60011642880 bytes
    255 heads, 63 sectors/track, 7296 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 6511 52299576 7 HPFS/NTFS
    /dev/hda2 6512 7240 5855692+ 83 Linux
    /dev/hda3 7241 7296 449820 82 Linux swap / Solaris
    root@cerebrum:~#

    i did not partition with anything. it's a compaq presario v2000 laptop, and i used the partiton that compaq keep to restore windows to install linux on it. i hope it's not going to cause trouble. I'm doing this for a friend that want's to switch, and so far he found ubuntu realy good. If only i could mount it's windows partion in read-write.

    thank for your help. Again this community rocks !

    here it is:


    root@cerebrum:~# cat /etc/fstab
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    /dev/hda2 / ext3 defaults,errors=remount-ro 0 1
    /dev/hda1 /media/hda1 ntfs-3g silent,umask=0,locale=en_US.utf8 0 0
    /dev/hda3 none swap sw 0 0
    /dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
    root@cerebrum:~# ls -al /media/
    total 16
    drwxr-xr-x 4 root root 4096 2006-07-21 12:13 .
    drwxr-xr-x 21 root root 4096 2006-07-20 22:20 ..
    lrwxrwxrwx 1 root root 6 2006-07-21 12:13 cdrom -> cdrom0
    drwxr-xr-x 2 root root 4096 2006-07-21 12:13 cdrom0
    drwxr-xr-x 2 root root 4096 2006-07-21 12:13 hda1
    root@cerebrum:~#

    are the /hda1 permission on the directory could be the problem ?

    thx
    Last edited by stack445; July 26th, 2006 at 02:26 PM. Reason: adding needed information

  8. #158
    Join Date
    Oct 2005
    Location
    Southeast Asia
    Beans
    Hidden!
    Distro
    Ubuntu 7.04 Feisty Fawn

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

    Okay, please edit your post and paste your fstab. Have you created a folder in the /media directory named "WinXP", or "Windows"? I also have a theory about drives from Compaq or Dell that's never been wiped before. Will worry about that later.

  9. #159
    Join Date
    Oct 2005
    Location
    Southeast Asia
    Beans
    Hidden!
    Distro
    Ubuntu 7.04 Feisty Fawn

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

    Here's a new Ubuntu Menu currently under development. You can see that it's much easier to reach your mounted Volumes and not having to clutter up your Nautilus side pane and desktop.



    You can follow the development here: http://www.compiz.net/viewtopic.php?id=2112

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

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

    @domino, yeah nice thing. It's good to see how reactive is the ubuntu community. When sled was out, there were already something like 3 thread in the forum, with deb package and patch to improve it. We are really lucky guys.

    Some news from the front: in my search for a simple way to do the correspondance mont_point <-> device when fuse is use, i found something really interesting in /dev. Can you past here the result of
    Code:
    ll /dev/disk/by-id
    and
    Code:
    ll /dev/disk/by-label
    i hope you will have the result i expexted. If so, something like
    ll /dev/disk/by-id|grep EXTERNAL|grep part1|awk -F../../ '{print $2}' for exemple should do the trick, and that's could make things really easier. 8)
    The new goal: manage every ntfs partition & device.
    O.3 will be delay, I prefer to make it really cool before real realease.
    Thanks again for the help.
    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 16 of 203 FirstFirst ... 614151617182666116 ... 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
  •