Repository navigation
Replies: 2 comments 2 replies
|
weird, looks like you might have your lfs.img attached to multiple loop devices. What does the output look like when you run |
|
Interesting, you're right, it is attached in multiple places: I'm not that familiar with losetup, so I also don't know if the ones that list (deleted) would cause problems too? |
Uh oh!
There was an error while loading. Please reload this page.
Hey @krglaws , I'm getting an error when starting the build with the below errors. I'm not that familiar with loop devices actually, does this make sense to you? Seems like after this error things proceed normally, although at the end of the build there is a similar error about unmounting a loop device which causes the build to 'fail'.
[2026-02-22 17:08:54] INFO: cleaning /home/mokrunka/MyLFS-dev/lfs.img...losetup: /dev/loop1 /dev/loop2 /dev/loop0: detach failed: No such file or directory done (0.172s) [2026-02-22 17:08:54] INFO: allocating /home/mokrunka/MyLFS-dev/lfs.img... done (0.164s) [2026-02-22 17:08:54] INFO: attaching /home/mokrunka/MyLFS-dev/lfs.img to /dev/loop3... done (0.009s) [2026-02-22 17:08:54] INFO: partitioning /dev/loop3... done (0.687s) [2026-02-22 17:08:55] INFO: reattaching /dev/loop3... done (2.017s) [2026-02-22 17:08:57] INFO: exporting /dev/loop3p1's PARTUUID label... done (1.033s) [2026-02-22 17:09:00] INFO: creating image file: done (10.051s) [2026-02-22 17:09:00] INFO: mounting image... [2026-02-22 17:09:00] INFO: making sure image is unmounted... [2026-02-22 17:09:00] INFO: unmounting /home/mokrunka/MyLFS-dev/mnt/lfs... done (4.800s) [2026-02-22 17:09:05] INFO: detatching /dev/loop1 /dev/loop2 /dev/loop0 /dev/loop3...losetup: /dev/loop1 /dev/loop2 /dev/loop0 /dev/loop3: detach failed: No such file or directory failed (0.009s) [2026-02-22 17:09:05] ERROR: making sure image is unmounted: failed (4.864s) [2026-02-22 17:09:05] INFO: attaching /dev/loop4... done (0.010s) [2026-02-22 17:09:05] INFO: mounting /dev/loop4p1 onto /home/mokrunka/MyLFS-dev/mnt/lfs... done (0.109s)All reactions