How to Change default boot order, and waiting time on Linux (Multi-boot)

preview_player
Показать описание
Editing GRUB using nano and Linux therminal to change boot menu settings:

This video is describing how to change the boot order and booting wait timeout.

If you don't like to use sudo at the begining of each command, you can type su and press Enter. It will ask for your password, and it would keep it. Ok, let's get started.

Note: First, write or remember the order of your boot menu items, and keep in mind that line numbers start from 0, and Not 1.

Open your terminal window by pressing Ctrl+Alt+T

1- Type:     sudo nano /etc/default/grub

(This will open grub, which is the place for all these boot configs)

2- Find     GRUB_DEFAULT= X

3- Change the Value of X to the line number that you like to be your default boot.

4- To change the default waiting time, Find and change the value of Y in GRUB_TIMEOUT= Y

5- Press Ctrl+O to Save

6- Press Ctrl+X to Exit

7- Type:     sudo update-grub to update your settings

That's it. If you have any question, please feel free to ask it in YouTube comments

Рекомендации по теме
Комментарии
Автор

Great video! Simple and to the point. Have a system w/ Win10 as my main OS, but recently put Ubuntu on a small partition for some testing/projects. Typically boot up my system, walk away to get a coffee, come back and expect to be in Windows, but the Linux boot was the default. Thanks to your steps, I was able to set up Windows as the default option and reduce the timer. So helpful; thanks again!

blinddog
Автор

Thank you! Worked perfectly. Also nice that you included changing the delay timer. Saved me some time

aaron
Автор

u saved my day .... kept windows as default in grub for my i can switch to VOYAGER LINUX whenever i feel like. ...

shridharvannam
Автор

Thank you so much! I have been looking for this for weeks!

backgroundmusic
Автор

Thanks so much
I seems u stopped making videos
😢
Am giving u some.little.motivation
If u do make these videos over and over, this will be the best channels one can visit

collynecity
Автор

Thank you!! Still works on latest version in 2020 (unlike everything else in this year)

Marksmal
Автор

Thanks for the help. Simple and specific 👏

pepmarquez
Автор

Thank you, in your example to choise windows 7 you must make number 4 in the place of 0

aymlarchi
Автор

Thanks for the video!
How would I skip the grub menu altogether?

PlanetEarthTeam
Автор

Worked like a charm. Might want to clarify how the existing boot order (I.e which OS is 0, which is 1, which is 2, etc…) is determined.

brantainman
Автор

Saved me so much time, thank you brother

joehephwer
Автор

Thanks. Off topic, what linux distro are you running on your computer?

httn
Автор

Thanks vargha . You explained very well

dipeshpatil
Автор

you just changed the default boot entry. what about if someone wants to change the entire menu?

manishhb
Автор

if 7 does not work just type :

sudo su

then type update-grub
to update your settings

Dr.SariHamoud
Автор

Hello Vargha, I have a problem when I start my computer the Grub boot menu doesn't show up. Instead it automatically boots from windows 10. I have dual boot OS windows 10 and Deepin linux. everytime I want to boot from linux, I have to access the Bios and select deepin from the boot menu and hit enter on keyboard. Is there a way to make the linux boot menu show up at the first start up?
Thank you

eybnkdo
Автор

Thank you sir. It's working perfectly 👍

itsmeprabhadcp
Автор

I need to know how to change to boot from usb. This did not explain what is usb.

alanm
Автор

Install and use 'grub-customizer' as well Don't use 'save to mbr' with that one unless you know what will happen. It's kind of 'dangerous' for the boot behaviour and you need a recovery option to undo something that get you stuck.

elektronkim
Автор

To the point, works for me.. Thanks....

ratansharma