Hey Guys,
I having a lot of problems with the pin64 openhab build and I’m looking at starting fresh.
What would you guys recommend installing on the pine64 that works great?
I would recommend Debian Base (3.10.102 BSP 2)
https://www.pine64.pro/downloads/
In my case it works much better than Ubuntu package.
If you need some GUI take LXDE version.
Then go straight with OH2 docs installation process http://docs.openhab.org/installation/linux.html.
I prefer Manual installation.
I was looking at that one. I tried Ubuntu but had problems installing
oracle java. it seemed the only way I could get my z wave to work was with
the pine64 open ha build.
also do I need to run the script to resize the partion?
Thanks
Yes you should resize your partition to sdcard capacity.
The following script should do the job:
#!/bin/bash
fdisk_first() {
p2_start=`fdisk -l /dev/mmcblk0 | grep mmcblk0p2 | awk '{print $2}'`
echo "Found the start point of mmcblk0p2: $p2_start"
fdisk /dev/mmcblk0 << __EOF__ >> /dev/null
d
2
n
p
2
$p2_start
p
w
__EOF__
sync
touch /root/.resize
echo "Ok, Partition resized, please reboot now"
echo "Once the reboot is completed please run this script again"
}
resize_fs() {
echo "Activating the new size"
resize2fs /dev/mmcblk0p2 >> /dev/null
echo "Done!"
echo "Enjoy your new space!"
rm -rf /root/.resize
}
if [ -f /root/.resize ]; then
resize_fs
else
fdisk_first
fi
Bit of an old topic but I used Armbian image for my 64 LTS board. The nice thing I like about Armbian base is that it already has an automated script to resize root on first boot.
I’ve also installed Java, openHAB, Samba and Mosquitto and made a starting image. If anyone’s interested you can download for my blog at https://smartesthouse.net/from-pine64-openhab-pinehab/