This question already has an answer here:

I'm working with Ubuntu 12.04 LTS, and in my application I turn on and turn off the system from a energy switch. My problem is the screen presentation of recovery mode. I want to disable it, because I don't have a keyboard to do the selection. Is it possible? I tried

How to disable recovery mode/single user mode?

but it didn't work.

I tried changing




in /etc/default/grub, without sucess too.

marked as duplicate by Anwar, Eric Carvalho, Rinzwind, Byte Commander, Aaron Oct 8 '16 at 19:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Is not GRUB_DISABLE_LINUX_RECOVERY="true" but just GRUB_DISABLE_RECOVERY="true" then type sudo update-grub. – Braiam Mar 7 '14 at 22:01

Thank you all, I solved my problem with

How to disable Grub's menu from showing up after failed boot

I had the same problem and figured out the following solution:

Open /etc/default/grub with an editor

Add a line with this assignment:


Set N to the desired timeout in seconds in case of a previously failed boot, for example, 5.

Update GRUB:

sudo update-grub

Try Grub Customizer. To install, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo add-apt-repository ppa:adabbas/1stppa
sudo apt-get update
sudo apt-get install grub-customizer

Once installed, just type grub-customizer in terminal, to run the program, when it open try to change the default entry under the General settings tab. See image below.

enter image description here

  • didn't worked Mitch. Thanks for answer. – Jeferson Preti Feb 11 '14 at 15:34
  • I observe that all changes what I do in grub reflects in normal inicialization, but in inicialization after a wrong shutdown, the changes has no effect. – Jeferson Preti Feb 11 '14 at 17:08

Not the answer you're looking for? Browse other questions tagged or ask your own question.