Unix/Linux Go Back    


Hardware Device drivers, hardware compatibility issues, motherboards, disk drives, graphics cards and other hardware related topics.

Linux not booting when keyboard is unplugged

Hardware


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 05-03-2014   -   Original Discussion by baris35
baris35 baris35 is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 30 September 2017, 1:50 PM EDT
Posts: 122
Thanks: 54
Thanked 5 Times in 5 Posts
Linux not booting when keyboard is unplugged

Hello,
I have two linux pc towers and both works normally.
I have only one keyboard.
When i plug the keyboard into the first pc, I connect to 2nd pc remotely and send reboot command. Second pc stucks on black screen.
Could you please guide me what I should do?

Thanks in advance
Boris
Sponsored Links
    #2  
Old Unix and Linux 05-03-2014   -   Original Discussion by baris35
RudiC RudiC is offline Forum Staff  
Moderator
 
Join Date: Jul 2012
Last Activity: 19 November 2017, 9:29 AM EST
Location: Aachen, Germany
Posts: 11,625
Thanks: 320
Thanked 3,617 Times in 3,322 Posts
When does it get stuck? During the "BIOS" part of the boot, or the linux part?
Sponsored Links
    #3  
Old Unix and Linux 05-03-2014   -   Original Discussion by baris35
hicksd8 hicksd8 is offline Forum Staff  
Moderator
 
Join Date: Feb 2012
Last Activity: 19 November 2017, 12:39 PM EST
Location: Devon, UK
Posts: 1,604
Thanks: 232
Thanked 397 Times in 335 Posts
Either:

1. Look in the PC BIOS to see if there's a setting (which may allow the machine to boot without a keyboard)

or

2. Buy another keyboard.
    #4  
Old Unix and Linux 05-03-2014   -   Original Discussion by baris35
baris35 baris35 is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 30 September 2017, 1:50 PM EDT
Posts: 122
Thanks: 54
Thanked 5 Times in 5 Posts
Thanks for your suggestions,

Quote:
Originally Posted by RudiC View Post
When does it get stuck? During the "BIOS" part of the boot, or the linux part?
get stuck on bios status. Ubuntu does not come alive..


Quote:
Originally Posted by hicksd8 View Post
Either:

1. Look in the PC BIOS to see if there's a setting (which may allow the machine to boot without a keyboard)

or

2. Buy another keyboard.
I will check once again bios settings.

All the best
Boris
Sponsored Links
    #5  
Old Unix and Linux 10-24-2014   -   Original Discussion by baris35
agentrnge agentrnge is offline
Registered User
 
Join Date: Jan 2009
Last Activity: 10 October 2016, 11:24 AM EDT
Location: New Jersey, USA
Posts: 21
Thanks: 4
Thanked 4 Times in 3 Posts
There is also typically a BIOS option for "Press F1 to continue on error" Something like that. Disable that function, so that its not sitting there waiting for you to hilariously press F1 (on the non-existant keybaord) to ack the error that there is no keyboard. That's what I've always done on any headless servers.
The Following User Says Thank You to agentrnge For This Useful Post:
baris35 (10-24-2014)
Sponsored Links
    #6  
Old Unix and Linux 10-24-2014   -   Original Discussion by baris35
baris35 baris35 is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 30 September 2017, 1:50 PM EDT
Posts: 122
Thanks: 54
Thanked 5 Times in 5 Posts
[SORTED OUT] - many thanks

Quote:
Originally Posted by agentrnge View Post
There is also typically a BIOS option for "Press F1 to continue on error" Something like that. Disable that function, so that its not sitting there waiting for you to hilariously press F1 (on the non-existant keybaord) to ack the error that there is no keyboard. That's what I've always done on any headless servers.
Thanks,
I got rid of similar problems as you have leaded.
I made below changes on ubuntu and it works when keyboard is not plugged or when ubuntu is not become alive after electricity interruptions:


Code:
Run Gedit as root (gksu gedit).
  Open*/etc/default/grub*and locate the following lines:
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
  Change the values as follows:
GRUB_HIDDEN_TIMEOUT=10
GRUB_HIDDEN_TIMEOUT_QUIET=false

Also add this line:
GRUB_RECORDFAIL_TIMEOUT=10

  Save and run*sudo update-grub*from your terminal and reboot.

Regards
Boris
The Following User Says Thank You to baris35 For This Useful Post:
Corona688 (10-24-2014)
Sponsored Links
    #7  
Old Unix and Linux 10-24-2014   -   Original Discussion by baris35
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 17 November 2017, 9:25 PM EST
Location: Saskatchewan
Posts: 22,512
Thanks: 1,151
Thanked 4,273 Times in 3,946 Posts
Beware that electricity interruptions are liable to reset your BIOS settings to default, after which it will "forget" it was supposed to do things like boot without a keyboard, or turn on after power loss. Consumer grade routers are also liable to forget their settings and go stupid. Very irritating.

If you are not dealing with server-grade hardware, the best solution is a sturdy UPS which is regularly tested. (If you are dealing with server-grade hardware, the best solution is still a sturdy UPS which is regularly tested.)

Or, if your needs are small, there was a late-90's-era PC which had actual DIP switches for "resume after power loss". It'll never forget. Linux
The Following User Says Thank You to Corona688 For This Useful Post:
baris35 (10-27-2014)
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Linux booting options caleb8 Debian 2 01-18-2013 06:05 PM
Problem while booting linux mjdarm Ubuntu 1 12-08-2008 09:05 AM
Booting Linux from an USB stick perleo Linux 2 12-01-2003 02:13 PM
booting up in Redhat Linux 7.1 dangral UNIX for Dummies Questions & Answers 1 10-29-2002 05:38 PM
Linux 7.2, Keyboard Problem! camerja1 UNIX for Dummies Questions & Answers 4 05-12-2002 06:13 PM



All times are GMT -4. The time now is 03:40 AM.