diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 3b648ff305..7337fe6ff7 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -972,6 +972,8 @@ def create_pacman_hook(contents: str): Exec = /usr/bin/cp /usr/share/limine/BOOTX64.EFI /boot/EFI/BOOT/ """) else: + parent_dev_path = disk.device_handler.get_parent_device_path(boot_partition.safe_dev_path) + try: # The `limine.sys` file, contains stage 3 code. cmd = f'/usr/bin/arch-chroot' \ @@ -987,7 +989,7 @@ def create_pacman_hook(contents: str): f' {self.target}' \ f' limine' \ f' bios-install' \ - f' {boot_partition.dev_path}' + f' {parent_dev_path}' SysCommand(cmd, peek_output=True) except SysCallError as err: