-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Affected component(s) or functionality
/usr/sbin/anti-evil-maid-install
Brief summary
No detection or checking for UEFI vs. BIOS/Legacy boot modes. When choosing to install to removable media, the script assumes BIOS only.
Version
anti-evil-maid-4.2.1-1.fc37.x86_64.rpm
To Reproduce
Steps to reproduce the behavior:_
- Install Qubes OS with UEFI boot
- Perform steps from
https://trenchboot.org/user-docs/install_aem/ - When running
anti-evil-maid-installchoose a removable media block device - Script tries to execute
grub2-install --boot-directory="$PART_MNT" "$WHOLE_DEV"and fails since there is only UEFI.
Expected behavior
Detect UEFI boot and warn can not install on removable media. Develop a method to copy EFI and boot from removable media.
Actual behavior
Get the error grub2-install: error: this utility cannot be used for EFI platforms because it does not support UEFI Secure Boot.
Screenshots
N/A
Additional context
N/A
Solutions you've tried
Laptop only has UEFI boot. Plan to copy EFI partition to removable media and attempt manual installation.
Relevant documentation you've consulted
https://trenchboot.org/user-docs/install_aem/
Related, non-duplicate issues
none