diff --git a/pages/linux/grub-mkrelpath.md b/pages/linux/grub-mkrelpath.md new file mode 100644 index 0000000000..6d099a3f11 --- /dev/null +++ b/pages/linux/grub-mkrelpath.md @@ -0,0 +1,12 @@ +# grub-mkrelpath + +> Convert a system path to a path relative to its filesystem root for GRUB. +> More information: . + +- Print the GRUB path of a file: + +`grub-mkrelpath {{path/to/file}}` + +- Print the GRUB path of a file on a separately mounted filesystem: + +`grub-mkrelpath {{/mnt/partition/path/to/file}}`