Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Scientific Linux 6.1 system, which on a Supermicro server which supports IPMI. It's also running with Upstart, which affects how serial consoles work.

My system has a serious problem which requires that I log in to Single User mode to perform some maintenance. I am standing in front of the KVM attached to the server (the VGA console), and I can see all the BIOS and boot messages. The boot sequence goes through the motions, then tells me there is a corrupt filesystem and that's it. I am never presented with a prompt to log into the box, and the screen doesn't say anything about maintenance mode.

I finally connect to the host using the serial console, and I see the following prompt:

* An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):
  1. Why does this prompt for Single User mode appear on the Serial Console only?
  2. More importantly, can I get this to appear on both the Serial Console and on the attached Keyboard/Video/Monitor?

My Kernel commandline is this:

kernel /boot/vmlinuz-2.6.32-131.17.1.el6.x86_64 ro root=UUID=blah-blah-blah  KEYBOARDTYPE=pc KEYTABLE=us console=tty0 crashkernel=auto console=ttyS2,115200n8r
share|improve this question
    
Could you really call it single user mode if you could login from multiple consoles/locations? BTW if you are having problems logging in, then simply add init=/bin/bash or something similar to the grub command line. –  Zoredache Dec 6 '11 at 0:30

1 Answer 1

up vote 6 down vote accepted

Because init hasnt spawned off multiple TTYs yet (getty, mgetty, etc), so you only have the primary TTY. The primary TTY is the last console= parameter on the kernel command line. All the console parameters get the output, but only the last one will be able to act as input.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.