Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
add comment

2 Answers

up vote 6 down vote accepted

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.

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

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?

share|improve this answer
    
Thanks. But what do i remove now. there are multiple values that are unknown to me. –  Alex Seicean Oct 21 '12 at 17:58
    
You should remove only the windows 7. –  run 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? –  Alex Seicean Oct 21 '12 at 18:06
    
If you installed that GUI than there is a show menu option. Uncheck that –  run Oct 21 '12 at 18:09
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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