记一次Ubuntu宕机 Failure:File system check of the root filesystem failed

注意到报错信息 Failure:File system check of the root filesystem failed,联系上下文是因为服务器意外宕机导致虚拟机磁盘出了问题。所以可以通过 fsck 命令来解决,具体为 fsck 加上途中小红框标出的部分,如:fsck /dev/mappeer/slave3–vg-root,然后回车,一路输入yes或者y,等到再次出现(initramfs)字样时,按Ctrl + D 就好了。

网友评论