mox: Could not read info about Turris OS factory image on TOS 6.0.x
Diagnostics fails to fetch info about Turris OS factory image on Turris Mox.
root@mox:~# /usr/share/diagnostics/diagnostics.sh system-info
############## system-info
[...]
== Factory OS release ==
mount: /tmp/tmp.iCoLed: special device /dev/mmcblk1p1 does not exist.
!! Could not mount factory image !!
************** system-info
And indeed mmcblk1p1
does not exist, because rootfs resides on /dev/mmcblk0p1
.
root@mox:~# root@mox-ap:~# findmnt
TARGET SOURCE FSTYPE OPTIONS
/ /dev/mmcblk0p1[/@] btrfs rw,noatime,ssd,space_cache,commit=5,subvolid=389,subvol=/@
Please note that current version of system-info.module
works fine on TOS 5.4, where sd card is recognized as /dev/mmcblk1
. So change most likely came with newer kernel on TOS 6.0.