LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 05-01-2010, 03:48 PM   #1
linuxn
LQ Newbie
 
Registered: Apr 2010
Posts: 5

Rep: Reputation: 0
OS cannot be loaded without keyboard because of grub


Hello to everyone!

I was working on a linux server before few weeks. There was a grub/keyboard issue. If no keyboard is attached (ps port) the grub isn't loading the operating system. If the keyboard is attached the grub is loading the operating system by default without any keyboard interaction.

The difference is only that there is a keyboard attached. Thats all.

I was searching on the web and one thing came along: "turn on/off 'stop on errors' feature in your bios.". Maybe its this, but tonight I'm not able to check if its this becuase the server is in a remote location.

However I would like to hear what you think of this problem.

Have a good time!
 
Old 05-01-2010, 06:50 PM   #2
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Rep: Reputation: 102Reputation: 102
Are you sure you're even reaching grub? As mentioned, many bioses have various options for halt on errors. Halt on "all" means it will stop the POST if there's no keyboard.
 
Old 05-01-2010, 07:25 PM   #3
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 294

Rep: Reputation: 61
Try adding apm=off to the kernel command line in grub.conf.
 
Old 05-01-2010, 07:35 PM   #4
jstephens84
Senior Member
 
Registered: Sep 2004
Distribution: (Home)Opensolaris, Ubuntu, CentOS, (Work - AIX, HP-UX, Red Hat)
Posts: 2,056

Rep: Reputation: 94
I have to agree I would check to make sure you are even reaching grub. I have never seen this and I run about 24 red hat servers and none of them have a keyboard attached to them. If you are getting this to grub I would do what the other person suggested but use apci=off as I believe apm is older and pretty much no longer used.
 
Old 05-02-2010, 02:47 AM   #5
linuxn
LQ Newbie
 
Registered: Apr 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you all for your responses.

@cantab,
Yes. I'm reaching the grub. My customized grub menu shows and it waits for my choice while waiting few seconds for the default option selected. If there's a keyboard attached the default choice is selected. If no keyboard is attached then nothing happens - grub just doesn't load the default option.

@fpmurphy,
I think I tried this before but I'm not sure. I'll post my grub.conf in this response.

@jstephens84,
As I said I reach the grub. I'll try these days with the option you provided and the one from fpmurphy. If its working with one of these options I'll immediately report it here. I'm not using redhat but fedora if there's a difference.

Here is my grub.conf file:

Quote:
default=0
timeout=1
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
password --md5 **********************************

title Server Operating System
root (hd0,0)
kernel /boot/vmlinuz-2.6.33.1.1 ro selinux=0 rhgb quiet
initrd /boot/initrd-2.6.33.1.1.img
Thats all. Have a good day!
 
  


Reply

Tags
freeze, grub, keyboard, linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard not working until Linux is loaded ANO1453 Linux - General 2 05-12-2009 02:50 PM
Loaded Grub, now my slackware boot is messed up Romanus81 Slackware 4 03-13-2008 03:06 PM
GRUB Error 15, Linux already loaded rick_amd Linux - Newbie 7 03-02-2008 03:06 AM
Grub not loaded after 7.10 installation on separate hd trengag Linux - Newbie 1 12-31-2007 05:20 AM
Booting Grub once kernel is loaded. American Psycho Linux - Newbie 2 04-03-2004 12:56 AM


All times are GMT -5. The time now is 05:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration