Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
11
rated 0 times [  11] [ 0]  / answers: 1 / hits: 9598  / 3 Years ago, thu, october 7, 2021, 7:09:50

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.


More From » boot

 Answers
5

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.


[#34803] Thursday, October 7, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tiowift

Total Points: 119
Total Questions: 113
Total Answers: 110

Location: South Sudan
Member since Sun, Jul 11, 2021
3 Years ago
tiowift questions
Wed, Aug 3, 22, 04:45, 2 Years ago
Mon, Nov 7, 22, 10:58, 2 Years ago
Wed, May 10, 23, 17:52, 1 Year ago
;