Hello Linux Geeksters. Today I am going to show you an easy trick to hide Windows from the GRUB2 Menu.

This works for all the Linux systems using GRUB2 with the configuration file /etc/default/grub, not the old GRUB, with /boot/grub/menulist.1st.
On Ubuntu, GRUB2 has been introduces since Ubuntu 9.10 Karmic Koala. So, you can do this on Ubuntu 13.10 Saucy Salamander, Ubuntu 13.04 Raring Ringtail, Ubuntu 12.10 Quantal Quetzal, 12.04 Precise Pangolin, the latest Linux Mint versions: Linux Mint 15 Olivia, Linux Mint 14 Nadia, Linux Mint 13 Maya, Fedora 19, Fedora 18, Fedora 17, Debian Jessie, Debian Sid, Debian Wheezy, Debian Squeeze and many others.
All you have to do is to add this line at the beggining of the /etc/default/grub file: GRUB_DISABLE_OS_PROBER=true
You can either open /etc/default/grub inĀ your text editor and type it by hand, or use this oneliner:
$ sudo sed -i '1s/^/ GRUB_DISABLE_OS_PROBER=true /' /etc/default/grub
Update Grub and you are done:
$ sudo update-grub