0

I was using openSUSE and Manjaro before I start using Ubuntu (kubuntu). Now there's boot options such as windows boot manager, Manjaro, debian, etc. How can I delete those options from my Lenovo laptop bios boot menu?

2 Answers2

1

Open your Ubuntu terminal using the key combination Alt + Ctrl + T and follow the below procedure:

  • Paste the following command in terminal sudo gedit /etc/default/grub. It will open a file named /boot/grub/grub.cfg file
  • Add GRUB_DISABLE_OS_PROBER=true at the bottom of this file

  • It will prevent Windows being added to your grub menu

  • Now to write the change, run the command: sudo update-grub

  • You can then run cat /boot/grub/grub.cfg to check that your Windows OS entry has disappeared.

  • Restart your device to check the same
Manu Mathur
  • 1,048
0

I use "Grub Customizer" which is an easy to use GUI tool to remove or change your grub menu.

There's a whole tutorial on how to download and how to use it here - You really don't need to read it though.

Basically you just install it and choose which options you want from the GUI (it's very simple)

$ sudo add-apt-repository ppa:danielrichter2007/grub-customizer
$ sudo apt-get update
$ sudo apt-get install grub-customizer 
mkkl
  • 495