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.
To enable the OS Prober, use the following command.
Once you have set the instruction you can save and exit the file.
Now just update the Grub so it can take effects.
This is it, just reboot (restart) the system and check it.