Skip to content

UEFI installation always fail #297

Discussion options

You must be logged in to vote

Is key file avaiable in initramfs?
dracut should executes an emergency shell if it cant mount the root file system.
In that shell, check that /etc/zfs/zroot.key is available or not.
If its avaiable, check its content.

cat /etc/zfs/zroot.key

If the key file is ok, maybe zpool.cache is causing problem.
Boot ZFSBootMenu and boot into boot menu.
press MOD + w to reimport all the pools rw.
MOD can be ctrl, altor ctrl + alt.

Jump into your boot environment with MOD + j.
Remove zpool.cache and create a new one.

rm /etc/zfs/zpool.cache
zpool set cachefile=/etc/zfs/zpool.cache zroot

EDIT: I added --kver.
Now, regenerate initramfs.

dracut -f --kver 5.15.34_1

Replace 5.15.34_1 with right kernel v…

Replies: 8 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by bobblkabb
Comment options

You must be logged in to vote
1 reply
@Dragon-debian
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants