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

firstboot script hangs if image contains already kernel 6.1 #70

Closed
KwadFan opened this issue Mar 24, 2023 · 0 comments · Fixed by #71
Closed

firstboot script hangs if image contains already kernel 6.1 #70

KwadFan opened this issue Mar 24, 2023 · 0 comments · Fixed by #71

Comments

@KwadFan
Copy link
Contributor

KwadFan commented Mar 24, 2023

Hey there,

Please forgive me if my english isn't the best, I am no native english speaker.

I am one of the MainsailOS maintainers and some users reported an Issu that our latest Image hangs on the first boot while Generating SSH Keys ... is running.

After a bit of research I identified the root cause in the fix_partuuid function of first boot script.
To come them by I commented out the whiptail lines and added set -ex to see whats going on.

firstboot

As you can see it struggles to do the step. I waited for around 20minutes on a Pi Zero 2 W without being successful.

To prove the issue please use our latest image using rpi-imager.

As proof of concept for that script you can use an artifact of my patched version from here:

https://github.com/mainsail-crew/MainsailOS/actions/runs/4515245620

But I think you can also reproduce it with pi-gen using the latest kernel instead of kernel 5.15y which is currently shipped in rpi-imager

I will open a PR on that, to prevent you are running into that issue with future releases of Raspberry Pi OS.

Regards Kwad

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

Successfully merging a pull request may close this issue.

1 participant