loop devices

Daniel Robitaille robitaille at gmail.com
Mon Nov 8 08:11:10 UTC 2004


>   One problem I am having - loopback mounts. They only succeed after
>   manually modprobe'ing loop.
> 
> andyr at megabook:~ $ sudo bash
> Password:
> root at megabook:/export # mount -o loop wartywarthog.iso /mnt
> mount: could not find any device /dev/loop#
> root at megabook:/export # modprobe loop
> root at megabook:/export # mount -o loop wartywarthog.iso /mnt
> root at megabook:/export #
> root at megabook:/export # ps aux | grep dev
> root       444  0.0  0.0  1472  380 ?        S<s  08:28   0:00 udevd
> 
>   I grepped around /etc/mod* for clues, but only found this :-
> 
> /etc/modprobe.d/aliases:alias block-major-7  loop
> 
>   What else am I missing ?
> 

add the word "loop" to your /etc/modules file.  That should load the
module loop upon your next reboot so that next time you don't need to
do a modprobe manually.




More information about the ubuntu-users mailing list