/dev/sda1 contains a file system with errors, check forced ubuntu异常关机后无法正常重启

sancaiodm Shell/Ubuntu系统 2022-03-30 1532 0

无论是VM或是Vbox内的虚拟ubuntu系统经常会遇到,异常关机或是断电后无法正常重启问题,博客记忆中遇到过几次了,具体错误如下两图,都是自己遇到时拍下来的:
ubuntu无法正常启动.png

错误信息:

/dev/sda1 contains a file system with errors, check forced

/dev/sdal:

Inodes that were: part of a corrupted orphan linked list found

/dev/sdal: UNEXPECTED INCONSISTENCY; RUN fSCK MANUALLY.

(1.e。without -2. 0r -p options)

fsck exited with status code d

The root filesystem on: idev/sdal recuires a manual fsck

BusyB0x 91.27.2 (ubuntu 1:1.27.2-2ubuntu3.3) built-in she11 (ash)

Ente  "help  for a list of built-in commands.

(initranfs) fsck  -y /dev/sda1

ubuntu虚拟机无法正常启动1.png


解决方案:

   看自己的报错误信息,是哪个磁盘异常,然后执行 fsck  -y命令修复相应磁盘,修复磁盘后执行reboot重启ubuntu系统即可,如我的第一图中使用命令是:

fsck  -y /dev/sda1

reboot

评论