I have installed both Ubuntu and windows in my laptop. Every time I switch on my laptop I have to wait and spend some time to select one of this.

Is there any option to set one of this OS as my default OS and when required to boot with other OS I have to press "function" or any other keys ?


1 Answer 1


Edit in "/etc/default/grub" the line GRUB_DEFAULT=x to the index of the menu entry which should get selected by default. Then change GRUB_TIMEOUT=x to the amount of seconds you like to see the menu.

after that run grub-mkconfig -o /boot/grub/grub.cfg


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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