我的 Ubuntu 系统有点问题。
为硬盘选择开机启动时,无法挂载分区。发生的错误如下:
dmesg | tail
[ 470.027891] EXT4-fs (sda2): Unrecognized mount option "x-gvfs-show" or missing value
Run Code Online (Sandbox Code Playgroud)
对应的/etc/fstab条目是:
/dev/disk/by-uuid/d0e8607e-9067-49c9-929e-83ec7f70cea1 /mnt/d0e8607e-9067-49c9-929e-83ec7f70cea1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
Run Code Online (Sandbox Code Playgroud)
同样在 GUI 中:


Fab*_*bby 18
精简版:
您没有按照设计使用参数。使用comment=x-gvfs-show代替x-gvfs-show...
长版:
不要使用GUI,但编辑您fstab手动按Ctrl+ Alt+T去一个终端并键入:
sudo nano /etc/fstab
Run Code Online (Sandbox Code Playgroud)找到显示的违规行x-gvfs-show并comment=在其前面键入
重新加载中的所有条目fstab:
mount -a
Run Code Online (Sandbox Code Playgroud)(或者,如果您刚从 Windows 迁移过来:不要键入mount -a,为了旧时代的缘故,只需重新启动) ;-)