Skip to content

Commit f67cd01

Browse files
committed
docs/guides: quote efibootmgr paths instead of escaping
1 parent 9424356 commit f67cd01

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/guides/_include/configure-efibootmgr.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
33
efibootmgr -c -d "$BOOT_DISK" -p "$BOOT_PART" \
44
-L "ZFSBootMenu (Backup)" \
5-
-l \\EFI\\ZBM\\VMLINUZ-BACKUP.EFI
5+
-l '\EFI\ZBM\VMLINUZ-BACKUP.EFI'
66
77
efibootmgr -c -d "$BOOT_DISK" -p "$BOOT_PART" \
88
-L "ZFSBootMenu" \
9-
-l \\EFI\\ZBM\\VMLINUZ.EFI
9+
-l '\EFI\ZBM\VMLINUZ.EFI'

docs/guides/general/uefi-booting.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,14 @@ Booting the Bundled Executable
144144
The `efibootmgr`_ utility provides a means to configure your firmware to
145145
boot the bundled executable. For example::
146146

147-
efibootmgr -c -d /dev/sda -p 1 -L "ZFSBootMenu" -l \\EFI\\VOID\\VMLINUZ.EFI
147+
efibootmgr -c -d /dev/sda -p 1 -L "ZFSBootMenu" -l '\EFI\VOID\VMLINUZ.EFI'
148148

149149
will create a new entry that will boot the executable written to ``/boot/efi/EFI/void/vmlinuz.EFI`` if your EFI system
150150
partition is ``/dev/sda1`` and is mounted at ``/boot/efi``. (Remember that the EFI system partition should be a FAT
151151
volume, so the path separators are backslashes and paths should be case-insensitive.) For good measure, create an
152152
alternative entry that points at the backup image::
153153

154-
efibootmgr -c -d /dev/sda -p 1 -L "ZFSBootMenu (Backup)" -l \\EFI\\VOID\\VMLINUZ-BACKUP.EFI
154+
efibootmgr -c -d /dev/sda -p 1 -L "ZFSBootMenu (Backup)" -l '\EFI\VOID\VMLINUZ-BACKUP.EFI'
155155

156156
The firmware should provide some means to select between these alternatives.
157157

0 commit comments

Comments
 (0)