From f8a48ab41ddc78e6672cc5bc0d1f60c67f630d52 Mon Sep 17 00:00:00 2001 From: Guoqiang Ding Date: Mon, 5 Dec 2022 22:05:54 +0800 Subject: [PATCH] docs: add hint of probing loop module If `loop` module is not probed, it causes error like "losetup: cannot find an unused loop device". Fixes: #5887 Signed-off-by: Guoqiang Ding --- docs/Developer-Guide.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/Developer-Guide.md b/docs/Developer-Guide.md index a57bd2d72b..fe6aaebd3c 100644 --- a/docs/Developer-Guide.md +++ b/docs/Developer-Guide.md @@ -292,6 +292,7 @@ $ popd > variable in the previous command and ensure the `qemu-img` command is > available on your system. > - If `qemu-img` is not installed, you will likely see errors such as `ERROR: File /dev/loop19p1 is not a block device` and `losetup: /tmp/tmp.bHz11oY851: Warning: file is smaller than 512 bytes; the loop device may be useless or invisible for system tools`. These can be mitigated by installing the `qemu-img` command (available in the `qemu-img` package on Fedora or the `qemu-utils` package on Debian). +> - If `loop` module is not probed, you will likely see errors such as `losetup: cannot find an unused loop device`. Execute `modprobe loop` could resolve it. ### Install the rootfs image