Boot partition on raspberrypi image to small for updates

Bug #1732246 reported by sam tygier on 2017-11-14
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu MATE
Undecided
Unassigned

Bug Description

Steps to reproduce.

1) Install from ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi.img.xz (unzip, dd to sd card, put in pi, boot, set up username etc in firstboot wizard)
2) Open software updater (System -> Administration -> Software Updater)
3) Once it has found a list of updates, click Install Now
4) Updates aborts with message
"Not enough free disk space"
"The upgrade needs a total of 48.2 M free space on disk '/boot'. Please free an additional 4,063 k of disk space on '/boot' ..."

Running "sudo apt autoremove" does not help as there are no old kernels to clean up.

The /boot partition is 63MB, I guess it should be increased, at least to ~70MB so that the initial updates will work, but maybe 128MB or 200MB would be more future proof.

I have reported it also but I found a solution, delete the kernel from boot that doesnt correspond to your device, for example if you have a rpi3b delete the kernel.img and if you have other rpi delete the kernel7.img and you will have space.

You need to go to /boot and do it as admin:

cd /boot
sudo su
(enter password)
rm kernel.img or kernel7.img depending on the device.

Good luck!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers