Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boot partition too small when installing realtime kernel #1

Open
tanius opened this issue Mar 31, 2018 · 0 comments
Open

Boot partition too small when installing realtime kernel #1

tanius opened this issue Mar 31, 2018 · 0 comments

Comments

@tanius
Copy link
Owner

tanius commented Mar 31, 2018

There is an issue with the instructions to install the PREEMPT_RT Linux kernel on a Raspberry Pi 3:

The /boot partition is by default only 41 MiB in size, which is not enough when having this kernel installed in parallel.

Whenever update-initramfs needs to run, it will complain that not enough disk space is available on /boot (to create a backup of the current initramfs image). This happens even without updating the kernel via apt, for example on updates to the initramfs-tools package. So it has to be resolved.

As a workaround, it is possible to free up enough space by removing the files /boot/kernel.img and /boot/kernel7.img. These are the default Raspberry Pi 1 / 2 resp. Raspberry Pi 3 kernels, not used as we configured kernel=vmlinuz-4.14.14-rt10-v7 in /boot/config.txt. The files belong to package raspberrypi-kernel, which we (probably) can't uninstall as it also contains several firmware images etc. in /boot.

As a proper solution, the /boot partition should simply be made larger right from the start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant