7

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.

0

2 Answers 2

11

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.

2
  • 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, 2012 at 18:07
  • Yes. Thank You. did this: GRUB_DISABLE_OS_PROBER=true and now ubuntu is booting directly. Oct 21, 2012 at 18:24
5

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?

4
  • Thanks. But what do i remove now. there are multiple values that are unknown to me. Oct 21, 2012 at 17:58
  • You should remove only the windows 7.
    – Mokus
    Oct 21, 2012 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, 2012 at 18:06
  • If you installed that GUI than there is a show menu option. Uncheck that
    – Mokus
    Oct 21, 2012 at 18:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .