Ubuntu系统下无法访问Windows磁盘分区问题,看了系统日志发现是挂载磁盘出问题了,解决方法是使用ntfs来修复后重新挂载。
1.安装ntfs
sudo apt-get install ntfs-3g
2.修复挂载
首先查看不能访问的磁盘的分区号:
一般点击对应磁盘会提示是哪一个分区, 比如我的问题出现在 sda6,当然也可以用fdisk -l 查看磁盘信息.
修复命令为:
sudo ntfsfix /dev/sdc3
Mounting volume... The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
FAILED
Attempting to correct errors...
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sdc3 was processed successfully.