-
Notifications
You must be signed in to change notification settings - Fork 5k
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
after apt upgrade to kernel 6.6.31 pi still boots into 6.6.20 #6212
Comments
This comment was marked as abuse.
This comment was marked as abuse.
Unfortunately same doesn't work for me. I got some warning during install about MD subsystem is not loaded. Might be relevant
Did old kernels got deleted for you or they are still installed? |
so old kernels are not removed by
What would be the way to properly remove them? Thanks |
installed even older kernel 6.1.21+ but on re-boot pi is booted into 6.6.20 kernel. |
Have you attempted to update from Bullseye to Bookworm, or similar? Nobody else is (or should be) having these problems. |
That's definitely the wrong thing to do. Your logs earlier shows the right version getting installed. If it's not booting the right one, then your partition mountpoints may be set up incorrectly. Apt will keep the currently running kernel and the previous kernel available just in case something goes wrong and you need to copy the old one. There's a proposal to add an option to raspi-config to remove unused kernels here, |
I’m building an image on CircleCi. |
Can you show how you do that? |
Via these scripts: https://github.com/bareboat-necessities/lysmarine_gen/blob/bookworm/cross-build-release/raspbian.sh And whole circleci starting point is here: https://github.com/bareboat-necessities/lysmarine_gen/blob/bookworm/.circleci/config.yml |
I think this should be |
(with a corresponding change to the line above as well) |
Describe the bug
I did
it installed kernel 6.6.31
however old kernel 6.6.20 is still not removed and takes lots of space
Worse, pi5 still boots into old 6.6.20 kernel
Steps to reproduce the behaviour
it installed kernel 6.6.31
however old kernel 6.6.20 is still not removed and takes lots of space
Worse, pi5 still boots into old 6.6.20 kernel
Device (s)
Raspberry Pi 5
System
Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: