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) |
Walttheboss (talk | contribs) No edit summary |
||
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 === | ===Change the boot order=== | ||
==== Boot the last booted ==== | ====Boot the last booted==== | ||
*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 < | |||
<code>GRUB_DEFAULT=saved< | *Now add the following two lines <br> | ||
<code>GRUB_DEFAULT=saved<br> GRUB_SAVEDEFAULT=true</code> | |||
==== Boot anything in the list ==== | |||
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 one you want. | |||
<br /> |
Revision as of 14:13, 20 February 2020
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.
Change the boot order
Boot the last booted
- Open the file for editing
sudo nano /etc/default/grub
- Now add the following two lines
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
Boot anything in the list
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 one you want.