howtos:loop-devices
Differences
This shows you the differences between two versions of the page.
howtos:loop-devices [25/08/2017 14:41] – created domingo | howtos:loop-devices [02/12/2018 21:34] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | If you encounter this error while trying to mount a loop device (cd-image and such): | ||
+ | |||
+ | < | ||
+ | $ sudo mount -o loop -t squashfs / | ||
+ | mount: could not find any free loop device | ||
+ | </ | ||
+ | |||
+ | you have run out of loop devices. | ||
+ | |||
+ | Here's a script to create from loop8 to loop63: | ||
+ | |||
+ | < | ||
+ | for ((i=8; | ||
+ | [ -e /dev/loop$i ] || mknod -m 0600 /dev/loop$i b 7 $i | ||
+ | done | ||
+ | </ | ||
+ | |||
howtos/loop-devices.txt · Last modified: 02/12/2018 21:34 by 127.0.0.1