admin管理员组

文章数量:1577818

第一次遇到系统这样子抽风,可能是因为我的chmore浏览器没有关掉就直接关机了(可是我之前也经常遇到各种需要长按电源键来关机,也经常很多程序都没关掉就关机.不知道ubuntu的关机机制是不是有问题,水平有限,没办法搞清楚).

具体原因我也没有搞清楚,只是暂时自己只有一个方法.

在那个emergency mode下,按回车,进入命令行模式.输入:

$sudo vim /etc/fstab

这是我的fstab文件的内容,其中要关注的是最后那个pass项的值,/home在这个项的值是2,即在挂载的过程中次于值为1的分区检查.把2改成0,这个分区在启动时不检查.

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p5 during installation
UUID=9cb822d3-b41a-4e9c-ad41-71a743b17bf7 /               ext4    errors=remount-ro 0       1
# /boot was on /dev/nvme0n1p8 during installation
UUID=90dba3ea-de9d-494e-83b9-877

本文标签: 解决方法非正常双系统EmergencyMode