title: Error: "gzip: stdout: No space left on device" during Linux kernel upgrade (while there is space)
body: <p>I'm currently in the process of trying to upgrade my Linux kernel from 4.4.0-63 to 4.10.12. I've gotten through the steps (by using <a href="http://www.thegeekstuff.com/2013/06/compile-linux-kernel" rel="nofollow noreferrer">http://www.thegeekstuff.com/2013/06/compile-linux-kernel</a> manual) of: <code>make</code> -> <code>make modules</code> -> <code>make modules_install</code></p>
  
  <p>Though once I try to do "<code>make install</code>" I get the following error:</p>
  
  <pre><code>user@thiscomp:/usr/src/linux-4.10.12$ sudo make install
  sh ./arch/x86/boot/install.sh 4.10.12 arch/x86/boot/bzImage \
              System.map "/boot"
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.12 
  /boot/vmlinuz-4.10.12
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.12 
  /boot/vmlinuz-4.10.12
  update-initramfs: Generating /boot/initrd.img-4.10.12
  W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast
  
  gzip: stdout: No space left on device
  E: mkinitramfs failure cpio 141 gzip 1
  update-initramfs: failed for /boot/initrd.img-4.10.12 with 1.
  run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  make[1]: *** [install] Error 1
  make: *** [install] Error 2
  </code></pre>
  
  <p>First, I checked to see if /boot was full, but it seemed like it wasn't:</p>
  
  <pre><code>user@thiscomp:/usr/src/linux-4.10.12$ df -h
  Filesystem      Size  Used Avail Use% Mounted on
  /dev/dm-0       252G   43G  197G  18% /
  ...
  /dev/sda1       236M   75M  149M  34% /boot
  </code></pre>
  
  <p>From what I've seen online, this usually has to do with past kernel versions s ticking around longer than they need to. Though, from what I was able to see, there weren't past versions hanging out after running "<code>dpkg -l linux-image*</code>":</p>
  
  <pre><code>un  linux-image     
  ii  linux-image-4.4.0-63-generic  
  ii  linux-image-extra-4.4.0-63-generic
  ii  linux-image-generic-lts-xenial
  </code></pre>
  
  <p>I'm not sure where else to look to figure out the problem (especially since it seems like /boot isn't full). Any ideas?</p>
  
  <p><strong>edit</strong>
  Adding comment requested commands:</p>
  
  <pre><code>user@thiscomp:/usr/src/linux-4.10.12$ df -i
  Filesystem       Inodes  IUsed    IFree IUse% Mounted on
  /dev/dm-0      16777216 469172 16308044    3% /
  ..
  /dev/sda1         62248    307    61941    1% /boot
  user@thiscomp:/usr/src/linux-4.10.12$ ls -l /boot
  total 69528
  -rw-r--r-- 1 root root  1245512 Feb 13 06:43 abi-4.4.0-63-generic
  -rw-r--r-- 1 root root   203277 Apr 25 22:42 config-4.10.12
  -rw-r--r-- 1 root root   203277 Apr 25 22:32 config-4.10.12.old
  -rw-r--r-- 1 root root   190255 Feb 13 06:43 config-4.4.0-63-generic
  drwxr-xr-x 5 root root     1024 Apr 25 20:17 grub
  -rw-r--r-- 1 root root 35960364 Apr 25 17:46 initrd.img-4.4.0-63-generic
  drwx------ 2 root root    12288 Feb 15 16:18 lost+found
  -rw-r--r-- 1 root root   176500 Mar 12  2014 memtest86+.bin
  -rw-r--r-- 1 root root   178176 Mar 12  2014 memtest86+.elf
  -rw-r--r-- 1 root root   178680 Mar 12  2014 memtest86+_multiboot.bin
  -rw-r--r-- 1 root root  3662296 Apr 25 22:42 System.map-4.10.12
  -rw-r--r-- 1 root root  3662296 Apr 25 22:32 System.map-4.10.12.old
  -rw------- 1 root root  3897401 Feb 13 06:43 System.map-4.4.0-63-generic
  -rw-r--r-- 1 root root  7169312 Apr 25 22:42 vmlinuz-4.10.12
  -rw-r--r-- 1 root root  7169312 Apr 25 22:32 vmlinuz-4.10.12.old
  -rw------- 1 root root  6989520 Feb 13 06:43 vmlinuz-4.4.0-63-generic
  </code></pre>
  
  <p><strong>edit2</strong> mounted tmpfs:</p>
  
  <pre><code>user@thiscomp:/usr/src/linux-4.10.12$ sudo mount -t tmpfs none /boot
  user@thiscomp:/usr/src/linux-4.10.12$ sudo make install
  sh ./arch/x86/boot/install.sh 4.10.12 arch/x86/boot/bzImage \
              System.map "/boot"
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.12         
  /boot/vmlinuz-4.10.12
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.12                 
  /boot/vmlinuz-4.10.12
  update-initramfs: Generating /boot/initrd.img-4.10.12
  W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast
  run-parts: executing /etc/kernel/postinst.d/pm-utils 4.10.12 /boot/vmlinuz-
  4.10.12
  run-parts: executing /etc/kernel/postinst.d/update-notifier 4.10.12 
  /boot/vmlinuz-4.10.12
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.10.12 
  /boot/vmlinuz-4.10.12
  comp528@virt05:/usr/src/linux-4.10.12$ df -h
  Filesystem      Size  Used Avail Use% Mounted on
  /dev/dm-0       252G   43G  197G  18% /
  ...
  none             16G  310M   16G   2% /boot
  </code></pre>