Unable to fully install initramfs-tools
on debian 12 with additional harddisk errors
大致问题
https://www.techpository.com/linux-error-with-update-initramfs-no-space-left-on-device/
1 | update-initramfs: Generating /boot/initrd.img-6.1.0-23-amd64 |
解决
首先,创建一个文件/etc/initramfs-tools/conf.d/modules
,内容为MODULES=dep
1 | echo "MODULES=dep" > /etc/initramfs-tools/conf.d/modules |
然后执行 update-initramfs -u
或 update-initramfs -k all -u
搞定