PDA

View Full Version : how to mount a loop?



ddrex
04-06-2005, 11:26 AM
How do you mount a looped file?

Per an example in one of the startup scripts, I'm using mount -o loop,ro -t auto iso-image mount-point


Mount says there is no loop device and the kernel doesn't know how to do it.

Suggestions appreciated.

ddrex
04-06-2005, 12:28 PM
Mount says there is no loop device and the kernel doesn't know how to do it.


Rebooting solved that problem. However mount still wants to know the filesystem type and iso9660 doesn't work.

What I'm trying to do, while running off the harddisk, is to mount the KNOPPIX/KNOPPIX file that lives on the CD.

Thanks in advance for any advice.

fingers99
04-06-2005, 08:45 PM
Using loopback is usually where my understanding of mount's syntax falls over! An explanaition here:

http://www.linuxlookup.com/html/totw/2000/october.html

and, if the page is still up,

here:

http://www.linuxpeople.cc/howto/mountisohowto.htm?link

ddrex
04-07-2005, 05:38 AM
Using loopback is usually where my understanding of mount's syntax falls over! An explanaition here:

http://www.linuxlookup.com/html/totw/2000/october.html


Yes! That explained it! Thanks.

dd

Dave_Bechtel
04-07-2005, 05:41 AM
--Yes, but the KNOPPIX/KNOPPIX file is a *compressed* loop. You need to do an "insmod" of something (I forget which) and give that file as an argument.

Update - see this thread: http://www.knoppix.net/forum/viewtopic.php?t=94&highlight=insmod




Mount says there is no loop device and the kernel doesn't know how to do it.


Rebooting solved that problem. However mount still wants to know the filesystem type and iso9660 doesn't work.

What I'm trying to do, while running off the harddisk, is to mount the KNOPPIX/KNOPPIX file that lives on the CD.

Thanks in advance for any advice.