Dracut can't write on the kernel

I am trying to make gpu passtrough on my pc with endeavour OS, i was following the arch wiki explanation bit i got stuck on the dracut setup,
https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF
this is the link i was following, i was making the

sudo dracut --regenerate-all

but it output a error on me, the error is below

dracut: Executing: /usr/bin/dracut --kver=6.6.10-arch1-1
dracut: Can't write to /boot/efi/331c2b9ba8d141d282ee9e26cf3c5626/6.6.10-arch1-1: Directory /boot/efi/331c2b9ba8d141d282ee9e26cf3c5626/6.6.10-arch1-1 does not exist or is not accessible.

idk how to fix that error can someone help me here pls, thanks for all

Use sudo dracut-rebuild

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.