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!!
Windows doesn’t always format flash media correctly. i.e. the partition start locationmay
be such that writes to flash memory end up getting done twice, which shortens the media life considerably.
The SD card formatter creates partitions that start in the correct location, thus avoiding that issue.
Thanks Bill but I’ve tried that and several 3rd party tools - non of them work.
The official tool you point to says it does a quick format - but it doesn’t. The full format bombs out saying formatting failed after a few seconds. Basically whatever you try, you can’t get rid of the partitions, I’ve tried on Windows and on Raspbian.
Interestingly if you look at the SanDisk warranty page the High Endurance cards have about the lowest warranty period - 2 years - some Ultra cards are warranted for a lot longer, 5 or 10 years and the Extreme have a lifetime warranty → Warranty Table
I’ve applied for a replacement under the scheme - we’ll see what happens.