OS/linux

[Linux] VirtualBox에서 ubuntu 실행 시 /dev/sda1 contains a file system with errors, check forced.

MOMOBOB 2021. 12. 1. 20:16
반응형

Error

 

VirtualBox에서 VM이 비정상 종료되고, 다시 실행해보니 아래와 같은 화면이 나왔음..

 

/dev/sda1 contains a file system with errors, check forced.
Inodes that were part of a corrupted orphan linked list found.

/dev/sda1: UNEXPECTED INCONSISTENCY: RUN fsck MANUALLY.
         (i.e., without -a or -p options)
fsck exited with status code 4
The root filesystem on /dev/sda1 requires a manual fsck

BusyBox v1.22.1 (Ubuntu 1:1.22.0-19ubuntuu2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)_

 

반응형

 

 


Solution

 

 

리눅스(유닉스 계열)에서는 파일시스템의 무결성을 검사하기 위한 도구인 fsck가 있음.

 

아래 명령을 통하여 손상된 파일시스템을 복구하면됨.

 

fsck -f /dev/sda1 명령어 입력후 재시작

 

 


Thank you!

 

 

반응형