Also note that this does not build the image from ‘source’. All this is doing is fetching the latest prebuilt filesystem (which is unstable for Pi), and builds the installer from source with the filesystem embedded in the disk image
unable to get drive geometry refers to the fact we are using a mapper loopback, not a real device. It does not affect the build process and it appears on mine too.
I was unable to access your logs, please use the OSMC pastebin.
Please note:
Running in container virtualised environments is not supported (LXC, OpenVZ), as block level interactions are impaired
No guarantee of success under virtualised environments, with exception of KVM which we use daily./
It isn’t my kernel, but a synchronization or latency problem. after several research and change script, I has a solution that works with the addition of the command sleep in your script build.sh !!
I look for a rational explanation for my problem … maybe just my laptop is no longer young … like me
Following my work, I propose this new script that allowed me to work faster on the image building :