mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-10-30 18:53:35 +08:00
grub-mkrelpath: add page (#24567)
Co-authored-by: Sahil Afrid Farookhi <msafarookhi@gmail.com>
This commit is contained in:
co-authored by
Sahil Afrid Farookhi
parent
5343177cb3
commit
25f29d2ca1
@@ -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}}`
|
||||
Reference in New Issue
Block a user