Refind setup

From wikinotes
Revision as of 02:45, 2 February 2024 by Will (talk | contribs) (Created page with "<syntaxhighlight lang="bash"> refind-install # replaces systemd-boot, automatically finds EFI stubs </syntaxhighlight> You'll need to re-run refind-install on refind updates.<br> This will do it automatically. <syntaxhighlight lang="bash"> # /etc/pacman.d/hooks/refind.hook [Trigger] Operation=Upgrade Type=Package Target=refind [Action] Description = Updating rEFInd on ESP When=PostTransaction Exec=/usr/bin/refind-install </syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
refind-install  # replaces systemd-boot, automatically finds EFI stubs

You'll need to re-run refind-install on refind updates.
This will do it automatically.

# /etc/pacman.d/hooks/refind.hook
[Trigger]
Operation=Upgrade
Type=Package
Target=refind

[Action]
Description = Updating rEFInd on ESP
When=PostTransaction
Exec=/usr/bin/refind-install