ayufan-pine64 / linux-build

Pine64 Linux build scripts, tools and instructions (based on Longsleep work)
MIT License
154 stars 36 forks source link

Boot partition to small (prevents UBUNTU release upgrade) #22

Closed MaikStohn closed 7 years ago

MaikStohn commented 7 years ago

I just played around with the ubuntu release update which does not want to start due to insufficient space in "/boot" reported (asking for 40MB more).

Out of curiosity I booted from SD card and increased the boot partition with "gparted".

Later I was able to do a release upgrade of ubuntu using the standard commands. It took quite a while. But 2 hours and one reboot later I had Ubuntu 16.10 running on my pinebook. The kernel itself was NOT updated (/boot stayed 100% same).

No problems so far with Ubuntu 16.10 and the old 3.10 kernel. All seems to work as expected.

So increasing the /boot partition by 40 MB seems to do the trick (even that it is not used).

ayufan commented 7 years ago

But, why ubuntu touches /boot? Did it try to install kernel/

MaikStohn commented 7 years ago

Funny thing, it did not touch /boot at all. It just wanted to have some free space there (maybe because it usually installs new kernel there).

So increasing the /boot partition to have 40 MB free just did the trick.

pfeerick commented 7 years ago

It's not Ubuntu per se, it is the Software Updater GUI that they use. Basically it appears to require a minimum amount of free space on /boot, which is annoying, especially when it still affects the raspberry pi as of a month ago. I resized the partition on the SD card to 100MB, and the Software Updated ran just fine, and never touched /boot, stupid thing.

ayufan commented 7 years ago

Ok. Thanks:)

On Sat, 8 Jul 2017 at 11:55, Peter notifications@github.com wrote:

It's not Ubuntu per se, it is the Software Updater GUI that they use. Basically it appears to require a minimum amount of free space on /boot, which is annoying, especially when it still affects the raspberry pi as of a month ago. I resized the partition on the SD card to 100MB, and the Software Updated ran just fine, and never touched /boot, stupid thing.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/ayufan-pine64/linux-build/issues/22#issuecomment-313846364, or mute the thread https://github.com/notifications/unsubscribe-auth/ACTpQS22lGM2vAdG0p5BL-G8jalpVfQRks5sL1IBgaJpZM4OOdcP .

pfeerick commented 7 years ago

Just give me a minute... I'll do a PR with changed partition size if you want it ;)

ayufan commented 7 years ago

This is solved by https://github.com/ayufan-pine64/linux-build/pull/23