-   Linux - Distributions (
-   -   Gentoo. Problems mounting an iso file (

Snerkel 11-26-2004 09:35 AM

Gentoo. Problems mounting an iso file [Solved]
Hi, im trying to mount an iso file in gentoo, to do it im using the command mount -t iso9660 -o loop /iso/dir /mnt/iso but i get this error

mount: could not find any device /dev/loop#
i dont know how to get round this problem as i dont even know what the loop device is! can anyone help me?

Thanks in advance, Ben :)

qwijibow 11-26-2004 10:49 AM

The loop device is a driver that allows a normal file (like an iso) to be accessed asif it was a standard diks drive (like a cd-rom).

how did you generate your kernel ?
either manually or with genkernel ?

you may have created a kernel without a loop driver...
try this "modprobe loop" as root.

if the ocmmand completes without error, then try to mount the iso again. it should work.

if you want the loop drivcer to load aautomatically at bootup, add "loop" on a line by itself to your /etc/modules.autoload.d/(kernel_version) file. then run "rc-update add modules default" (or maybe "rc-update add module default")

Snerkel 11-26-2004 04:32 PM

All Sorted ive found it

For referance:

Kernel 2.6.9
"make menuconfig"
Device Drivers > Block Devices > Loopback device

All times are GMT -5. The time now is 05:26 PM.