loop devices

Eric Ni dacmail at 163.com
Mon Nov 8 08:36:30 UTC 2004


Andy Rabagliati wrote:

>Folks,
>
>  Very impressed with Warty - it has given me a reason to look at
>  debian again ..
>
>  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 ?
>
>  This is a (fairly) stock install, but I have been migrating stuff
>  over from my RedHat install that I have used for many years, and
>  might have broken something.
>
>Cheers,     Andy!
>
>  
>
hi all,

me too, encounter almost the same problem when I installed ubuntu days 
before.

As my condition,I wanted to install from the ISO in one of my partition:
1. unpack the vmlinuz and initrd.gz file from the warty iso to one of 
the fat format partition;
2. get startup from the grub using these two files above;
3. when I was asked to insert the CD, I just tried to mount the 
warty.....iso to /cdrom (use Alt+F2 switch to shell);
4. mounted the partition where save the iso file, then got the problem 
to mount iso file to /cdrom with the same error :" mount : could not 
find any device /dev/loop "

I failed to install that way. but it should be some way to fulfill this, 
is it?
does any document about the loop device to reference exist somewhere?

PS;I am a newb to linux with only several months of experience, but take 
fun of it. 

cheers,
--
  eric





More information about the ubuntu-users mailing list