当我尝试在 Windows 上访问硬盘时出现以下错误:
Error mounting /dev/sda2 at /media/debo/2290657790655279: Command-line `mount -t
"ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177"
"/dev/sda2" "/media/debo/2290657790655279"' exited with non-zero exit status 14:
Windows is hibernated, refused to mount.
Failed to mount '/dev/sda2': Operation not permitted
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.
请问有人能帮我吗?
答案1
问题正如它所说的。如果您的 Windows 未正确关闭,Ubuntu 将无法以读写模式安装它,因为写入磁盘可能会损坏它。但是,您可以使用以下命令以只读模式安装它:
mount -o ro /dev/sda2 /media/debo/2290657790655279
假设您想将其挂载在 /media/debo/2290657790655279,否则您可以使用任何其他空目录作为挂载点。例如,在您的主目录中挂载在“newfolder”中:
mount -o ro /dev/sda2 ~/newfolder