Removing grub rescue entries from grub menu

The grub2 by default creates an entry for recovery mode in its menu,using which we can log into single user mode and trouble shoot various problems in the system.

But if we do not want this entry we can remove this entry from the grub by changing the grub configuration.

Open the file

/etc/grub/default

Note : Super user privileges are required to modify the file

Edit the line

# GRUB_DISABLE_LINUX_RECOVERY=”true”

Uncomment the line by removing the “#” in front of the line.

Now update the grub by running

sudo update-grub

Next time the system is rebooted the grub menu will not have the recovery entries.


Tags: ,
Copyright 2017. All rights reserved.

Posted August 17, 2012 by Tux Think in category "Linux