[resolved] Dual boot Arch and EndeavourOS on sda and sdb broke

Neither Arch

 menuentry 'EndeavourOS Linux (rolling) (on /dev/sda1)' --class endeavouros --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-d65191dc-5320-4ec4-9e3b-9f8455fc4f11' {
    savedefault
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  d65191dc-5320-4ec4-9e3b-9f8455fc4f11
    else
      search --no-floppy --fs-uuid --set=root d65191dc-5320-4ec4-9e3b-9f8455fc4f11
    fi
    linux /boot/vmlinuz-linux root=UUID=d65191dc-5320-4ec4-9e3b-9f8455fc4f11 rw loglevel=3 nowatchdog
    initrd /boot/intel-ucode.img
}

nor EnOS

  menuentry 'Arch Linux, with Linux linux (on /dev/sdb6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--c6a6300e-f0cc-410c-99fb-861a4d014a82' {
        savedefault
        insmod part_msdos
        insmod ext2
        set root='hd1,msdos6'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6  c6a6300e-f0cc-410c-99fb-861a4d014a82
        else
          search --no-floppy --fs-uuid --set=root c6a6300e-f0cc-410c-99fb-861a4d014a82
        fi
        linux /boot/vmlinuz-linux root=UUID=c6a6300e-f0cc-410c-99fb-861a4d014a82 rw loglevel=3
        initrd /boot/intel-ucode.img
    }

seems to have produced the correct initrd line for the other OS.

Has there been any changes/updates to the package grub lately?

EDIT
I can see:

Last Updated: 2021-09-09 11:07 UTC
https://archlinux.org/packages/core/x86_64/grub/

Could it be some bug/regression? :thinking: