CentOS boot hint unexpected inconsistency; RUN fsck Manually Workaround

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.