Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 11-05-2004, 11:46 AM   #1
LQ Newbie
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
Unhappy Cannot mount more than 8 iso image files as loop device

Hi all,

I've Debian 3.0 r2 and i cannot mount more than 8 iso files, how can I mount more loop devices ?
Old 11-05-2004, 11:51 AM   #2
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Rep: Reputation: 30
Be discriptive about this issue. from which path are you trying to mount iso file. post ur qurey with more details so other members can try to troubleshoot this issue.

Old 11-05-2004, 03:19 PM   #3
LQ Newbie
Registered: Nov 2004
Posts: 4

Original Poster
Rep: Reputation: 0

i want to use my debian linux woody 3.0 r2 as a cd-rom jukebox having a number of cd-rom image files mounted as loop device using with:
mount -o loop -t iso9660 cdrom1.iso /mnt/iso1
mount -o loop -t iso9660 cdrom2.iso /mnt/iso2
mount -o loop -t iso9660 cdromn.iso /mnt/ison

but after mounting 9 devices when i try to mount the 10th i get the error msg:
mount: could not find any free loop device

I also modified without success lilo.conf "appending max_loop parameter

append="console=tty0 console=ttyS0,9600n8 max_loop=32"

and before i tried to modify a config file (don't remember at this moment wich one) without success.

I hope this message better explains the problem.
Old 11-05-2004, 09:00 PM   #4
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681

3.1. Adding the Loop Module Option

Current kernels allow you to set the number of loop devices supported without recompiling the kernel. One of these methods is to add an options line to /etc/modules.conf. This method will only work if your loop support has been configured as a loadable kernel module (which is how most major Linux distributions come preconfigured now).

Edit /etc/modules.conf and add the following line.

options loop max_loop=64

After making the above change, simply reboot. Or you can try to use rmmod and insmod to make the change on the fly - but this will not work if you currently have any loop devices mounted (you'll get an error saying loop: Device or resource busy).

Last edited by jschiwal; 11-05-2004 at 09:05 PM.
Old 11-09-2004, 05:05 AM   #5
LQ Newbie
Registered: Nov 2004
Posts: 4

Original Poster
Rep: Reputation: 0
once again i tried to put away any doubt...

the problem stills remain :-(

this is an extract from dmesg:

Only 8 devices!! I setted up the script as suggested in the how-to. (I tried also to modifying the lilo.conf appendig the parameter as suggested in the how-to)

Is it a debian Woody r2 and r3 bug ?
oppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Loading I2O Core - (c) Copyright 1999 Red Hat Software
I2O configuration manager v 0.04.
(C) Copyright 1999 Red Hat Software
loop: loaded (max 8 devices)
Compaq CISS Driver (v 2.4.5)
8139cp 10/100 PCI Ethernet driver v0.0.6 (Nov 19, 2001)
8139cp: pci dev 00:0b.0 (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
8139cp: Try the "8139too" driver instead.
8139too Fast Ethernet driver 0.9.24


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't mount iso 'could not find any loop device' dethree Slackware 1 06-23-2005 02:14 AM
Loop-mount image of harddrive addy86 Linux - General 6 06-14-2005 07:06 AM
can't mount cdrom (after mounting .iso once, using -o loop) cmbguy Linux - Newbie 4 03-21-2005 12:25 AM
Gentoo. Problems with the loop device when mounting an iso file Snerkel Linux - Software 4 11-26-2004 04:34 PM
Problem mounting CD image (no loop device)... Slayer Linux - General 1 10-05-2003 10:30 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration