- Platform information:
- Hardware: Raspberry pi v3 b
I am trying to set-up OH3.1 on my raspberry starting from the openhabian image, strictly following the instructions in the docs.
I downloaded the last available image (1.6.5) from this page. After burning the SD I only modified the hostname and set the wifi in openhabian.conf, because in my development raspberry i use wifi and not ethernet.
The installation proceeds correctly and I end up with a working OH3 instance.
I then connect to the raspberry an SD reader with another 16Gb SD card (same size as the one with openhab). This is the only device attached to the raspberry. The sd appears as /dev/sda1 and /dev/sda2 (it was already used with an older version).
In openhabian-config I select option
54 Raw copy SD . The copy takes approximately 30minutes. At the end the openhabian-config menu re-appears.
After the copy I tried to boot from the copied SD card but the raspberry is not reachable. Connecting the raspberry to the screen during boot it shows some message that it is waiting for partuuid=-02 and it stays there.
I performed the raw copy again setting debug to maximum in
/etc/openhabian.conf, this time.
The following error appears in the terminal window, after the 30minutes copy,
/opt/openhabian/functions/helpers.bash: line 31: set-partuuid: command not found
I searched the forum for the previous error and found the following thread from september 2020.
Based on the suggestions of that thread I performed the following
/usr/local/sbin(note in the thread it was in includes not includes/SD)
- I issued the command
set-partuuid /dev/sda2 random(which was exactly the command that I saw in the opehnabian-config log). As in the aforementioned thread, I was asked to agree to the installation of
gdisk not installed Ok to install gdisk (y/n)? y Installing gdisk
after the installation of gdisk I tried again option
54 Raw copy SD.
After the 30minutes copy, the previous error did not appear.
This time, after swapping the SD card, the raspberry is reachable again. So, I solved my problem for now.
I would conclude that the present version of the openhabian image (1.6.5 released on 6 may 2021) does not correctly install “set-partuuid”.
Is this conclusion correct?
EDIT: I am using the recommended “OpenHAB3” branch of openhabian and not the “main” one. I have not tested if this error occurs also in the “main” one.