歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux基礎 >> 關於Linux

CentOS6掛載讀寫NTFS分區(ntfs-3g)

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位系統

[root@linuxsight linuxsight]# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-1.el6.rf.i686.rpm

64位系統

[root@linuxsight linuxsight]# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

2、安裝rpmforge的rpm文件包

[root@linuxsight linuxsight]# rpm -ivh rpmforge-release-0.5.2-1.el6.rf.i686.rpm

3、安裝ntfs-3g

[root@linuxsight linuxsight]# yum install fuse-ntfs-3g
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: mirrors.ta139.com
* extras: ftp.nara.wide.ad.jp
* rpmforge: apt.sw.be
* updates: mirrors.ta139.com
rpmforge | 1.1 kB 00:00
rpmforge/primary | 1.3 MB 01:22
rpmforge 3921/3921
Setting up Install Process
Package fuse-2.8.3-1.el6.i686 already installed and latest version
Resolving Dependencies
–> Running transaction check
—> Package fuse-ntfs-3g.i686 0:2010.10.2-1.el6.rf set to be updated
–> Finished Dependency Resolution

Dependencies Resolved


Package Arch Version Repository Size

Installing:
fuse-ntfs-3g i686 2010.10.2-1.el6.rf rpmforge 637 k

Transaction Summary

Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 637 k
Installed size: 1.4 M
Is this ok [y/N]: y
Downloading Packages:
fuse-ntfs-3g-2010.10.2-1.el6.rf.i686.rpm | 637 kB 00:35
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.i686 1/1

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

Complete!

成功後你會發現已經可以掛載NTFS了。

Copyright © Linux教程網 All Rights Reserved