Live2d Test Env

关于ubuntu挂载ntfs无法进行读写的解决方法

查看挂载信息

df  -h

参看要挂载磁盘UUID

sudo blkid

编辑/etc/fstab文件:

sudo vim /etc/fstab

在最后一行添加如下一行信息:

UUID=A248CF4648CF17C5   /home/mikey/MIKEY  ntfs    defaults    0   0
#要挂载的磁盘UUID                挂载的目录                 类型  

1.将已经挂载的磁盘进行修复

sudo ntfsfix 分区名称
例如:
sudo ntfsfix /dev/sda2

出现如下则成功

Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sda2 was processed successfully.

2.先卸载以经挂载的磁盘

umount /home/mikey/Mikey

3.如果遇到错误

Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.

3.再从新进行挂载

mount -o rw /dev/sda2 /home/mikey/Mikey

4.成功

 

posted @ 2019-01-12 22:06  麦奇  阅读(8087)  评论(0编辑  收藏  举报