I have a RHEL 6.1 server that had its power yanked yesterday, and I've been trying since then to get to a command line to run fsck. (I have no experience with any rh linux...) It's a Dell PowerEdge 2900 if that makes any difference.
I boot into single-user mode by stopping the countdown on the grub screen and editing the boot command to add an " 1" to the end. It starts a couple of services, then runs fsck on the disk. One partition fails, and it tells me I need to run fsck manually, and to enter the root password.
But I can't enter the password because I can't type anything in!!!
Here's what it looks like as it runs fsck:
Code:
Checking filesystems
/dev/sda3: clean, ...
/dev/sda9: clean, ...
/dev/sda1: clean, ...
/dev/sda6: clean, ...
/dev/sda7: clean, ...
/dev/sda5 contains a file system with errors, check forced.
Extended attribute block 9732610 has reference count 1025, should be 1017.
/dev/sda5: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
/dev/sda8: clean, ...
[FAILED]
*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
*** Warning SELinux is active
*** Disabling security enforcement for system recovery.
*** Run 'setenforce 1' to reenable.
Give root password for maintenance
(or type Control-D to continue):
If I try to enter a password, or control-D, as I type, each keystroke I hit generates an error and a repeat of the password prompt. So if I type "foobar" which has 6 characters, it looks like:
Code:
Checking filesystems
/dev/sda3: clean, ...
/dev/sda9: clean, ...
/dev/sda1: clean, ...
/dev/sda6: clean, ...
/dev/sda7: clean, ...
/dev/sda5 contains a file system with errors, check forced.
Extended attribute block 9732610 has reference count 1025, should be 1017.
/dev/sda5: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
/dev/sda8: clean, ...
[FAILED]
*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
*** Warning SELinux is active
*** Disabling security enforcement for system recovery.
*** Run 'setenforce 1' to reenable.
Give root password for maintenance
(or type Control-D to continue):
Login incorrect.
Give root password for maintenance
(or type Control-D to continue):
Login incorrect.
Give root password for maintenance
(or type Control-D to continue):
Login incorrect.
Give root password for maintenance
(or type Control-D to continue):
Login incorrect.
Give root password for maintenance
(or type Control-D to continue):
Login incorrect.
Give root password for maintenance
(or type Control-D to continue):
Login incorrect.
Give root password for maintenance
(or type Control-D to continue):
and each of those 3-lines of error-then-prompt gets generated as I type each of the letters of "foobar"
I have tried ESC, ctrl-D, ctrl-C -- actually, ctrl-everything-in-the-alphabet, every character in upper and lower case, every number and punctuation key with and without shift. In every case each individual character generates 3 lines of error and re-prompt.
The only keystroke which causes anything different to happen is ctrl-alt-del which shuts down and reboots the machine.
I feel like a total dunce -- I mean "Give root password..." followed by a flashing cursor means that I'm supposed to put my fingers on the keys on the keyboard and push down, right? One key after another? What am I missing?