How can I solve the problem that fsck cannot be mounted on a debian hard disk?

Source: Internet
Author: User
Solution to the problem that the debian hard disk cannot be mounted to fsck-Debian technology-For details, see below. My machine is a dual-system, a WINDOWS debian. Because debian is entered by default, the default debian startup interface is accidentally entered many times, so several times, I have to press and hold the "shutdown" button of the machine and forcibly close it when debian is started.

Finally, the following hard drive failure error occurs:

/Dev/sda7: unexpected Inconsistency run fsck manually

Fsck died with exit status 4

* An automatic file system check (fsck) of the root filesystem failed.
A manual fsck must be already med, then the system restarted.

Then, you can only enter the single-user Diagnosis Mode.

After logging in with root.

1. Enter the following command on the command line interface: fsck. ext3-y/dev/sda7

The disk will be repaired in lost + find.

2. Click "y"

3. restart the system.
Related Article

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.