Skip to content

Linux UEFI STUB Creator - lusc

License

Notifications You must be signed in to change notification settings

Lennart1978/lusc

Repository files navigation

logo

LUSC - Linux UEFI STUB Creator version 1.1.0

Description

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.

Usage

  • 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.

Prerequisites

  • 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.

Running the Script

sudo ./lusc

Options

sudo ./lusc -h

Show some info.

C Version:

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 ...): boottime My actual setup (29-05-24): fastfetch