You are not logged in.

#1 2008-07-25 01:40:46

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,008

I can't mount an iso image...

Just when I started thinking I was proficient at linux...


sudo mount -o loop test.iso /mnt/test/

gives this error:

mount: could not find any device /dev/loop#

The mount point DOES exist already. What am I doing wrong?

Offline

#2 2008-07-25 01:47:42

scrawler
Member
Registered: 2005-06-07
Posts: 312

Re: I can't mount an iso image...

I think you're just missing the "-t" option of mount

#mount -o loop -t iso9660 image.iso /target-dir

works for me...

Offline

#3 2008-07-25 02:06:57

SwimFr3ak
Member
From: /usa/michigan
Registered: 2008-06-10
Posts: 25

Re: I can't mount an iso image...

try this

modprobe loop
mount -o -t loop iso9660 image.iso /target-dir

Offline

#4 2008-07-25 02:07:03

Procyon
Member
Registered: 2008-05-07
Posts: 1,807

Re: I can't mount an iso image...

You need to modprobe now to get loop devices

modprobe loop

Add it to /etc/rc.conf modules list.

Offline

#5 2008-07-25 03:05:26

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,008

Re: I can't mount an iso image...

The problem was the loop module. A simple modprobe loop solved it. Thank you.


Can someone explain:
1. What the loop module does?
2. What the -t iso9660 option does?

Offline

#6 2008-07-25 09:07:35

sevenfourk
Member
Registered: 2008-02-21
Posts: 185

Re: I can't mount an iso image...

1. I believe that loop module is used to mount images.
2. '-t iso9660' - you specify here file system. So iso has it.

Last edited by sevenfourk (2008-07-25 09:08:16)


No cause is lost if there is but one fool left to fight for it.

Offline

#7 2012-07-21 16:03:57

yermandu
Member
Registered: 2012-05-04
Posts: 6

Re: I can't mount an iso image...

Thank you im forgot this thing, wink

Offline

#8 2012-07-21 16:08:39

ewaller
Forum Moderator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 9,165

Re: I can't mount an iso image...

Yermandu:  Note that this is a four year old thread.  I have not seen many of these members in years sad

Closing in accordance with our policy.
Don't worry, we all do it from time to time.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
One difference between the two OSs though is that Linux progresses.  The other decays.. --Trilby
----
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB