Ubuntu双系统无法挂载Windows10硬盘的解决方法

我的电脑是在Windows 10下安装的Ubuntu 16.04双系统,今天进入Ubuntu系统访问Windows 10 磁盘,出现如下错误:

1
2
3
4
5
6
Error mounting /dev/sda1 at /media/linuxidc/WIN7: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda1" "/media/linuxidc/WIN7"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda1': 不允许的操作
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.

Read More

Ubuntu备份系统

Deja-Dup是Ubuntu系统上自带的一款备份工具,而且支持增量备份。但是因为Ubuntu默认没开启root用户登录,所以备份整个系统根目录的时候,由于默认权限问题许多文件无法备份,因为没有 r 和 x 权限。

Read More

MySQL ERROR 1698 (28000) 错误

之前MySQL服务端本机上使用密码登陆root账号是没有问题的,但是今天不知道是因为动了哪里,登陆失败并有这个错误代码:

1
2
3
~$ mysql -u root -p
Enter password:
ERROR 1698 (28000): Access denied for user 'root'@'localhost'

Read More