本人使用的是CentOS 5.4 64的系統,挂載普通移動硬碟時,發現沒有對應centos 5.4 核心2.6.18-164.el5 x86_64的ntfsrpm包。
當沒有ntfs的核心支援包的時候,用以下方法挂載ntfs移動硬碟
一.下載下傳所需源碼
fuse最新版本官網下載下傳位址:http://sourceforge.net/projects/fuse/files/fuse-2.X/2.8.3/fuse-2.8.3.tar.gz/download
ntfs-3g最新版本官網下載下傳位址:http://www.tuxera.com/opensource/ntfs-3g-2010.10.2.tgz
二.安裝源碼
建議安裝前閱讀INSTALL、REDEME文檔裡面有詳細的安裝方法和參數說明。
1.安裝fuse
[[email protected] ~]#tar –zxvf fuse-2.8.3.tar.gz
[[email protected] ~]#cd fuse-2.8.3
[[email protected] ~]#./configure
[[email protected] ~]#make && make install
[[email protected] ~]#modprobe fuse
2.安裝ntfs-3g
[[email protected] ~]#tar –zxvf ntfs-3g-2010.3.6.tgz
[[email protected] ~]#cd ntfs-3g-2010.3.6
[[email protected] ~]#./configure
[[email protected] ~]#make && make install
三.挂載NTFS檔案系統
mount -t ntfs-3g /dev/sda1 /mnt/windows