1, 首先確認fuse,CentOS 5.5 帶有fuse,可以使用 rpm -qa | grep fuse 查看是否安裝。
[root@localhost ntfs-3g-2010.5.22]# rpm -qa | grep fuse
fuse-2.7.4-8.el5
說明已經安裝fuse
如果沒有顯示,請執行
[root@localhost ntfs-3g-2010.5.22]#yum install fuse
2,安裝ntfs-3g, 系統默認的軟件庫更新不到ntfs-3g,可以自己下載編譯安裝。
下載網址:http://www.tuxera.com/community/ntfs-3g-download/
下載完后安裝,安裝方法下載點有。
簡單介紹一下, 下載后解壓
[root@localhost packages]# tar -zxvf ntfs-3g-2010.5.22.tgz
進入解壓后的目錄
[root@localhost packages]# cd ntfs-3g-2010.5.22
[root@localhost ntfs-3g-2010.5.22]#
文件夾中的文件
[root@localhost ntfs-3g-2010.5.22]# ls
aclocal.m4 config.h configure.ac INSTALL m4 README
AUTHORS config.h.in COPYING install-sh Makefile src
autogen.sh config.log COPYING.LIB libfuse-lite Makefile.am stamp-h1
ChangeLog config.status CREDITS libntfs-3g Makefile.in
compile config.sub depcomp libtool missing
config.guess configure include ltmain.sh NEWS
[root@localhost ntfs-3g-2010.5.22]#
接著依次執行
[root@localhost ntfs-3g-2010.5.22]#./configure
[root@localhost ntfs-3g-2010.5.22]#make
[root@localhost ntfs-3g-2010.5.22]#make install
完了之后就可以正常mount ntfs 文件了
用fdisk -l查看到移動硬盤為dev/sda2
[root@localhost ntfs-3g-2010.5.22]# mount -t ntfs-3g /dev/sda2 /mnt
[root@localhost ntfs-3g-2010.5.22]# ls /mnt
centos RECYCLER vm2k3
IDE System Volume Information vmdesk
Incoming TDDOWNLOAD w2003SP2.iso
kankan the brothers four windows
music ubuntustudio-10.04-alternate-amd64.iso 讀書
news vm
卸載移動硬盤請執行[root@localhost ntfs-3g-2010.5.22]#umount /mnt