-
Notifications
You must be signed in to change notification settings - Fork 15
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.service not working #23
Comments
Which version of the image are u using? The 20240226? |
My system:
Today I tried to collect a clean image for testing. Updated the repository.
|
It seems that the patches are not applied to kernel correctly. You can remove the build/linux directory and run mklinux.sh again. |
Today everything came together without errors. Noticed that the command "./mkrootfs.sh" requires sudo
When you try to boot from the SD, the boot stops.
|
It seems that the kernel is not installed correctly. You can check the boot partition. |
Checked it today.
Judging by the logs, the firstboot.service does not start. But if you add the line "tar -vf ./build/rootfs.tar --delete ./etc/machine-id" to the end of the mkrootfs.sh file, you will see in the logs
Then you can log in normally.
|
Login failure may be related to the system initialization not being complete yet. When logging in for the first time after flashing, the waiting time will be longer. Generally speaking, you should be able to log in successfully after seeing the UTMP service related information displayed on the lpi3h terminal. As for the firstboot.service, the version of 20240228 image I tested was able to boot up successfully. If you don't see it in the serial information, you can use commands to check the relevant logs: systemctl status firstboot |
I'm building firmware in VirtualBox. Could this affect the result? |
firstboot.service is not working. There is no user in the system.
Possible solution: when creating rootfs you need to delete /etc/machine-id
The text was updated successfully, but these errors were encountered: