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
(?? Control-D???):
我是自动挂载的那个fstab文件有问题,该回原来的就行了
# # /etc/fstab # Created by anaconda on Fri Dec 3 01:19:35 2021 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # /dev/mapper/centos-root / xfs defaults 0 0 UUID=ccc55ae9-8f57-4651-b529-81d0affd0512 /boot xfs defaults 0 0 /dev/mapper/centos-swap swap swap defaults 0 0 /dev/sdb1 /SATA xfs defaults,uquota 0 0
然后挂载镜像
# # /etc/fstab # Created by anaconda on Fri Dec 3 01:19:35 2021 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # /dev/mapper/centos-root / xfs defaults 0 0 UUID=ccc55ae9-8f57-4651-b529-81d0affd0512 /boot xfs defaults 0 0 /dev/mapper/centos-swap swap swap defaults 0 0 /dev/sdb1 /SATA xfs defaults,uquota 0 0 /dev/cdrom /media/cdrom iso9660 defaults 0 0