From 44109b851ab5d09e6d94911a25b60f2cc02a5674 Mon Sep 17 00:00:00 2001 From: Ettore Forigo Date: Mon, 15 Nov 2021 01:58:06 +0100 Subject: Fix boot partition detection for EFISTUB bootloader --- archinstall/lib/installer.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index fcf065eb..b7c5cf92 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -663,9 +663,7 @@ class Installer: log(f"Identifying root partition by PART-UUID on {root_partition}, looking for '{root_partition.uuid}'.", level=logging.DEBUG) kernel_parameters.append(f'root=PARTUUID={root_partition.uuid} rw intel_pstate=no_hwp {" ".join(self.KERNEL_PARAMS)}') - boot_partition = find_partition_by_mountpoint(self.partitions, relative_mountpoint=f"/boot") - - SysCommand(f'efibootmgr --disk {boot_partition[:-1]} --part {boot_partition[-1]} --create --label "{label}" --loader {loader} --unicode \'{" ".join(kernel_parameters)}\' --verbose') + SysCommand(f'efibootmgr --disk {boot_partition.path[:-1]} --part {boot_partition.path[-1]} --create --label "{label}" --loader {loader} --unicode \'{" ".join(kernel_parameters)}\' --verbose') self.helper_flags['bootloader'] = bootloader else: -- cgit v1.2.3-70-g09d2