anotherusername2
December 13th, 2015, 09:29 AM
I have been trying to update but my /boot folder seems to be full again. I had posted once about this here (http://ubuntuforums.org/showthread.php?t=2303580), thinking it was a one-time thing, but I have the same problem again. To avoid the inconvenience of (probably) having this problem from time to time, is it OK if I remove the three or four oldest kernels? (I'm a beginner, so I'm just basing this on the solutions given to me in the other thread.) Is it safe to take out as many as you can?
me@me-PORTEGE-M600:~$ sudo apt-get autoremove
[sudo] password for me:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded.
me@me-PORTEGE-M600:~$ df -h /boot
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 236M 158M 67M 71% /boot
me@me-PORTEGE-M600:~$ ls -lhA /boot
total 149M
-rw-r--r-- 1 root root 1.2M Sep 9 19:36 abi-3.16.0-49-generic
-rw-r--r-- 1 root root 1.2M Oct 3 08:19 abi-3.16.0-50-generic
-rw-r--r-- 1 root root 1.2M Oct 8 00:58 abi-3.16.0-51-generic
-rw-r--r-- 1 root root 1.2M Nov 7 04:36 abi-3.16.0-53-generic
-rw-r--r-- 1 root root 173K Sep 9 19:36 config-3.16.0-49-generic
-rw-r--r-- 1 root root 173K Oct 3 08:19 config-3.16.0-50-generic
-rw-r--r-- 1 root root 173K Oct 8 00:58 config-3.16.0-51-generic
-rw-r--r-- 1 root root 173K Nov 7 04:36 config-3.16.0-53-generic
drwxr-xr-x 5 root root 1.0K Nov 21 10:26 grub
-rw-r--r-- 1 root root 28M Sep 28 17:10 initrd.img-3.16.0-49-generic
-rw-r--r-- 1 root root 28M Oct 17 07:39 initrd.img-3.16.0-50-generic
-rw-r--r-- 1 root root 28M Oct 24 09:12 initrd.img-3.16.0-51-generic
-rw-r--r-- 1 root root 28M Nov 21 10:26 initrd.img-3.16.0-53-generic
drwx------ 2 root root 12K Sep 28 02:00 lost+found
-rw-r--r-- 1 root root 173K Mar 12 2014 memtest86+.bin
-rw-r--r-- 1 root root 174K Mar 12 2014 memtest86+.elf
-rw-r--r-- 1 root root 175K Mar 12 2014 memtest86+_multiboot.bin
-rw------- 1 root root 2.7M Sep 9 19:36 System.map-3.16.0-49-generic
-rw------- 1 root root 2.7M Oct 3 08:19 System.map-3.16.0-50-generic
-rw------- 1 root root 2.7M Oct 8 00:58 System.map-3.16.0-51-generic
-rw------- 1 root root 2.7M Nov 7 04:36 System.map-3.16.0-53-generic
-rw------- 1 root root 5.8M Sep 9 19:36 vmlinuz-3.16.0-49-generic
-rw------- 1 root root 5.8M Oct 3 08:19 vmlinuz-3.16.0-50-generic
-rw------- 1 root root 5.8M Oct 8 00:58 vmlinuz-3.16.0-51-generic
-rw------- 1 root root 5.8M Nov 7 04:36 vmlinuz-3.16.0-53-generic
me@me-PORTEGE-M600:~$ sudo apt-get autoremove
[sudo] password for me:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded.
me@me-PORTEGE-M600:~$ df -h /boot
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 236M 158M 67M 71% /boot
me@me-PORTEGE-M600:~$ ls -lhA /boot
total 149M
-rw-r--r-- 1 root root 1.2M Sep 9 19:36 abi-3.16.0-49-generic
-rw-r--r-- 1 root root 1.2M Oct 3 08:19 abi-3.16.0-50-generic
-rw-r--r-- 1 root root 1.2M Oct 8 00:58 abi-3.16.0-51-generic
-rw-r--r-- 1 root root 1.2M Nov 7 04:36 abi-3.16.0-53-generic
-rw-r--r-- 1 root root 173K Sep 9 19:36 config-3.16.0-49-generic
-rw-r--r-- 1 root root 173K Oct 3 08:19 config-3.16.0-50-generic
-rw-r--r-- 1 root root 173K Oct 8 00:58 config-3.16.0-51-generic
-rw-r--r-- 1 root root 173K Nov 7 04:36 config-3.16.0-53-generic
drwxr-xr-x 5 root root 1.0K Nov 21 10:26 grub
-rw-r--r-- 1 root root 28M Sep 28 17:10 initrd.img-3.16.0-49-generic
-rw-r--r-- 1 root root 28M Oct 17 07:39 initrd.img-3.16.0-50-generic
-rw-r--r-- 1 root root 28M Oct 24 09:12 initrd.img-3.16.0-51-generic
-rw-r--r-- 1 root root 28M Nov 21 10:26 initrd.img-3.16.0-53-generic
drwx------ 2 root root 12K Sep 28 02:00 lost+found
-rw-r--r-- 1 root root 173K Mar 12 2014 memtest86+.bin
-rw-r--r-- 1 root root 174K Mar 12 2014 memtest86+.elf
-rw-r--r-- 1 root root 175K Mar 12 2014 memtest86+_multiboot.bin
-rw------- 1 root root 2.7M Sep 9 19:36 System.map-3.16.0-49-generic
-rw------- 1 root root 2.7M Oct 3 08:19 System.map-3.16.0-50-generic
-rw------- 1 root root 2.7M Oct 8 00:58 System.map-3.16.0-51-generic
-rw------- 1 root root 2.7M Nov 7 04:36 System.map-3.16.0-53-generic
-rw------- 1 root root 5.8M Sep 9 19:36 vmlinuz-3.16.0-49-generic
-rw------- 1 root root 5.8M Oct 3 08:19 vmlinuz-3.16.0-50-generic
-rw------- 1 root root 5.8M Oct 8 00:58 vmlinuz-3.16.0-51-generic
-rw------- 1 root root 5.8M Nov 7 04:36 vmlinuz-3.16.0-53-generic