Grub2 and multiple boot different ubuntu versions

Tom H tomh0665 at gmail.com
Thu Mar 25 22:03:43 UTC 2010


>> I did that and found it a very long document with things like this:

>> GRUB SAVEDEFAULT= If set to true this setting will automatically set the
>> last selected OS from the menu as the default OS on the next boot.

>> No commands need be run to set the default OS.
>> Any time a menuentry is manually selected from the GRUB2 menu, it becomes
>> the default OS.

>> This is a typical Grub2 statement.  What is the last selected OS???

> It means the one you selected last time, ie the one you are currently
> booted into.  So if you select one to boot then reboot it will default
> to the one you just rebooted from.  Or to put it another way, and
> rather more succinctly, any time a menuentry is manually selected from
> the GRUB2 menu, it becomes the default OS.  That sounds familiar, I
> must have read it somewhere before.

>From a default grub1 menu.lst:

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.




More information about the ubuntu-users mailing list