I have a dual boot ubuntu and windows 8. Ubuntu is default os to start up and countdown select the default os to boot If I don't change that before. When I order between ubuntu and windows 8 countdown automatically hide and then, I have to press enter to boot from any highlighted os without time limit.My question is: How can I disable countdown for always and I select which os starts up with using up/down arrow key myself and until I don't select and don't pressing enter, that freeze on grub menu. Any ideas would be my pleasure
Note: There is no /etc/default/grub
file in my ubuntu.
Edit: I reinstalled grub (sudo apt-get --reinstall install grub2 grub-pc
) and now i have a/etc/default/grub
file but the countdown did not stop with this changes:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT="-1"
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
I delete double quote GRUB_TIMEOUT="-1"
around -1
which is automatically added to it and save then running sudo update-grub
I get the following warning:
Warning: Setting GRUB_TIMEOUT to a non-zero value when
GRUB_HIDDEN_TIMEOUT is set is no longer supporte
To get grub file in
/etc/default/grub
sudo apt-get install grub2 grub-pc
Then run
sudo update-grub
Now open
/etc/default/grub
using your favourite editor.(you may need sudo permissions!)
And set this field to
-1
to wait indefinitely!GRUB_TIMEOUT=-1
You can try to comment out the following two lines to
Now again run
sudo update-grub
and you are done! Hope this helps!
You can do this graphically with Grub-customizer, and the instructions for installing that program are located in the Ubuntu forums at http://ubuntuforums.org/showthread.php?t=1664134
Please note that the instructions in the link are slightly dated -
grub-customizer
is now available in the standard Ubuntu repositories, and can be installed with the commendPerhaps you have an EFI system, and grub is on the EFI partition. Hopefully mounted for you under Files->computer->/boot/efi, on my system grub.cfg is in /boot/grub .
No idea if the solutions posted so far would work for that.