Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/global_menu.py
diff options
context:
space:
mode:
authorczapek <32851089+48cf@users.noreply.github.com>2023-11-21 10:19:17 +0100
committerGitHub <noreply@github.com>2023-11-21 10:19:17 +0100
commite6344f93f7e476d05bbcd642f2ed91fdde545870 (patch)
tree244045a4d9696abe0875ac73b955ef87d061b1cd /archinstall/lib/global_menu.py
parentf16af43949085b06478d2e4c45ed61fa8e595171 (diff)
Fix Limine bootloader deployment (#2216)
* Add `get_unique_path_for_device` to `DeviceHandler` * Fix Limine bootloader deployment * Fail if UKI is enabled with Limine * Support more configuration options with Limine * Fix linter errors * Fix boot partition fs_type check for Limine
Diffstat (limited to 'archinstall/lib/global_menu.py')
-rw-r--r--archinstall/lib/global_menu.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/archinstall/lib/global_menu.py b/archinstall/lib/global_menu.py
index e4aa1235..d3d87603 100644
--- a/archinstall/lib/global_menu.py
+++ b/archinstall/lib/global_menu.py
@@ -363,8 +363,11 @@ class GlobalMenu(AbstractMenu):
if boot_partition is None:
return "Boot partition not found"
- if bootloader == Bootloader.Limine and boot_partition.fs_type == disk.FilesystemType.Btrfs:
- return "Limine bootloader does not support booting from BTRFS filesystem"
+ if bootloader == Bootloader.Limine:
+ if boot_partition.fs_type != disk.FilesystemType.Fat32:
+ return "Limine does not support booting from filesystems other than FAT32"
+ elif self._menu_options['uki'].current_selection:
+ return "Limine does not support booting UKIs"
return None