PDA

View Full Version : [ubuntu] 14.04 boot volume



at2smithjason
November 27th, 2014, 10:29 AM
For the last couple of days I havent been able to install any updates to my laptop. This is what I habe been getting...
258232

Any suggestions on how to trim the fat from my boot volume.

ajgreeny
November 27th, 2014, 12:16 PM
Why do you have a separate /boot partition?
Is your system using either LVM or encryption?

Both of those require a separate /boot partition, but otherwise it is unnecessary, and more often than not results in this exact problem where /boot is full, no doubt with old kernels following updates.

Try
sudo apt-get autoremove which may remove all but the last two kernels you have installed, and make sure to note which kernels, if any, are removed by that command. It it does not remove any kernels, (for some reason it seems to work on some installations but not others), you will need to do it separately.

You can see what kernels you have with command
ls /boot | grep vmlinuzand then remove them with apt-get.
My output from that command is

vmlinuz-3.13.0-39-generic
vmlinuz-3.13.0-40-generic and the associated apt-get command would have to change the word vmlinuz to linux-image for the versions to remove, ie
sudo apt-get remove linux-image-3.13.0-39-generic
Note I have only two kernels as I clean out the old ones after kernel updates; you may have many more, but always leave the latest two versions.