• grub-customizer : not remembering last choice


    Hello,

    I use grub-customizer to change the order of the kernel list in the menu. This is working as expected.
    But I would also like grub to remember the entry selected at previous boot. So I go to the general parameters tab and tick the appropriate option, this indeed adds

    GRUB_SAVEDEFAULT="true"
    

    at the very end of /etc/default/grub. I also have, at the beginning of this file

    GRUB_DEFAULT="saved"
    

    I also updated grub from the command line, to be sure. So, in theory, it should work, but it doesn’t. In fact the first grub entry is always selected by default, no matters what was the previous choice.

    Any ideas? Thanks in advance!

  • @papa33 OK, I (more or less) understood the problem.
    In /etc/grub.d there should be a 10_antergos script file and a 10_linux script file. The first one is used by default to generate the /boot/grub/grub.cfg file and 10_antergos seems indeed to be the culprit.

    So I did :

    sudo chmod -x 10_antergos
    sudo chmod +x 10_linux
    sudo grub-mkconfig -o /boot/grub/grub.cfg
    

    Then I installed and run grub-customizer to tweak the menu as I want it to be. Now everything seems to be working.

remembering1 grub-customizer2 choice3 Posts 2Views 306
Log in to reply