I run DietPi
on my Raspberry Pi 2, which I use exclusively for programming Atari Lynx cartridges via the Lynx Cart Programmer Pi-Hat
and as a result the Raspberry Pi is only ever turned on when I need to burn ROMs to cartridges. Usually this is a quick process but sometimes I noticed it runs into errors on boot with the "Waiting for Dietpi-Postboot to finish (x/15) - syntax error in expression"
error appears over and over.
I've put up with this for a while but eventually it got the better of me and I had to fix it. Turned out the fix was really quite simple!
There is syntax error in one of the DietPi scripts. Specifically the /DietPi/dietpi/login
script. There is a line that reads like this...
The line should read like this (just add the " 2 "
After this fix those errors disappear. Nice and easy!
A quick disclaimer...
Although I put in a great effort into researching all the topics I cover, mistakes can happen.
If you spot something out of place, please do let me know.
All content and opinions expressed on this Blog are my own and do not represent the opinions of my employer (Oracle).
Use of any information contained in this blog post/article is subject to this disclaimer
Other posts you may like...