I used to dual boot Ubuntu with Windows 7. I got rid of Windows and also deleted the partition where it was installed.

Now, in the dual boot menu Windows 7 is still available, and listed as first option. How do i completely remove the menu so that Ubuntu boots directly? Thanks in advance.


Open the terminal application and enter

sudo update-grub

This probes for other existing OSes and writes a new grub configuration; since you deleted the windows partition, it shouldn't be in the menu anymore on the next boot.

You can also disable the Grub Os Prober if you like. Just add GRUB_DISABLE_OS_PROBER=true to /etc/default/grub and run sudo update-grub again.

To disable the display of the menu:

Edit /etc/default/grub with elevated rights

and set GRUB_TIMEOUT=0

Run sudo update-grub again.

  • This issue is as of today, after upgrading to 12.10. The grub menu is still there, only the W7 entry has been removed. Oct 21 '12 at 18:07
  • Yes. Thank You. did this: GRUB_DISABLE_OS_PROBER=true and now ubuntu is booting directly. Oct 21 '12 at 18:24

You can use an easy to use GUI app called grub-customizer to make your life a little easy. As the name suggests, you can do much more than just reordering Grub menu entries with it.

You can install it by:

sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer

More information in the following page: How do I change the GRUB boot order?

  • Thanks. But what do i remove now. there are multiple values that are unknown to me. Oct 21 '12 at 17:58
  • You should remove only the windows 7.
    – OHLÁLÁ
    Oct 21 '12 at 18:00
  • Did what you said and W7 entry is now gone. How do I remove the WHOLE list and let ubuntu boot directly and by default? Oct 21 '12 at 18:06
  • If you installed that GUI than there is a show menu option. Uncheck that
    – OHLÁLÁ
    Oct 21 '12 at 18:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.