On 26.10.2021 12:38, Matthias Schoepfer wrote:
Hi!
I have quite a funny behavior that I am not able to grasp. I am using
grub on an "embedded" device to switch between two root file system
partitions (A / B update schema). To set / read the partition, I use the
grubenv. This part works as a charm.
Now I switched to eMMC as storage. I gave it a gpt partition table and
besides a EFI parition, I have the root partition labeled rootfs1 and
rootfs2. Since the numbers of the devices may be different when for
example a USB drive is attached, I am using the PARTLABELs for getting
the root device.
While
search --label rootfs1
It searches for filesystem label, not for partition label.