File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1349,6 +1349,10 @@ def _add_limine_bootloader(
13491349 kernel_params = ' ' .join (self ._get_kernel_params (root ))
13501350 config_contents = 'timeout: 5\n '
13511351
1352+ path_root = 'boot()'
1353+ if efi_partition and boot_partition != efi_partition :
1354+ path_root = f'uuid({ boot_partition .partuuid } )'
1355+
13521356 for kernel in self .kernels :
13531357 for variant in ('' , '-fallback' ):
13541358 if uki_enabled :
@@ -1360,9 +1364,9 @@ def _add_limine_bootloader(
13601364 else :
13611365 entry = [
13621366 'protocol: linux' ,
1363- f'path: boot() :/vmlinuz-{ kernel } ' ,
1367+ f'path: { path_root } :/vmlinuz-{ kernel } ' ,
13641368 f'cmdline: { kernel_params } ' ,
1365- f'module_path: boot() :/initramfs-{ kernel } { variant } .img' ,
1369+ f'module_path: { path_root } :/initramfs-{ kernel } { variant } .img' ,
13661370 ]
13671371
13681372 config_contents += f'\n /Arch Linux ({ kernel } { variant } )\n '
You can’t perform that action at this time.
0 commit comments