×

Loading...
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务

copy & past

本文发表在 rolia.net 枫下论坛This how-to describes how to mount an NTFS partition in linux so that the user can access files on the NTFS partition from linux normally.

1. Login as root by running from a terminal su followed by typing the root password.

2. Create a directory in your /mnt folder. This can be done by running mkdir /mnt/X where X is the name of the directory where the NTFS partition will be mounted.

3. Run fdisk -l and note the name of the device file for the NTFS partition. Lets say the device file name is found to be /dev/Y.

4. Open the file /etc/fstab in your favorite text editor.

5. On a new line at the bottom of the file, add the line

/dev/Y /mnt/X ntfs users,owner,ro,umask=000 0 0

where X is the name of the directory you created in step 2.

6. Save and quit the file /etc/fstab

7. Then run mount -a and the NTFS partition will be mounted. It will also be mounted automatically after reboot so that you do not have to do anything after you reboot.

Important Notes

This will allow all users READ ONLY access to the NTFS partition. Write access to NTFS partitions is still considered very risky (see http://linux-ntfs.sourceforge.net/info/ntfs.html#3.2 ).
For more info, see http://linux-ntfs.sourceforge.net/info/ntfs.html .
Redhat/Fedora users, see http://linux-ntfs.sourceforge.net/info/ntfs.html#6.1 .更多精彩文章及讨论,请光临枫下论坛 rolia.net
Report

Replies, comments and Discussions:

  • 工作学习 / IT技术讨论 / 两个盘,一个装了window, 另一个装了redhat, 在window 下安装什么软件可以看到linux 的文件系统?或者在linux 下安装什么软件可以看window下的文件系统?谢谢。
    • 有人吗?
      • google: key word: FAT file system, linux, window, mount
    • linux 看 windows 只要把windows硬盘 mount上去就可以了
      • make sure the window file system format is FAT rother than NTFT
        • NTFT? NTFS吧。不过现在Linux可以直接mount NTFS的分区。
          • how?
            • copy & past
              本文发表在 rolia.net 枫下论坛This how-to describes how to mount an NTFS partition in linux so that the user can access files on the NTFS partition from linux normally.

              1. Login as root by running from a terminal su followed by typing the root password.

              2. Create a directory in your /mnt folder. This can be done by running mkdir /mnt/X where X is the name of the directory where the NTFS partition will be mounted.

              3. Run fdisk -l and note the name of the device file for the NTFS partition. Lets say the device file name is found to be /dev/Y.

              4. Open the file /etc/fstab in your favorite text editor.

              5. On a new line at the bottom of the file, add the line

              /dev/Y /mnt/X ntfs users,owner,ro,umask=000 0 0

              where X is the name of the directory you created in step 2.

              6. Save and quit the file /etc/fstab

              7. Then run mount -a and the NTFS partition will be mounted. It will also be mounted automatically after reboot so that you do not have to do anything after you reboot.

              Important Notes

              This will allow all users READ ONLY access to the NTFS partition. Write access to NTFS partitions is still considered very risky (see http://linux-ntfs.sourceforge.net/info/ntfs.html#3.2 ).
              For more info, see http://linux-ntfs.sourceforge.net/info/ntfs.html .
              Redhat/Fedora users, see http://linux-ntfs.sourceforge.net/info/ntfs.html#6.1 .更多精彩文章及讨论,请光临枫下论坛 rolia.net
              • thank you, (guest again)
                • Welcome
    • http://www.partition-manager.com/n_ext2fs_main.htm
    • 谢谢各位。