How do I get GRUB to remember my last booted operating system?
On Ubuntu 20.04:
-Edit your grub file:
at the top, change the following line to look like this:
and then ADD this missing line:
Save your changes and then run this command to update GRUB with the new values: