我最近在我的计算机上升级到了 Ubuntu 20.04,一切都很好。但是在打开 Windows(不是第一次)并切换回 Ubuntu 后,它启动了 fsck,在 32% 时进入紧急模式,即使按下Ctrl+后它也会回到紧急模式,D如下所示:
/dev/sda4: recovering journal
/dev/sda4: clean, 521649/2886128 files, 5537425/11553792 blocks
You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or "exit to boot into default mode.
Press Enter for maintenance
(or press Control-D to continue):
Reloading system manager configuration
Starting default target
You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or "exit to boot into default mode.
Press Enter for maintenance
Reloading system manager configuration
Starting default target
You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or "exit to boot into default mode.
Press Enter for maintenance
答案1
让我们手动检查您的文件系统...
- 以“试用 Ubuntu”模式启动 Ubuntu Live DVD/USB
terminal
按Ctrl+ Alt+打开窗口T- 类型
sudo fdisk -l
- 识别“Linux 文件系统”的 /dev/sdXX 设备名称
- 输入
sudo fsck -f /dev/sda4
,替换sdXX
为您之前找到的数字 fsck
如果有错误则重复命令- 类型
reboot
答案2
您还可以编辑 /etc/fstab 并使用禁止自动选择而不是默认值. 这将禁用未连接磁盘的自动挂载