Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
1  
Does your boot folder lives on a different partition? Maybe that partition is too small to add another kernel image. –  user85164 May 9 '13 at 23:29
    
show us the result of df -H. Mind you: if you have a /boot in there ... that partition is too small;so remove kernels ;) –  Rinzwind May 10 '13 at 0:52
    
I get a pop up when trying to update my Ubuntu. The upgrade needs a total of 26.7M free space on disk'/boot'. Please free at least an additional 10.6M of disk space on '/boot'. Empty your trash and temp packages of former installation using sudo apt-get clean I tried this and above and I am not able to clear out more files. I am not allowed to delete files. I am the admin on the computer. –  user254570 Mar 4 at 8:46

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.