Hide Grub completely on boot

Months ago I had to setup an industrial PC with linux and I needed optimize system boot in order to work as a real time system.

In this PC, lubuntu was instaled and Grub was active. On the boot, when grub passed, the system boot in a reduced time. So, I need hide grub in order to it doesn't show at boot the system in order to reduce boot time. This task is very simple, we can do that with config file or with an application specialized in it.

The problems appeared when in some performance test GRUB continued to appear and this time Grub didn't have a timer to disappear with no human interactions.

This used to occur when current was interrupt just after that BIOS appears but before the Operating System was loaded.

The explain is when the system is shutdown incorrectly GRUB enable a bit called recordfail. If this bit is enable GRUB won't show the timer and will need the human interaction.

I was seaching program that can modify this bit but I don't find anything. Finally I modify GRUB script my self in order to remove any occurence of recordfail variable. Then I found the solution by modification of config file. The file that we need to modify is /etc/default/grub and the first part of this fill must match with:

The options in order to disable recodfail is GRUB_RECORDFAIL_TIMEOUT="0"

After modify that file we must run the following command:

update-grub

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *