/dev/sdb2
as BOOT
(/dev/sdb2
is the /boot
partition)
e2label /dev/sdb2
BOOT
/etc/fstab
to use label instead UUID
UUID=(...)
by LABEL=BOOT
/etc/default/grub
and uncomment the following line to not use UUID in grub.
GRUB_DISABLE_LINUX_UUID=true
/usr/lib/grub/grub-mkconfig_lib
to configure grub to use label if available in a volume:
if label="`${grub_probe} --device ${device} --target=fs_label 2> /dev/null`" ; then echo "search --no-floppy --label ${label} --set root" elif fs_uuid="`${grub_probe} --device ${device} --target=fs_uuid 2> /dev/null`" ; then echo "search --no-floppy --fs-uuid --set ${fs_uuid}" fi
update-grub