LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 04-09-2012, 09:00 AM   #1
santosh_koshy
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Rep: Reputation: Disabled
GRUB freezes after timeout


Dear All,

I have setup my linux Ubuntu system to automatically boot. Off late, I have detected a small problem that I am unable to understand. My GRUB is set to boot into the default OS after a timeout of 10 secs. Yet, during the reboot, the system stalls at GRUB expecting a user to press the return key, even after the countdown of 10 secs has completed. Any ideas why such behavior is persisting??

Regds
SAM
 
Old 04-09-2012, 12:53 PM   #2
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Stretch
Posts: 612

Rep: Reputation: 125Reputation: 125
Does the selected menuentry boot after you press the Enter key to boot? What version of Ubuntu?
 
Old 04-10-2012, 01:34 AM   #3
santosh_koshy
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
It does boot after keying in the return key. I have deployed the system in external environments where it is expected to function continuously, untethered. I am using Ubuntu 9.10.
 
Old 04-10-2012, 02:11 AM   #4
yoK0
LQ Newbie
 
Registered: Apr 2012
Distribution: Slackware, CentOS
Posts: 29

Rep: Reputation: 0
put grub.conf in here, maybe it will help find a solution for you
 
Old 04-11-2012, 07:33 PM   #5
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Stretch
Posts: 612

Rep: Reputation: 125Reputation: 125
As far as I recall, Ubuntu Karmic (9.10) installed GRUB 1.97~Beta4 by default. The grub.conf file is used only by GRUB-legacy (<=0.97).

Santosh, please try this. In /boot/grub there is a grubenv file. Delete it:
Code:
sudo rm /boot/grub/grubenv
If there was a previous boot failure prior to this problem, the recordfail var is set in the grubenv file. The recordfail is an Ubuntu mod to GRUB. On every boot, it looks at the recordfail var, and if its set, it disables automatic boot from the GRUB menu.

I know no other way of unsetting the recordfail var. On the next boot, a new grubenv file will be generated without the recordfail env set.
 
  


Reply



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
Fedora, grub, and the 0 second timeout scottro11 Fedora 2 11-28-2009 02:31 PM
grub timeout ilm0nty Linux - Software 9 12-14-2008 04:14 AM
GRUB no timeout icmp_request Debian 4 07-01-2007 07:00 PM
GRUB does not timeout arnuld Linux - General 4 06-11-2007 12:13 AM
GRUB:is instant timeout possible? unholy Linux - General 2 10-08-2003 06:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:48 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
Open Source Consulting | Domain Registration