CentOS提示::unknown filesystem type 'ntfs'.解決

在將硬盤插到Linux系統上,打開硬盤時一直提示:unknown filesystem type 'ntfs'.在嘗試網上的方法也遇到了一些問題。get

下面按照遇到的問題,按照正確的方式注意操做從而避免問題的出現。源碼

1,首先安裝gcc,這個主要是用於第二步中咱們下載的ntfs-3g中下載的源碼提供編輯環境。gcc

yum -y install gccfile

2,接着是安裝ntfs-3g。下載

 

 
wget http://tuxera.com/opensource/ntfs-3g_ntfsprogs-2013.1.13.tgz
tar zxvf ntfs-3g_ntfsprogs-2013.1.13.tgz 

 

 

cd ntfs-3g_ntfsprogs-2013.1.13
./configure
make
make install

3,接着就是掛接硬盤了。
首先建立掛在的位置:
mkdir /mnt/window
ntfs-3g掛在硬盤(假設須要掛載的硬盤是/dev/sdb1)
mount -t ntfs-3g /dev/sdb1 /mnt/window
取消掛載命令(取消/dev/sdb1的硬盤分區的掛載)
umount /dev/sdb1gc