1, problem description
Due to memory contact problems, a PC starts to have a dead loop problem, after the solution, the above installed CentOS in the boot process reported the following error: unexpected inconsistency; RUN fsck Manually
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6F/46/wKiom1WWMtixz3C0AAwD7v1oXv8438.jpg "title=" 111. JPG "alt=" wkiom1wwmtixz3c0aawd7v1oxv8438.jpg "/>
2. Problem solving
Follow the system prompts, enter the root user's password and enter the command line
(1) Enter the command to find out how many partitions the root is located in:
Mount | grep "On/"
Find root partition According to the result, mine is/dev/sda2
Note: The root partition is just one, and sometimes we have multiple partitions on the Linux system, such as home in a separate partition, to be repaired
(2) Then use the command fsck to repair
Fsck-y/dev/xxx
Note: The-y option specifies that each file is automatically entered yes,xxx indicates the path of the root partition
I have a/dev/mapper/vg_zxcs02-lv_root above me.
(3) Reboot restart OK
This article is from the "Flying Pig" blog, please be sure to keep this source http://thinkpig007.blog.51cto.com/971471/1670568
CentOS boot hint unexpected inconsistency; RUN fsck Manually Workaround