Home Man
Search
Today's Posts
Register

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

Linux not booting when keyboard is unplugged

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 05-03-2014
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
# 2  
Old 05-03-2014
When does it get stuck? During the "BIOS" part of the boot, or the linux part?
# 3  
Old 05-03-2014
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 05-03-2014
Thanks for your suggestions,

Quote:
Originally Posted by RudiC
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
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
# 5  
Old 10-24-2014
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)
# 6  
Old 10-24-2014
[SORTED OUT] - many thanks

Quote:
Originally Posted by agentrnge
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)
# 7  
Old 10-24-2014
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.
The Following User Says Thank You to Corona688 For This Useful Post:
baris35 (10-27-2014)
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 05:05 PM
Problem booting a linux (RAID5) aristegui Filesystems, Disks and Memory 6 12-31-2008 01:43 AM
Problem while booting linux mjdarm Ubuntu 1 12-08-2008 08:05 AM
Changing default keyboard layout in Linux neel.gurjar Linux 0 07-17-2007 02:47 AM
A Big Problem in LINUX Booting great_indian UNIX for Dummies Questions & Answers 1 09-14-2005 08:51 AM
Booting Linux from an USB stick perleo Linux 2 12-01-2003 01:13 PM
Dual booting Linux and Solaris AndroidI6 Solaris 1 09-29-2003 03:58 PM
booting up in Redhat Linux 7.1 dangral UNIX for Dummies Questions & Answers 1 10-29-2002 04:38 PM
Linux 7.2, Keyboard Problem! camerja1 UNIX for Dummies Questions & Answers 4 05-12-2002 05:13 PM


All times are GMT -4. The time now is 01:15 AM.

Unix & Linux Forums Content Copyright1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password