我试图在Ubuntu Server上安装新内核,由于“gzip:stdout:设备上没有剩余空间”错误,我无法完成它.运行sudo make modules_install install后产生完整错误:
INSTALL /lib/firmware/cpia2/stv0672_vp4.bin
INSTALL /lib/firmware/yam/1200.bin
INSTALL /lib/firmware/yam/9600.bin
DEPMOD 3.16.0
sh ./arch/x86/boot/install.sh 3.16.0 arch/x86/boot/bzImage \n System.map "/boot"
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0 /boot/vmlinuz-3.16.0
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0 /boot/vmlinuz-3.16.0
update-initramfs: Generating /boot/initrd.img-3.16.0
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
make[1]: *** [install] Error 1
make: *** [install] Error 2
我使用df -h检查了磁盘空间,这是输出:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/server--vg-root 103G 33G 66G 34% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 63G 4.0K 63G 1% /dev
tmpfs 13G 1.8M 13G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 63G 148K 63G 1% /run/shm
none 100M 24K 100M 1% /run/user
/dev/sda1 236M 62M 162M 28% /boot
/home/stan/.Private 103G 33G 66G 34% /home/stan
我不明白为什么在给定空间量的情况下会产生这个错误.我已经在Debian和OpenSUSE上成功使用了完全相同的程序.