grub-mkrelpath: add page (#24567)

Co-authored-by: Sahil Afrid Farookhi <msafarookhi@gmail.com>
This commit is contained in:
Manish
2026-10-07 20:17:09 -07:00
committed by GitHub
co-authored by Sahil Afrid Farookhi
parent 5343177cb3
commit 25f29d2ca1
+12
View File
@@ -0,0 +1,12 @@
# grub-mkrelpath
> Convert a system path to a path relative to its filesystem root for GRUB.
> More information: <https://www.gnu.org/software/grub/manual/grub/html_node/Invoking-grub_002dmkrelpath.html>.
- 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}}`