---
title: "FC10断电无法启动之故障恢复"
author: "^=^"
date: "2012-04-12T08:50:00Z"
tags: []
slug: "fc10"
draft: false
lastmod: "2012-04-17T10:12:26Z"
id: 1488167
url: "https://fork-exec.iteye.com/blog/1488167"
---

公司的一台FC10在断电后无法启动，系统停在FC那个滚动条的最后（全白状态）。

按Delete键进入交互模式，看到系统提示输入root密码进入维护或是或者Ctrl + D重启。向上翻页看到提示/dev/VolGroup00/LogVol00里有文件错误。

我们的系统是做了LVM的，于是输入root密码，进入维护模式：

（Repair filesystem）#

Linux下有一个命令fsck，顾名思义就是file system check，和Windows下的chkdsk（Check disck）是类似的功能。

输入fsck -TVy /dev/VolGroup00/LogVol00，之后就是漫长的等待。其中y选项比较关键，这样fsck检测到文件错误需要修复时，就不会询问yes/no了，直接修复。

对此选项man里是这样解释的：

-y For some filesystem-specific checkers, the -y option will cause the fs-specific fsck to always attempt  
to fix any detected filesystem corruption automatically. Sometimes an expert may be able to do better  
driving the fsck manually. Note that not all filesystem-specific checkers implement this option. In  
particular fsck.minix(8) and fsck.cramfs(8) does not support the -y option as of this writing.

修复完成后提示重启系统，输入reboot命令。

终于又见到可爱的Linux login提示了![可怜](http://static.blog.csdn.net/xheditor/xheditor_emot/default/cute.gif)