UBUNTU 10.04 GRUB 1.98 save last selection on startup

  • 0

I was up to configuring the Item Ordering in the Linux Bootloader “Grub” once again. I came across a really cool option, which makes Grub remembering the last itemselection on startup. For example if you start your computer and select the ubuntu os, grub will remember this selection for the next startup. It’s a good way for having just the selection of the os you are using frequently. So here is how you get things working: start a terminal and open the file /etc/default/grub with root access by tiping in:

sudo nano /etc/default/grub

This file is the main configurationpoint for Grub. You should find a line which looks like this:

GRUB_DEFAULT=0 Here you can set the item which will be selected as default on startup. To make Grub remember you last selection on every startup change this line to:

GRUB_DEFAULT=saved Next you have to add one additional key line GRUB_SAVEDEFAULT=true to enable this functionality.

So this is it! Save the file and get out of the nano editor. There’s just one thing left. You have to update the Grub-Configuration by starting the grub updater. Do so by typing in: sudo update-grub After this you can reboot your system and check the results :)

No comments:

Post a Comment