Grub loose timer

Post Reply
fanf
Posts: 10
Joined: Tue Jul 19, 2011 10:41 am

Grub loose timer

Post by fanf »

Hi,

I just noticed a strange behavior, mayber not fully related to fit-pc (Ubuntu Server installed).

From time to time after a hard reboot (power cut) grub looses its timer so the fit-pc is stuck as grub menu until a key is pressed.

What is pretty strange is that it does not happen all the time. I suspect it may be caused when power cut happen during boot.

Any ideas how to make this not happen ? Remove timer and force boot to a specific image (but I might loose grub auto configuration when updating to new kernel ?).

Comments/suggestions are welcomed.

I can copy/past grub configuration if necessary, but this is default Ubuntu configuration. From tests I made it appears to happen with various Ubuntu Server versions.

Regards,
F.

gabrielh
Site Admin
Posts: 1260
Joined: Thu Jun 02, 2011 1:13 pm

Re: Grub loose timer

Post by gabrielh »

We haven't encounter such problem before.

What I suspect that the FitPC2 receives some (keyboard?) input during it's grub boot, which aborts the boot process. Can you please try to reproduce this issue with no input devices attached to the FitPc2?

Thanks
Gabriel Heifets

Fit-PC2/3/IntensePC support.

fanf
Posts: 10
Joined: Tue Jul 19, 2011 10:41 am

Re: Grub loose timer

Post by fanf »

Hi,

there is no keyboard (or mouse) attached to the fit-pc2i so might not be the issue.

Any other idea ?

Rgds,

gabrielh
Site Admin
Posts: 1260
Joined: Thu Jun 02, 2011 1:13 pm

Re: Grub loose timer

Post by gabrielh »

Can you please try the following

In file /etc/grub.d/00_header:

insead this:
if [ \${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=${GRUB_TIMEOUT}
fi


try this:
if [ \${recordfail} = 1 ]; then
set timeout=5
else
set timeout=${GRUB_TIMEOUT}
fi

and then run:
sudo update-grub2

Thanks
Gabriel Heifets

Fit-PC2/3/IntensePC support.

fanf
Posts: 10
Joined: Tue Jul 19, 2011 10:41 am

Re: Grub loose timer

Post by fanf »

Thanks, I'll try it and let you know.

Rgds,
F.

Post Reply

Return to “Ubuntu 11.04”