mkimage

Barnaby J Astles
I am having troubles creating the SD card image under the sd-fuse_nanopi
environment, here is the error:

root@NanoPI-CrossCompile:~/sd-fuse_nanopi# ./mkimage.sh
Creating partitions...
sfdisk: Disk /dev/loop0: cannot get geometry

Disk /dev/loop0: 512 cylinders, 255 heads, 63 sectors/track
Units: cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/loop0p1          0+     15-     16-    125000    c  W95 FAT32 (LBA)
/dev/loop0p2         15+    511     497-   3986616   83  Linux
/dev/loop0p3          0       -       0          0    0  Empty
/dev/loop0p4          0       -       0          0    0  Empty
Error: /dev/loop0p2 not exist, stop now.

Anyone have an idea what is not working?
I have RTFM and searched the web I am still working on fixing the geometry
problems

P.S. there are missing setup instructions on the wiki

davef
This is my main development platform but have not had this problem. 
/dev/loop0 rings a faint bell, but don't remember where I saw it.

What brand of microSD card are you using? 

andahammer.com have all the older NanoPi HowTo information which I use with
Matrix.

davef
Did you install kpartx?

I did have the problem!  Read the script under "Creating partitions ..."