LUSC (Linux UEFI STUB Creator) is an interactive Bash script that automatically generates UEFI boot entries. It creates efibootmgr
commands and exports them to a small executable script. No changes are written to disk until confirmed by the user. This tool is intended for advanced users who understand what an EFI STUB is and how UEFI boot entries work.
- Run the script with root privileges: sudo ./lusc
- Follow the prompts to specify boot entry label, and any additional kernel parameters.
- Confirm the generated efibootmgr commands.
- Choose to either create an executable script with the commands, execute the commands directly, or abort the process.
- installed version of "efibootmgr"
- Some UEFI systems do not allow more than one EFI STUB entry.
efibootmgr
is not capable of modifying existing EFI entries; you always need to delete/overwrite entries to make changes.
sudo ./lusc
sudo ./lusc -h
Show some info.
You can also use a compiled C binary version of lusc if you like, but it is not yet updated to version 1.1.0, i'll fix this very soon so better use the Bash Script for now.
- make
- sudo make install (binary=/usr/bin/lusc-c you can adjust this in the provided Makefile)
This is my (U)EFI- STUB boot time (faster than systemd-boot, grub ...): My actual setup (29-05-24):