I have removed Windows 7 using GParted, and want my computer to boot straight into Ubuntu, but I still get the dual boot screen, how can I fix this?
In the Ubuntu system, run this command in the Terminal:
That will rebuild the list of available operating systems, and Windows will no longer appear on the list.
There still may be a list, since you can choose between different kernel versions, or to test your system's RAM.
So if you find you still don't like the menu, you can make it appear for a shorter time.
You can even make it appear for no time at all, by setting the timeout to
0. Then, if you find you do need to access it, hold down Shift while booting, and it will appear.
Boot into Ubuntu and then run the following in the terminal, it will update your
grub and then you should only see Ubuntu
If this works and you want to hide the
grub screen and not have to select any kernels at boot run
gksudo gedit /etc/default/grub
GRUB_HIDDEN_TIMEOUT_QUIET=false to read
I would also recommend changing
as it will make it easier to press
Esc to show the grub menu if you need to select old kernels(Previous Version of Linux). This is completely optional, I find it a more reliable way to get to grub menu when needed. It will slow down the boot by that 1sec that the grub is waiting for a key press.
Note: if you change
GRUB_HIDDEN_TIMEOUT you will need to re-run
Open a terminal and run the command -
it will remove windows entry.
if you don't want to see grub menu (if it is still showing) open
/etc/default/grub. to do this run this command -
sudo gedit /etc/default/grub
GRUB_HIDDEN_TIMEOUT_QUIET and change as follows-
after doing these run this command again -
Log in as sudo , then go to /boot/grub/grub.cfg file ,note the position of the description of ubuntu os , ( the position of installed OS begin with 0 ) so if you have only ubuntu note the position 0 Then search the parameter set default and set the value to 0 :
Like this you configure your system to boot with the OS with the position 0 ( the first one ) I hope that helps you.