Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1018 Bytes

README.md

File metadata and controls

46 lines (35 loc) · 1018 Bytes

Efihelper

Efihelper program, works as boot manager assistant on Debian and Ubuntu based systems.

Dependencies

  • Systemd (optional (if systemdboot method selected))
  • Lsb-release
  • Efibootmgr

Install

git clone (this repo)

cd debianefihelper

sudo install -Dm755 ./efihelper /usr/local/bin/efihelper

Usage

Initial setup:

sudo efihelper first

Install new kernel entry:

sudo efihelper install $(uname -r) or sudo efihelper install 5.14.15-xanmod1

Remove kernel entry:

sudo efihelper remove $(uname -r) or sudo efihelper remove 5.14.15-xanmod1

Changelog

v1.2 : Fix to EFISTUB support with initramfs
 |-> : New hook for initramfs rebuild
 |-> : Remove empty version directory when removing EFISTUB files
 |-> : Hide `efibootmgr` output
 |-> :  Don't recreate the hooks if they already exist
 \-> : debian/ directory so it can be packaged to a `.deb` file

v1.1 : Added systemdboot support
 |-> : Some variables fixed
 \-> : Script cleaned