Grub can't find boot image file on /home

After a few trials, first removing the search error by using fs-uuid instead of file, I could find the culprit, which is the file name.

Although the same grub2 version on Debian 12 and Tumbleweed, the filesystems are different, which make config file break.

Here the script that works on TW

menuentry 'Brunch' --class 'brunch' {
	rmmod tpm
#	img_path="/home/ed/Brunch/chromeos.img"
	img_path="/ed/Brunch/chromeos.img"
	img_uuid="84ba7bbb-66ee-4bef-88dd-1c7fe16de3d3"
	search --no-floppy --set=root --file ${img_path}
	loopback loop ${img_path}