Find the answer to your Linux question:
Results 1 to 10 of 10
first is it possible to read from the ntfs file system from linux if possible how do i do it...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Apr 2003
    Location
    TEXAS
    Posts
    314

    Ok mounting the ntfs file system


    first is it possible to read from the ntfs file system from linux

    if possible

    how do i do it

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    It is very possible, just mount it with -t ntfs. For example, if the NTFS filesystem is on /dev/hda1, mount it with "mount -t ntfs /dev/hda1 /mnt/windows" (providing that you have /mnt/windows).

  3. #3
    Linux User
    Join Date
    Apr 2003
    Location
    TEXAS
    Posts
    314

    ok it works

    only problem is i cant change the permissions to let every body access it.

    when i try as root it says
    cant change permissions on a readonly thingy

    not exact words but you get the point i hope

    please help me

  4. #4
    Linux User
    Join Date
    Feb 2003
    Location
    Norway, Asker
    Posts
    267
    use the uid and gid options. it is described in "man mount"

    good luck

  5. #5
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    And don't forget the umask.

  6. #6
    Linux User
    Join Date
    Apr 2003
    Location
    TEXAS
    Posts
    314

    ok it works great

    now how would i go about mounting this every time when i boot into linux

  7. #7
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Add it to your /etc/fstab. For info about the format of that file, see "man 5 fstab".

  8. #8
    Just Joined!
    Join Date
    Apr 2003
    Posts
    10
    I have the same problem and I'm a toatal linux newbie so can you tell me what I have to add to fstab to alllow normal users to read the mount. Currently my fstab looks like this:
    /dev/hdc1 /mnt/C ntfs ro,utf8 0 0
    /dev/hdc5 /mnt/D ntfs ro,utf8 0 0

  9. #9
    Linux User
    Join Date
    Apr 2003
    Location
    TEXAS
    Posts
    314

    Heres what i Did

    /dev/hda1 /mnt/windows ntfs defaults,uid=adam 0 0
    /dev/hdb5 /mnt/mymusic ntfs defaults,uid=adam 0 0

    youll se i added the uid=adam so my user could use it

    i tried to add a group to it but for some reason that didnt work i guess my
    user id doesnt belong to a group

    but if you want to add a group instead of uid put gid=group

  10. #10
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Yeah, that's no problem; just add your user to a group with the gpasswd command (I'd suggest having all users in a 'users' group, anyway). Then specify that group with gid=users (or whatever name you choose) along with the other mount options, and don't to specify umask=337 as well.

Posting Permissions

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