How to disable or enable OS Prober from the Grub?

Linux has an OS Prober feature that allows us to choose other operating systems installed in the system using Grub.

By default on the latest version of Linux, it’s disabled; on the earlier versions, it’s enabled. In this article, I’ll show you how to disable or enable OS Prober from the Grub in Linux (Debian/Ubuntu).

What file to edit?

You need to edit the Grub configuration file which is located on:

sudo nano /etc/default/grub

Make sure that you are a root or root privileged user who can edit.

What to edit?

To disable the OS Prober, use the following command.

GRUB_DISABLE_OS_PROBER=false

To enable the OS Prober, use the following command.

GRUB_DISABLE_OS_PROBER=true

Once you have set the instruction you can save and exit the file.

Now just update the Grub so it can take effects.

sudo update-grub

This is it, just reboot (restart) the system and check it.

Published by Atul Kumar Pandey

Hi, I'm creator of atulhost, comes from business management and tech background. I love to do research on modern business insights and latest technological solutions.

Leave a reply

Required fields are asterisked and email address will not be shared.