UEFI installation always fail #297
-
I have already worked through the instructions on 3 computers, point by point and always the encrypted version. /sys/firmware/efi/efivars/ is empty |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 2 replies
-
If Try to mount it manually and see what happens. mount -t efivarfs efivarfs /sys/firmware/efi/efivars you can replace second If There are some cases that system is booted in 1- kernel does not support EFI. void linux kernel (and most other distros) has support for this. if you are using a custom kernel, check that kernel compiled with 2- you are using a real time kernel. efivarfs is disabled on those kernels by default. boot the kernel with 3- 4- kernel is booted with |
Beta Was this translation helpful? Give feedback.
-
Yes, the scenario about the unknown filesystem happened.
|
Beta Was this translation helpful? Give feedback.
-
Changed my password like described here, I removed a special character:
Now I get following error during boot (after password prompt): |
Beta Was this translation helpful? Give feedback.
-
Is key file avaiable in initramfs?
If the key file is ok, maybe Jump into your boot environment with
EDIT: I added
Replace You can also reconfigure the kernel package to generate a new initramfs.
Replace Both of the above commands can be used to regenerate initramfs in void linux. I dont know their difference. |
Beta Was this translation helpful? Give feedback.
-
Deleting and setting works but fails at 'dracut -f':
/lib/modules/ shows following folders: So I tried 'dracut -f -kver /lib/modules/5.10.111_1':
So I copied 5.10.111_1 to 5.10.101_1 and tried it again with the same message as a result. At last I succeeded with 'dracut -f --no-kernel', followed by 'xbps-reconfigure -f linux5.10'. Now I get following error:
I end up in the debug shell. |
Beta Was this translation helpful? Give feedback.
-
You don't have a consistent
|
Beta Was this translation helpful? Give feedback.
-
I deleted the /lib/modules/5.10.101_1 folder again. Then I entered chroot in read/write mode:
It finishes with:
Now when I press [CTRL+K ] (kernels) and switch from 5.15.34_1 to 5.10.111_1 it works! |
Beta Was this translation helpful? Give feedback.
-
Ha! Tricked the system. Just 'dracuted' the latest kernel and it works. Good a functional system. |
Beta Was this translation helpful? Give feedback.
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.
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 poolsrw
.MOD
can bectrl
,alt
orctrl + alt
.Jump into your boot environment with
MOD + j
.Remove
zpool.cache
and create a new one.EDIT: I added
--kver
.Now, regenerate initramfs.
Replace
5.15.34_1
with right kernel v…