When updating my Ubuntu from 12.10 to 13.04 I get the message
'Your boot folder is too small, make more space'
although my harddrive has still plenty of place left.
How can I make that boot folder bigger?
Determine which kernel you're running, via uname -r
. Remember this - don't delete anything with this version.
See which kernels, tools, etc you have installed, with:
dpkg -l linux-image\*
dpkg -l linux-headers\*
dpkg -l linux-tools\*
Carefully avoiding the current version (shown by uname -r
), delete older versions using sudo apt-get remove ...
and sudo apt-get purge ...
.
If you can't get enough space the above way, you'll have to switch to Plan B.
Plan B is:
Read man gparted
Boot from a live CD containing gparted
.
Use gparted
to shrink one of the partitions next to /boot
, and expand /boot
into the newly freed space.
df -H
. Mind you: if you have a /boot in there ... that partition is too small;so remove kernels ;)