解决Debian Bullseye/Kali Rolling缺少i915二进制文件的问题
装完Kali后,update-initramfs报错
update-initramfs: Generating /boot/initrd.img-5.4.0-kali3-amd64
W: Possible missing firmware /lib/firmware/i915/icl_dmc_ver1_07.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_dmc_ver2_04.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_huc_ver01_8_2893.bin for module i915
正常来说,Debian将这些二进制文件存放在firmware-misc-nonfree里,但是我看了Kali已经安装了这个包。
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
查看kernel.org的git发现这三个文件实际上是存在的。可能是Debian上游打包kernel.org的linux-firmware时这几个文件还没有,解决方法是手动下载linux-firmware,将对应文件直接放入/lib/firmware/i915里即可。
git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
cd linux-firmware/i915
sudo cp bxt_huc_ver01_8_2893.bin /lib/firmware/i915/
sudo cp icl_dmc_ver1_07.bin /lib/firmware/i915/
sudo cp tgl_dmc_ver2_04.bin /lib/firmware/i915/
reboot
注: linux-firmware也可以从各镜像站获取,如:https://mirrors.cloud.tencent.com/linux-kernel/firmware/linux-firmware-20200122.tar.xz
发表于 2020-01-28 20:23:00 并被添加「」标签,阅读量: 1352 。
此处评论已关闭