英文的哦!
1. Install NTFS Support
For yum users:
[mirandam@charon ~]$ sudo yum install fuse fuse-libs ntfs-3g ntfsprogs ntfsprogs-gnomevfs
Users without yum, download fuse, fuse-lib and ntfs-3g (ntfsprogs and ntfsprogs-gnomevfs are optional) from Fedora Extras. Save them to a separate directory (ntfs). They are less than 1MB download.
[mirandam@charon downloads]$ cd ntfs
[mirandam@charon ntfs]$ sudo rpm -ivh fuse* ntfs*
No kernel version checking is required, so long as you are using a FC6 kernel.
2. Check Your Partitions
Use fdisk to list partitions. Most ATA hard drives will be /dev/hda. Drives may also show up as /dev/hdb, /dev/sda depending on your configuration.
[mirandam@charon ~]$ sudo /sbin/fdisk -lu /dev/hda | grep NTFS
/dev/hda1 * 63 33559784 16779861 7 HPFS/NTFS
/dev/hda2 33559785 67119569 16779892+ 7 HPFS/NTFS
/dev/hda3 67119570 100679354 16779892+ 7 HPFS/NTFS
Usually the first will be a drive "letter": C drive, next D, etc. Hence /dev/hda1 is my C:\ drive used by Windows.
3. Create Mount Points
For every partition in step 2 that you wish to access, you will need a "mount point". A mount point is just a directory. Common directories are: /media/ and /mnt/. Use whichever, but be consistent.
[mirandam@charon ~]$ cd /media/
[mirandam@charon media]$ sudo mkdir c_drive d_drive e_drive
You do not have to use these names, if you prefer to create folders such as movies, documents, or winxp, any name will work (without spaces).
4. Mount Partitions
Using NTFS-3G, we can mount the NTFS partition read-write, however it is recommended for novices as read-only. The following mounts and sets the permissions so all users can read the contents of each partition.
[mirandam@charon ~]$ sudo mount /dev/hda1 /media/c_drive -t ntfs-3g -r -o umask=0222
[mirandam@charon ~]$ sudo mount /dev/hda2 /media/d_drive -t ntfs-3g -r -o umask=0222
[mirandam@charon ~]$ sudo mount /dev/hda3 /media/e_drive -t ntfs-3g -r -o umask=0222
Read/Write Access: The above is for read-only access. In order to mount read/write, you must use the -rw -o umask=0000. Example:
[mirandam@charon ~]$ sudo mount /dev/hda1 /media/c_drive -t ntfs-3g -rw -o umask=0000
HIGHLY RECOMMENDED: Please run man mount to understand what umask= does.
5. Update /etc/fstab
Every time Fedora boots, the partitions must be mounted. To automatically mount, you must edit /etc/fstab.
Open /etc/fstab in an editor: (use nano instead of gedit if you do not have a GUI)
[mirandam@charon ~]$ sudo gedit /etc/fstab
Add these lines to the END of the file:
/dev/hda1 /media/c_drive ntfs-3g ro,defaults,umask=0222 0 0
/dev/hda2 /media/d_drive ntfs-3g ro,defaults,umask=0222 0 0
/dev/hda3 /media/e_drive ntfs-3g ro,defaults,umask=0222 0 0
Read/Write Access: The above is for read-only access. In order to mount read/write, you must use the rw,defaults,umask=0000. Example:
/dev/hda1 /media/c_drive ntfs-3g rw,defaults,umask=0000 0 0
Done!
分享到:
相关推荐
数据迁移是我们经常会遇到的,有时候做大数据量迁移时,为了快速迁移大数据,有可能在Linux服务器上临时挂载NTFS格式的移动硬盘, 一般情况下,Linux是识别不了NTFS格式移动硬盘的(需要重编译Linux核心才能,加挂...
在linux系统下使安装tfs-3g软件,识别和挂载ntfs分区格式的硬盘
NTFS-3g是一个开源软件,它支持在Linux下面读写NTFS格式的分区。 它非常的快速,同时也很安全。它支持Windows 2000、XP、2003和Vista,并且支持所有的符合POSIX标准的磁盘操作。 ntfs-3g的目的是为了持续的发展,...
linux(redhat_5.3)下挂载ntfs格式的硬盘.zip fuse-2.7.4.tar.gz ntfs-3g-1.0_PConline.tgz linux下挂载ntfs格式的硬盘.pdf
linux挂载NTFS硬盘格式工具,解压包内含挂载教程
Linux挂载移动硬盘ntfs格式的ntfs-3g支持包
linux下挂载ntfs硬盘所需软件fuse-2.7.4.tar.gz及ntfs-3g-2009.4.4.gz
Linux系统上挂载格式为ntfs格式的移动硬盘的简单方法
LINUX上挂载NTFS硬盘的方法,自己写的,欢迎下载。
最近公司要备份原始的SVN源码等数据,需要挂载移动硬盘,当前使用这几个包文件完成了挂载的操作,然后就开始了备份的工作。 解决了几个异常的问题,现将这几个包和说明分享出去给伙计们
解决LINUX下无法自动挂载NTFS文件格式的移动硬盘访问的所有资料
使linux主机识别挂载ntfs硬盘。谢谢支持。
linux挂载NTFS分区移动硬盘2010-09-23 16:35CentOS 挂载NTFS分区移动硬盘 1.uname -r 查看当前的linux内核版本. [root@localhost Desktop]# uname -r 2.6.18-128.el5 2.去http://www.linux-ntfs.org/下载与内核版本...
linux下挂载移动硬盘。linux查看Windows系统中的ntfs分区。
Linux 下挂载NTFS格式硬盘所必须的一个安装包。
硬盘设置成exfat格式,可同时在windows和linux上面同时使用
无论Linux系统的硬盘,还是通过USB连接的移动硬盘/U盘,都是可以挂载到Linux系统中的。不过由于Windows本身常用的文件系统包括fat32和NTFS,linux,默认不支持ntfs分区,因此还是需要单独安装组件题。
liunx系统下挂载NTFS硬盘,不能读写时要安装此软件
有时会在windows下使用的移动硬盘,需要接到linux机器下使用,插上去的时候才发现没有反应,毕竟两个系统用着不同的文件系统,需要进行以下配置。 该文件介绍了如何挂载分区、卸载分区、设置挂载点等操作。