fenix icon indicating copy to clipboard operation
fenix copied to clipboard

Error while mounting loop device

Open ghost opened this issue 4 years ago • 5 comments

I am using the docker image to build an eMMC of Debian Server. Every time I came across this error while compiling.

Info: Preparing image file for rootfs...
Info: Current rootfs cache size: 1724 MiB
Info: Creating eMMC rootfs image...
0+0 records in
0+0 records out
0 bytes copied, 0.000140479 s, 0.0 kB/s
mount: /home/khadas/fenix/build/images/rootfs: failed to setup loop device for /home/khadas/fenix/build/images/rootfs.img.
Cleanup...
make: *** [Makefile:5: all] Error 32

ghost avatar Jun 01 '21 06:06 ghost

Hi, Already mentionned here https://github.com/khadas/fenix/issues/138 ;)

Pea13 avatar Jun 01 '21 07:06 Pea13

Just a quick update, I tried build the image on a live usb and everything went fine. The problem seems to be with docker image itself.

ghost avatar Jun 01 '21 12:06 ghost

What's your host PC system? And please provide the full build logs.

numbqq avatar Jun 04 '21 01:06 numbqq

Hi, For me the issue is fixed. The loop device was missing on my host (sudo modprobe loop fixes the issue). Regards,

Pea13 avatar Jun 04 '21 15:06 Pea13

@numbqq Hi, I've changed my distro, maybe it was the same problem was Pea13.

ghost avatar Jun 14 '21 16:06 ghost