Hi, I’m not the most expert user, but I’ve been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).

How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?

I’m on linux mint, 21.2 Cinnamon.

  • bizdelnick@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    11 months ago

    These files are not changed on updates. grub.cfg will be changed, but it will contain what these scripts write into it, so if you add classes to them, they will appear in new grub.cfg.

    To test that everything works as expected, backup your current grub.cfg and run sudo update-grub.