From 25f29d2ca15f5cc6e2ebca9c1c49099add239bce Mon Sep 17 00:00:00 2001 From: Manish <252005ms@gmail.com> Date: Thu, 8 Oct 2026 08:47:09 +0530 Subject: [PATCH] grub-mkrelpath: add page (#24567) Co-authored-by: Sahil Afrid Farookhi --- pages/linux/grub-mkrelpath.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/linux/grub-mkrelpath.md 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}}`