From 8148b1d9bf8985394044b8074e04c541ac4e3a90 Mon Sep 17 00:00:00 2001 From: HADEON <52324046+h8d13@users.noreply.github.com> Date: Mon, 16 Feb 2026 03:10:52 +0100 Subject: [PATCH] fix efistub bootloader to use backslashes (#4231) * fix efistub to use backslashes * comment * cf1 Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com> * cf2 Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com> --------- Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com> --- archinstall/lib/installer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 317e6e98..8fb20cfa 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -1618,9 +1618,9 @@ class Installer: if not uki_enabled: loader = '/vmlinuz-{kernel}' - + # EFI standards stipulate backslashes entries = ( - 'initrd=/initramfs-{kernel}.img', + r'initrd=\initramfs-{kernel}.img', *self._get_kernel_params(root), )