Skip file system check with no root password

I’ve seen number of posts configuring forced file system check while re-booting from improper shutdown/power off. Some days back we were in a situation where the system re-booted because of power failure and with the file system check force trying to run fsck. But because of “some” problem the system could not finish it and asking to run the fsck command manually prompting root login OR Ctrl+D will reboot again.

fsck

Also unfortunately we lost the root password of the system and editing the kernel with “single” user mode didn’t help as we hit with the same fsck mentioned above.

A: At the kernel select screen press “e” for edit and after rhgb quiet add “fastboot single” in the end -> press Enter -> press “b” for boot which skips the forced file system check and comes to the console without asking root password.

We did reset the root password and booted again without any options – hit with the same manual fsck but now we logged in as root and ran it manually which solved both issues.

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s