Help with removing old kernals and expanding /boot

edited September 2015 in Software
So I am having trouble with an update that asks me to expand my /boot partition. When I try to install the update I get this:
The upgrade needs a total of 78.8 M free space on disk '/boot'. Please free at least an additional 11.0 M of disk space on '/boot'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.
I have elementary OS 0.3 Freya (32-bit) which is based on Ubuntu 14.04. I did looked up what to do and read here, I'm not quite sure where to go from there...

I also did this:
brad@Indi:~$ ls /boot
abi-3.16.0-43-generic  config-3.16.0-43-generic  grub   initrd.img-3.16.0-46-generic  System.map-3.16.0-45-generic  vmlinuz-3.16.0-45-generic
abi-3.16.0-44-generic  config-3.16.0-44-generic  initrd.img-3.16.0-43-generic  lost+found  System.map-3.16.0-46-generic  vmlinuz-3.16.0-46-generic
abi-3.16.0-45-generic  config-3.16.0-45-generic  initrd.img-3.16.0-44-generic  System.map-3.16.0-43-generic  vmlinuz-3.16.0-43-generic
abi-3.16.0-46-generic  config-3.16.0-46-generic  initrd.img-3.16.0-45-generic  System.map-3.16.0-44-generic  vmlinuz-3.16.0-44-generic

Thanks in advance.

Comments

  • The link pretty much says it all. Essentially you need to remove older kernels.

    I have a script to do it that I copy to every *nix system I manage.
  • Delete the following
    abi-3.16.0-43-generic  config-3.16.0-43-generic  System.map-3.16.0-45-generic  vmlinuz-3.16.0-45-generic
    abi-3.16.0-44-generic  config-3.16.0-44-generic  initrd.img-3.16.0-43-generic  System.map-3.16.0-43-generic
    abi-3.16.0-45-generic  config-3.16.0-45-generic  initrd.img-3.16.0-44-generic  vmlinuz-3.16.0-43-generic
    initrd.img-3.16.0-45-generic  System.map-3.16.0-44-generic  vmlinuz-3.16.0-44-generic
    

    That should clear up plenty of space.
  • Don't remove them manually! Use apt-get autoremove.
  • Ok thank you guy's. I will do it when I have some time. I was just wondering because I really don't want to screw any thing up...
Sign In or Register to comment.