May I use fsck command in CentOS6.9livecd to fix CentOS6.6's filesystem?

General support questions
zara160
Posts: 1
Joined: 2017/08/12 14:39:58

May I use fsck command in CentOS6.9livecd to fix CentOS6.6's filesystem?

Postby zara160 » 2017/08/12 15:14:23

Dear Mr,


My client's computer failed to boot with log "unexpected inconsistency; run fsck manually",but my client is not familar with linux ,he forgot root's password and cannot enter Single User Mode.
The only way I know is boot by livecd iso,but i can't find CentOS6.6livecd version,may I use Centos6.5livecd or Centos6.7livecd etc. to boot and fsck the harddriver?

Or is there some other convenience way to fix this situation ?


Really need your help。
thanks very much.

User avatar
TrevorH
Forum Moderator
Posts: 20566
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: May I use fsck command in CentOS6.9livecd to fix CentOS6.6's filesystem?

Postby TrevorH » 2017/08/12 15:18:37

Using 6.9 should be fine. If you don't already have it then grabbing the 6.9 minimal iso and using the "rescue" option off the initial "Troubleshooting" menu will be the smallest download but if you already have the live media then that should work too.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke