Fsck fixes the ext3 file system (which is used for problems such as diewithexitstatus caused by incorrect linux system time and file system information)
Source: Internet
Author: User
Sometimes we use a virtual machine to install linux, but the system time of our developers may be adjusted due to some special requirements (for example, to keep some special software out of date and lock time ), in this way, the linux system has been unavailable for a long time. if the time is incorrect, the ext file system may sometimes be installed with linux on a virtual machine, but we are the developer, the system time may have been adjusted due to some special requirements (for example, to keep some special software out of date and lock time required). In this way, the linux system time is too long. if the time is incorrect, this will lead to information inaccuracy in the ext file system and errors during startup. Press enter for maintenance (or type Control-D to continue): errors such as die with exit status xx are caused by system time.
Example:
Dev/sda1: problem in fsck die with exit status 4
Failed (code 4)
An automatic file system check (fsck) of the root filesystem failed
A maintenance will now be started.
After using Ming system maintenance, press control-D to terminater the maintenance shell and restart the system.
Give root password for maintenance (or type control-D to continue)
The system prompts you to use root for maintenance or ctrl-D restart. the same error message still appears after Ctrl-D restart.
The solution is as follows:
Enter the root password.
Run fsck-y/dev/sda1
This process may be long. Different systems, or you need to wait patiently. After the repair, reboot again
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.