Comment 0 for bug 1753256

Revision history for this message
Bougron (francis-bougron) wrote :

Hello

By reading the contents of an EFI boot-info, I can know the name of the operating system that will be set and the place of storage.

For example

Boot0007* refind HD(2,GPT,59f84639-c0fa-47f6-a197-022d45750be8,0x8800,0xfd000)......
Boot0009* Ubuntu HD(2,GPT,59f84639-c0fa-47f6-a197-022d45750be8,0x8800,0xfd000)..........
Boot000A* Windows Boot Manager HD(2,GPT,59f84639-c0fa-47f6-a197-022d45750be8,0x8800,0xfd000)....

It remains to pray that this is one of those listed.

My wish is to identify it with certainty.
I suggest you add this command:
 blkid | grep vfat
just before beginning to list the contents of /EFI/ubuntu/grub.cfg files
so we will see the good value
/dev/sda2: ....... PARTUUID="59f84639-c0fa-47f6-a197-022d45750be8"
/dev/sda3:........ PARTUUID="38e0429c-7d61-459a-85d8-70715749ee58"

because this list is not sufficient

"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL=
/dev/sda2 99AA-F18D vfat boot/efi
/dev/sda3 F18D-99AA vfat efi/boot

However, another solution would be to add the PARTUUID to this list.
It seems to me that at one point, this information was present.

thanks.