IT/Software/System Config/grub

From msgwiki
Jump to navigation Jump to search

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