有没有办法以这种方式设置Ubuntu:
如果我不能以rw模式挂载文件系统,那么将其挂载到同一个目录中的ro模式中。
因此,我不应该遇到系统无法挂载文件系统的通知(Skip或手动修复通知)。因此,当我启动系统时,我应该将我的ntfs分区安装在rw或ro模式下,这取决于窗口是否休眠。
fstab条目:
#/dev/sda7
UUID=D0B43178B43161E0 /media/Dane ntfs defaults,errors=remount-ro 0 1“挂载-a”结果:
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda7': 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.我有Bubuntu13.10和win8。我使用uefi安全启动。
发布于 2013-11-02 14:13:14
首先,您需要使用以下方法找到设备id:
sudo fdisk -l查找在系统中格式化为NTFS的设备id (应该类似于/dev/sda2 2)。然后创建挂载目录并挂载它。
mkdir Windows
sudo mount -o ro /dev/sdaX Windows(用设备id替换X)
发布于 2013-11-02 19:05:07
这是我的解决办法,不是最好的办法。
我只需将第二个条目添加到带有nobootwait选项的fstab中。如果第一个条目不起作用,那么第二个条目可以工作,系统不会报告任何消息。如果第一项有效,那么第二项由于第一项而无效。我们会看看它是否能正常工作。
#/dev/sda7
UUID=D0B43178B43161E0 /media/Dane ntfs defaults,nobootwait,errors=remount-ro 0 1
UUID=D0B43178B43161E0 /media/Dane ntfs suid,dev,exec,auto,nouser,async,nobootwait,ro 0 2https://askubuntu.com/questions/369984
复制相似问题