Recovery Mode in Ubuntu allows you to restore your system, change user passwords and gain root access to your Ubuntu machine in case of an emergency.

Since anyone with physical access to your machine can change user passwords, whereby gaining total access to your machine, disabling this feature will protect you from folks with physical access who want to gain access via recovery mode illegally.

However, disabling this feature will also deny you access in case of an emergency when you need to access your computer via recovery mode.

So, be careful when doing this, and have a very good reason for turning recovery mode off.


  • Disable Recovery Mode in Ubuntu 12.04
  • Enjoy!

To get started, press Ctrl – Alt – T on your keyboard to open the terminal. When it opens, run the commands below to open grub config file.

sudo gedit /etc/default/grub




Next, uncomment the highlighted line shown below ( # ). Uncommenting means, removing the # symbol from the beginning of the line.




Save the file and you’re done.


Finally, run the commands below to update GRUB2 in Ubuntu.

sudo update-grub2


The next time you reboot your computer, the recovery mode will not be shown on your boot menu as an option to select.


To read our previous on how to recover forgotten password using recovery mode, please click here.