Hide or Remove Windows Entry From Grub Menu List | UbuntuCafe

Hide or Remove Windows Entry From Grub Menu List

This simple trick will show you how to completely hide Windows menu from the Ubuntu Grub menu list.
Ubuntu 12.04 LTS uses Grub2. It is the default boot loader and manager for Ubuntu since version 9.10 (Karmic Koala), which no longer uses the /boot/grub/menulist.lst file for configuration.

Instead, you should edit the file /etc/default/grub. Open terminal (Alt+Ctrl+T) and type:

sudo gedit /etc/default/grub

If your hard disk still contains a Windows partition, add the line at the bottom of the file.

GRUB_DISABLE_OS_PROBER=true

It will prevent Windows being added to your grub menu.

To write the change, run

sudo update-grub

which will write a new /boot/grub/grub.cfg file.

You can then run

cat /boot/grub/grub.cfg

to check that your Windows entry has disappeared.

Happy Ubuntu...!!!!

2 comments

I'm still using windows for my job. Is it possible hiding the windows entry and still I can access it?

Reply

if you are also using Linux, you are able to hide your windows entry from the grub list..

Reply

Post a Comment