Ubuntu 20.04.6 LTS apt problems - how to upgrade f/w?
Bo Berglund
bo.berglund at gmail.com
Wed Nov 27 15:31:46 UTC 2024
On Wed, 27 Nov 2024 10:11:11 -0500, Jeffrey Walton <noloader at gmail.com> wrote:
>> This morning I had already changed:
>> GRUB_DEFAULT=3
>> to
>> GRUB_DEFAULT=4
>>
>> then:
>>
>> sudo update-grub
>> sudo reboot
>>
>> And it came back up with the same kernel...
>
>I thought you were supposed to set both GRUB_DEFAULT and
>GRUB_SAVEDEFAULT. See <https://unix.stackexchange.com/q/198003>.
>
This is what is not commented out in grub:
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
I believe that this:
GRUB_SAVEDEFAULT=1
will save whatever item you start so it will be what is started the *next* time
if you do not select something else on the menu within the timeout.
But I want to make sure that my *server* ALWAYS starts when power is applied or
reboot is commanded or the reset button is pressed.
It should not go into something else if the user had briefly switched to that
earlier.
--
Bo Berglund
Developer in Sweden
More information about the ubuntu-users
mailing list