https://github.com/mrdotx/efistub
shell script to create efi boot entries with efibootmgr
https://github.com/mrdotx/efistub
boot efi efibootmgr entries hooks initrd kernel manager memtest options order pacman parameter uefi
Last synced: 4 days ago
JSON representation
shell script to create efi boot entries with efibootmgr
- Host: GitHub
- URL: https://github.com/mrdotx/efistub
- Owner: mrdotx
- License: gpl-3.0
- Created: 2021-04-20T15:31:05.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2026-04-28T03:32:47.000Z (2 months ago)
- Last Synced: 2026-06-24T22:38:52.158Z (4 days ago)
- Topics: boot, efi, efibootmgr, entries, hooks, initrd, kernel, manager, memtest, options, order, pacman, parameter, uefi
- Language: Shell
- Homepage:
- Size: 1.68 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# efistub

shell script to create efi boot entries with efibootmgr
| directory | comment |
| :---------- | :---------------------------------------------------------------------- |
| examples | config files for boot entries, the order of the files is the boot order |
| file | comment |
| :---------------------- | :---------------------------------------------------------------------------- |
| 98-lenovo_fallback.hook | workaround lenovo uefi linux fallback loader |
| 99-efistub.hook | hook to update efi boot entries on kernel update with pacman |
| efistub.sh | script that deletes all boot entries from efi and create new ones from config |
## config files
values and defaults:
- label=Linux
- disk=/dev/sda
- partition=1
- loader=/vmlinuz-linux
- options=
## install pacman hook
- copy 99-efistub.hook to directory /etc/pacman.d/hooks