I think this is reasonably robust now. It just takes a while to do the first boot so be patient there. The install seems to work fine if you do all the bits (almost forgot a couple last time).
Those Git fixes are yet to be merged so need to do the manual fixes for now.
The Jul21 is not a Bullseye based release, which is half the reason for the Nov22 release. Jul21 is an old Raspbian base system that is really out of date now. Over 600 packages need updated and that isn’t good.
As I only need emonhub for the MBUS hat, I’ll start with RaspPiOs 32bit Lite, and manually install only emonhub using emonscripts (making relevant mods to ensure it doesn’t pull php8.1).
Good news.
Following the instructions above, on top of a base RaspPiOs 32bit Lite, worked like a charm.
I have a working emonhub ( I chose not to install the rest of emon* as I don’t need that).
This is a nice little solution for the M-BUS hat, and a nice bonus is sticking a USB Jeenode in one of the USB ports allows it to be a great RF relay for some dead spots in my house.
Thanks Brian (and everyone) for all the work on this.
Thanks @borpin for looking into this! I have merged your pull request and created a stable release of the EmonScripts repository (v1.6.1). The Pi Zero 2W’s have arrived here, will hopefully get a chance to test this week
Brian, when I run the instructions, something odd happens. When I run df -h, it reports the rootfs partition as being only as big as it was before making the new partition etc. But lsblk shows it being the size I was expecting. I did change 20 to 12 in the instruction to make the 3rd partition but that’s the only change. This is on a 32G microSD.
See below.
Then when I run the script, it complains that there isn’t enough room in /var/cache/apt/archives/, so presumably based n what df -h is reporting?
Unfortunately the microSD now looks as though it is bricked
Re-installing raspbian fails the verify and when I put the card back in the windows PC, I can’t do anything to the partitions. 2nd one this year while I’ve been messing around.
So maybe we do need a script to make sure that the instructions are followed - you can rely on idiots like me to idiot proof instructions!!