Hello Thibaut, Even in that code that you comment out it is using the probe to find the uuid. If it finds the uuid i wonder why setting it can not find the uuid.
less -N /usr/lib/grub/grub-mkconfig_lib 127 # If there's a filesystem UUID that GRUB is capable of identifying, use it; 128 # otherwise set root as per value in device.map. 129 echo "set root='`${grub_probe} --device ${device} --target=drive`'" 130 if fs_uuid="`${grub_probe} --device ${device} --target=fs_uuid 2> /dev/null`" ; then 131 echo "search --no-floppy --fs-uuid --set ${fs_uuid}" 132 fi -- Regards Martin Naughton