Centos7+Win10双系统无法启动提示welcome to emergency mode!:after logging in,type "journalctl -xb” to view

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/van_brilliant/article/details/79937735

前言

  用了一个月的linux后昨天为了和朋友打lol第一次进windows,今天早上再次打开linux就无法进入图形界面了。

  开机提示大概是这样的:welcome to emergency mode!:after logging in ,type “journalctl -xb” to view system logs,"systemctl reboot” to reboot ,“systemctl default” to try again to boot into default mode. give root password for maintenance......。也看不太懂journalctl -xb的日志。

  首先想到会不会是引导的问题,grub操作了之后不起作用,再想想也应该和引导无关。于是再次用journalctl -xb查看日志,发现了unit /mnt/f mount entered failed state这一行,于是猜想和挂载有关。于是使用umount命令尝试把这个挂载点也就是windows下的f盘卸载掉,但是卸载失败。最后想到我的f盘是开机自动挂载的,取消自动挂载之后成功进入图形界面。

解决方案

  1.  vim /etc/fstab 打开开机自动挂载配置文件。
  2. 删除或注释自动挂载的windows下的磁盘。

问题原因

  未知。不清楚为什么进了windows后再进入linux就无法自动挂载了。

猜你喜欢

转载自blog.csdn.net/van_brilliant/article/details/79937735