Boot partition on raspberrypi image to small for updates

Bug #1732246 reported by sam tygier
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu MATE
Expired
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.

Tags: rpi xenial
Revision history for this message
sam tygier (samtygier) wrote :
Revision history for this message
Iván Balseiro García (ivan-balseiro91) wrote :

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!

Norbert (nrbrtx)
tags: added: xenial
Norbert (nrbrtx)
tags: added: rpi
Revision history for this message
Norbert (nrbrtx) wrote :

Can you reproduce this bug with newer version of Ubuntu MATE?

Changed in ubuntu-mate:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu MATE because there has been no activity for 60 days.]

Changed in ubuntu-mate:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.