IT/Software/System Config/grub: Difference between revisions

From msgwiki
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
Line 21: Line 21:
<code>sudo update-grub</code>
<code>sudo update-grub</code>


Take note of the items.
*Take note of the items.
 
*It is zero based indexing so the first entry is zero and so on.  
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.  
 
*Update Grub again
Now open the grub file and change the DEFAULT to the one you want.  
<br />
Update Grub again.
<code>sudo update-grub</code>
<code>sudo update-grub</code>

Revision as of 14:15, 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.
  • Update Grub again

sudo update-grub