2009/3/20 hadi motamedi <motamed...@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.

-- 
Regards,
Sudev Barar
Read http://blog.sudev.in for topics ranging from here to there.

PS: I know most of people do not follow email niceties (mostly they
are not aware) but if you follow bottom post/in-line post style of
email conversations it becomes a whole lot easier to carry on
meaningful dialogue and you can snip out what is not meaningful too.
Most people just hit reply button and top post leaving prior message
appended uselessly at bottom. See if you can adopt this style and
persuade others. In case you are already doing this ..... great,
spread the message.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to