CentOS不像Fedora,默认是没有自动挂载NTFS的,而它可以利用NTFS-3G来实现挂载及读写。

NTFS-3G 是一个开源的软件,可以实现 Linux、Free BSD、Mac OSX、NetBSD 和 Haiku 等操作系统中的 NTFS 读写支持。它可以安全且快速地读写 Windows 系统的 NTFS 分区,而不用担心数据丢失。

本文讲解如何在CentOS安装NTFS-3G来实习那挂载NTFS分区。

首先必须安装了rpmforge软件库的源

1、下载rpmforge的rpm文件包

32位系统

wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-1.el6.rf.i686.rpm

64位系统

wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

2、安装rpmforge的rpm文件包

rpm -ivh rpmforge-release-0.5.2-1.el6.rf.i686.rpm

3、安装ntfs-3g

yum install fuse-ntfs-3g
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.163.com
 * extras: mirrors.163.com
 * rpmforge: ftp.riken.jp
 * updates: mirrors.163.com
rpmforge                                                 | 1.9 kB     00:00     
rpmforge/primary_db                                      | 2.5 MB     00:04     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package fuse-ntfs-3g.x86_64 0:2010.10.2-1.el6.rf will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package            Arch         Version                   Repository      Size
================================================================================
Installing:
 fuse-ntfs-3g       x86_64       2010.10.2-1.el6.rf        rpmforge       627 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 627 k
Installed size: 1.6 M
Is this ok [y/N]: y
Downloading Packages:
fuse-ntfs-3g-2010.10.2-1.el6.rf.x86_64.rpm               | 627 kB     00:01     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : fuse-ntfs-3g-2010.10.2-1.el6.rf.x86_64                       1/1 
  Verifying  : fuse-ntfs-3g-2010.10.2-1.el6.rf.x86_64                       1/1 

Installed:
  fuse-ntfs-3g.x86_64 0:2010.10.2-1.el6.rf                                      

Complete!

成功后你会发现已经可以挂载NTFS了。

绝对可用,经本人尝试后转载来的给大家分享的!