grub2-mkrelpath (1) - Linux Manuals
grub2-mkrelpath: Generate a relative GRUB path given an OS path.
NAME
grub-mkrelpath --- Generate a relative GRUB path given an OS path.SYNOPSIS
grub-mkrelpath FILEDESCRIPTION
grub-mkrelpath takes an OS filesystem path for FILE and returns a relative path suitable for use in a GRUB configuration file.SEE ALSO
info grub