1、出现 the error:mount: wrong fs type, bad option, bad superblock on /dev/sdb2,missing codepage or“
local-fs-pre.target | v(various mounts and (various swap (various cryptsetup fsck services...) devices...) devices...) (various low-level (various low-level | | | services: udevd, API VFS mounts: v v v tmpfiles, random mqueue, configfs, local-fs.target swap.target cryptsetup.target seed, sysctl, ...) debugfs, ...) | | | | | \__________________|_________________ | ___________________|____________________/ \|/ v sysinit.target | ____________________________________/|\________________________________________ / | | | \ | | | | | v v | v v (various (various | (various rescue.service timers...) paths...) | sockets...) | | | | | v v v | v rescue.target timers.target paths.target | sockets.target | | | | v \_________________ | ___________________/ \|/ v basic.target | ____________________________________/| emergency.service / | | | | | | v v v v emergency.target display- (various system (various system manager.service services services) | required for | | graphical UIs) v | | multi-user.target | | | \_________________ | _________________/ \|/ v graphical.target
这是systemd启动图,当fstab文件不能正确mount时,就会进入emergecy.service模式。 找了多种方法,最后通过
systemd status boot.mount
查找到是因为
··· /dev/sda2 /boot default 1 2 ··· 中的default出现问题。把 default 去掉,系统启动正常。