IT/Software/System Config/grub: Difference between revisions
Access restrictions were established for this page. If you see this message, you have no access to this page.
Walttheboss (talk | contribs) No edit summary |
Walttheboss (talk | contribs) |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=== Grand Unified Boot Loader === | ===Grand Unified Boot Loader=== | ||
this is the default in linux. | this is the default in linux. | ||
Line 6: | Line 6: | ||
BECAUSE you normally should not be messing around in here. | BECAUSE you normally should not be messing around in here. | ||
=== Change the boot order === | ===Make the menu appear=== | ||
*If only linux is instsalled the menu will not appear by default | |||
**There are several menus/Interfaces during bootup. | |||
**BIOS | |||
***This is very low level where the computer looks for hard drives | |||
***It checks to make sure everything is in place to boot. | |||
**Grub | |||
***This is the screen where you can pick what Operating System to Boot | |||
***You can perform some recovery operations | |||
***Hitting any of the arrow keys will stop the timer so you can look at it. | |||
**Login | |||
***Here is where you login to the operating system that your or Grub chose | |||
*There are many cases where the menu will not appear. | |||
**I don't know exactly why the defaults are chosen and why they seem to be random. | |||
*UEFI | |||
**You have to hit the escape key after bios and before grub. | |||
***VERY TRICKY | |||
*Non-UEFI (legacy) | |||
**Hold down the shift key from power on. | |||
** | |||
===Change the boot order=== | |||
====Boot the last booted==== | |||
this is handy for Windows 10 update reboots. | |||
*Open the file for editing | |||
<code>sudo nano /etc/default/grub</code> | <code>sudo nano /etc/default/grub</code> | ||
Now add the following two lines | *Now add or edit the following two lines | ||
<code>GRUB_DEFAULT=saved<br>GRUB_SAVEDEFAULT=true</code> | |||
*Now update the grub program. | |||
<code>sudo update-grub</code> | |||
====Boot anything in the list==== | |||
Get a list of what choices grub has to boot from. | |||
<code>sudo update-grub</code> | |||
*Take note of the items. | |||
*It is zero based indexing so the first entry is zero and so on. | |||
*Now open the grub file and change the DEFAULT to the number you want. | |||
*Update Grub again | |||
<code> | <code>sudo update-grub</code> | ||
Latest revision as of 05:47, 17 February 2022
Grand Unified Boot Loader
this is the default in linux.
Runs really well but has never been really intuitive to make changes
BECAUSE you normally should not be messing around in here.
- If only linux is instsalled the menu will not appear by default
- There are several menus/Interfaces during bootup.
- BIOS
- This is very low level where the computer looks for hard drives
- It checks to make sure everything is in place to boot.
- Grub
- This is the screen where you can pick what Operating System to Boot
- You can perform some recovery operations
- Hitting any of the arrow keys will stop the timer so you can look at it.
- Login
- Here is where you login to the operating system that your or Grub chose
- There are many cases where the menu will not appear.
- I don't know exactly why the defaults are chosen and why they seem to be random.
- UEFI
- You have to hit the escape key after bios and before grub.
- VERY TRICKY
- You have to hit the escape key after bios and before grub.
- Non-UEFI (legacy)
- Hold down the shift key from power on.
Change the boot order
Boot the last booted
this is handy for Windows 10 update reboots.
- Open the file for editing
sudo nano /etc/default/grub
- Now add or edit the following two lines
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
- Now update the grub program.
sudo update-grub
Boot anything in the list
Get a list of what choices grub has to boot from.
sudo update-grub
- Take note of the items.
- It is zero based indexing so the first entry is zero and so on.
- Now open the grub file and change the DEFAULT to the number you want.
- Update Grub again
sudo update-grub