Visit Our UNIX and Linux User Community


Linux not booting when keyboard is unplugged

 
Thread Tools Search this Thread
Special Forums Hardware Linux not booting when keyboard is unplugged
# 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.
This User Gave Thanks to agentrnge For This Post:
# 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
This User Gave Thanks to baris35 For This Post:
# 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. Smilie
This User Gave Thanks to Corona688 For This Post:

Previous Thread | Next Thread
Test Your Knowledge in Computers #830
Difficulty: Medium
JSON-RPC is a remote procedure call (RPC) protocol built on JSON, as a replacement for XML-RPC or SOAP.
True or False?

9 More Discussions You Might Find Interesting

1. Debian

Linux booting options

Here is my question, a few years back I was sitting in an airplane and saw the movie display for all the passengers in the back of all the seats boot up. You could see the all too familiar boot-up-scrolling text that we are all used to with Linux. But probably only a few other folks on the plane... (2 Replies)
Discussion started by: caleb8
2 Replies

2. Filesystems, Disks and Memory

Problem booting a linux (RAID5)

Hello, we have a problem with our system, a machine with a RAID5: - We can boot the system from CD only, if we try to boot from hard-disk the GRUB seems to be "freezed". What is the difference, why we can boot from CD if something is wrong? - Allways we retreive an error like: "raid array is... (6 Replies)
Discussion started by: aristegui
6 Replies

3. Ubuntu

Problem while booting linux

Hi all, We are using linux Redhat 9. While booting the server, it says /proc not mounted and it says "Segmentation fault" and doesn't continue with booting. Basically, it started while we inserted a pen drive and removed it without mounting and un mounting it. After removing the pen drive &... (1 Reply)
Discussion started by: mjdarm
1 Replies

4. Linux

Changing default keyboard layout in Linux

Hi I have Fedora linux with XFCE desktop. I want to use Indic lanquage in that. I have installed unicode devnagri fonts. But I am not able to change my default keyboard layout. How can I change default keyboard layout in XFCE or through command line. Thanks NeeleshG (0 Replies)
Discussion started by: neel.gurjar
0 Replies

5. UNIX for Dummies Questions & Answers

A Big Problem in LINUX Booting

i have some problem in linux booting will u please help me the problem is i was using federo core 1 on my system everything was fine i made one entry in /etc/fstab file for accessing E drive of WINDOWS XP in that i had given file system as VFAT after rebooting system it was not... (1 Reply)
Discussion started by: great_indian
1 Replies

6. Linux

Booting Linux from an USB stick

I got Puppy linux and installed it on a usb stick. In the BIOS i selected to boot from USB-FDD but it goes to my HD and ignores the USB stick, What going on ?? (2 Replies)
Discussion started by: perleo
2 Replies

7. Solaris

Dual booting Linux and Solaris

Ok, so I'm a bit new to the whole Unix/Linux thing, but I'm no stranger to dual booting... However, the problem that I am having is that I am unable to create a dual boot with Unix (in this case I's using Sun Solaris 9.0 x86) and for linux either RH 9 or Mandrake 9.1, but for the purpose of just... (1 Reply)
Discussion started by: AndroidI6
1 Replies

8. UNIX for Dummies Questions & Answers

booting up in Redhat Linux 7.1

When I created the redhat installation, I configured it to boot directly into GNOME, but now I want it to boot into the shell login screen. How can I change that? Thanks. (1 Reply)
Discussion started by: dangral
1 Replies

9. UNIX for Dummies Questions & Answers

Linux 7.2, Keyboard Problem!

I recently tried to install Linux 7.2 on my home PC (Compaq), and it did not recognise my keyboard. I could not proceed with the installation as I could not type anything. I installed 6.2 and it worked fine???????????. I was wondering if anybody has encountered this problem (very frustrating). ... (4 Replies)
Discussion started by: camerja1
4 Replies

Featured Tech Videos