ubuntu下 内核安装 sudo make install 时报如下错误

ubuntu下 内核安装 sudo make install 时报如下错误

root@xc-OptiPlex-7060:/usr/src/linux-4.20.17# sudo make install
sh ./arch/x86/boot/install.sh 4.20.17 arch/x86/boot/bzImage
System.map “/boot”
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.20.17 /boot/vmlinuz-4.20.17
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.20.17 /boot/vmlinuz-4.20.17
update-initramfs: Generating /boot/initrd.img-4.20.17
I: The initramfs will attempt to resume from /dev/sda8
I: (UUID=ef0dc935-bb63-48e4-99a2-44c3354c00db)
I: Set the RESUME variable to override this.

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.20.17 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
arch/x86/boot/Makefile:155: recipe for target ‘install’ failed
make[1]: *** [install] Error 1
arch/x86/Makefile:288: recipe for target ‘install’ failed
make: *** [install] Error 2

解决办法:

sudo apt-get install initramfs*

你可能感兴趣的:(linux)