My plan is to reinstall openHABian on a bigger SDcard, and on a Raspberry Pi 4. The latest release (v1.5) supports the new Pi 4, and I decided it’s time to do a fresh install, and see if all my Playbooks are still working.
As always, I’m searching my shell history for the right command how to install the image … but came up empty.
The openHAB Raspberry image, by default, listens on port 8080. After using the image for a while, it became quite boring to always add the port to the URL. Quickly I decided to redirect port 80 to port 8080, and make my life easier.
Not sure how much work that is in the openHAB settings, I settled with redirecting or forwarding the port 80 to port 8080.
Sometimes old computers are not updated quickly enough, or just kept running …
Sometimes update-initramfs leaves old initrd images around in /boot, even when the kernel package is deinstalled. Deleting the file does not help, the next run of update-initramfs will recreate the file.
The solution is simple: all kernels which need to be rebuild are in /var/lib/initramfs-tools/ - just delete the old ones, and the images in /boot, and they will not be recreated.