來自那些年我踩過的坑
首先安裝了ntfs-3g碧浊,如果沒有安裝是識別不了的
# 首先判斷自己有沒有安裝
rpm -qa|grep ntfs
#安裝ntfs全家桶赶么,這里裝了全家桶懦胞,下面的就不用重復安裝了
yum install -y ntfs*
報錯提示:
The disk contains an unclean file system (0, 0).
Falling back to read-only mount because the NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting.)
我出現(xiàn)這個情況的原因是:雙系統(tǒng)使用中替久,因為window與linux交替使用就會產(chǎn)生一些系統(tǒng)使用殘留。
解決方案就是修復硬盤
# 首先判斷自己有沒有安裝
rpm -qa|grep ntfsprogs
# 如果沒有安裝則安裝躏尉,先搜索一下yum源蚯根,查不到就換源
yum list |grep ntfsprogs
yum install -y ntfsprogs
# 輸入要修復的ntfs硬盤,Xx是自己的盤符
ntfsfix /dev/sdXx
# 重新掛載over
umount /dev/sdXx
mount /dev/sdXx /XX/xx