Skip to content

Issue with boot-sel.d Hooks #705

Answered by zdykstra
RLovelett asked this question in Questions
Discussion options

You must be logged in to vote

User hooks stored at /etc/zfsbootmenu/hooks/... only work if you're building your own copy of ZFSBootMenu with generate-zbm. They're then copied to a specific location inside of ZFSBootMenu where they're executed during different loader stages. Your script isn't being executed by ZFSBootMenu because it's not available to it.

If you want to use the pre-built image, you'll need to put the hooks on your ESP, and pass in a parameter to the ZFSBootMenu KCL - specifically the zbm.hookroot option, detailed at https://docs.zfsbootmenu.org/en/v2.3.x/man/zfsbootmenu.7.html#command-line-parameters .

Alternatively, you can just add an entry to /etc/fstab on each BE to mount the appropriate home direc…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@RLovelett
Comment options

Answer selected by RLovelett
Comment options

You must be logged in to vote
1 reply
@RLovelett
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants