Open daiaji opened 1 year ago
sudo dracut --debug -v --force /boot/initramfs-6.0-x86_64.img
@daiaji, are you able to share the log for this command
What happens if you add the hostonly option when generating the image dracut -f -H /boot/initramfs-6.0-x86_64.img
?
It's working, but documentation is missing.
That's something that the editors of the wiki page need to look at but looking at the steps in the wiki page we probably should just turn those into a module and or add those to the existing modules so users dont have to jump through so many hoops to just enable this.
Dedicated modules do enhance ease of use, but documentation is also important, and force_drivers not working in non-host mode is expected behavior?
I have a similar issue but on EndeavourOS. H option doesn't work for me.
Edit: for anyone having the same problem, there's the solution to mine.
Describe the bug As the title says, I configured force_drivers, but it doesn't seem to work.
Distribution used Manjaro Linux 22.0.0
Dracut version dracut-git-056.r270.43c16bfa-1-x86_64
Init system systemd 252 (252.3-1-manjaro)
To Reproduce 1.Configure dracut.
reboot
Expected behavior Successfully attached vfio-pci to GTX1050TI.
Additional context https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF#dracut
lsinitrd.log: https://gist.github.com/daiaji/5829d7170715b0906dc89e86d6d6a83d