Comment 0 for bug 1868566

Revision history for this message
DanLo (danlo-buntu) wrote :

Hello,

30 minutes now that I was trying to change default boot option with Grub-customizer.
I just noticed why it did not worked : the entries G-U was giving to me did not correspond to the actual entry choices I had during boot.

What G-U displayed : (sorry it's in french but you should be ok)
> Ubuntu
> Option Avancées pour Ubuntu
> > Ubuntu, with Linux 5.3.0-40-lowlatency
> > Ubuntu, with Linux 5.3.0-40-lowlatency (recovery mode)
> > [Many other kernel choices]
> System Setup

Problem is, I am not on Ubuntu, but Linux Mint 19 Xfce.
And consequently, during boot the menu displays the following options :
> Linux Mint 19 Xfce
> Option Avancées pour Linux Mint 19 Xfce
> > Linux Mint 19 Xfce, with Linux 5.3.0-40-lowlatency
> > Linux Mint 19 Xfce, with Linux 5.3.0-40-lowlatency (recovery mode)
> > Linux Mint 19 Xfce, with Linux 4.19.94-40
> > Linux Mint 19 Xfce, with Linux 4.19.94-40 (recovery mode)
> > [Many other kernel choices]
> System Setup

It is also the result I get from a :
> grep "menuentry" /boot/grub/grub.cfg
First line of the results here is (just for illustration) : "menuentry 'Linux Mint 19 Xfce' --class ubuntu --class gnu-linux [...]"

This being noticed, I selected from drop down menu "Option Avancées pour Ubuntu>Ubuntu, with Linux 4.19.94-40", but the correct choice SHOULD be : "Option Avancées pour Linux Mint 19 Xfce>Linux Mint 19 Xfce, with Linux 4.19.94-40", that's why it was not working.

My conclusion is :
The parsing that is made to generate the menu entry list is not on the correct location, and should probably obtain such information from /boot/grub/grub.cfg.
Where is actually made such parsing (which file ?), so that I could understand better or maybe find the issue on my system ?

Daniel