LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (http://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Gentoo. Problems mounting an iso file (http://www.linuxquestions.org/questions/linux-distributions-5/gentoo-problems-mounting-an-iso-file-259494/)

Snerkel 11-26-2004 08: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
Quote:

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 09: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 03: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:31 PM.