2009/3/20 hadi motamedi <motamedi24@gmail.com>:
"We have one HP t5725 server with Debian Linux 3.1 installed but the
operator is getting the following message on the console port when trying to
boot the server :
"Unexpected inconsistency, run fsck manually . give root password for
maintenance or type ctrl-D to continue"
Unfortunately, he has forgottten for the root password and pressing ctrl-D
will just reboot the server to the above message again. Please let me know
how we can overcome.
One way this can be done is that you can boot from a Live CD, mount
the root partition and then edit the /etc/shadow. Remove only the
password hash field for root. Then reboot the server directly and
enter root without password.