Discussion:
how to mount iso image w/o cdrom
(too old to reply)
serge
2005-10-23 09:56:26 UTC
Permalink
Hello

How can I mount an iso image file w/o using cdrom.
I vaguely remember it can be mounted as loop device...

Thank you
Enkidu
2005-10-23 10:01:36 UTC
Permalink
Post by serge
Hello
How can I mount an iso image file w/o using cdrom.
I vaguely remember it can be mounted as loop device...
mount -t loop <file.iso> <mountpoint>

Cheers,

Cliff
--
Barzoomian the Martian - http://barzoomian.blogspot.com
Johannes Beekhuizen
2005-10-23 17:37:17 UTC
Permalink
Hallo Enkidu,
Post by serge
How can I mount an iso image file w/o using cdrom.
I vaguely remember it can be mounted as loop device...
E> mount -t loop <file.iso> <mountpoint>

This gives error "unknown filesystem type 'loop'".
Try
mount -o loop <file.iso> <mountpoint>

Groetjes,

Hans.
HASM
2005-10-23 14:05:43 UTC
Permalink
Post by Johannes Beekhuizen
This gives error "unknown filesystem type 'loop'".
insmod loop

-- HASM
Bit Twister
2005-10-23 14:11:43 UTC
Permalink
Post by HASM
Post by Johannes Beekhuizen
This gives error "unknown filesystem type 'loop'".
insmod loop
the command was
mount -t loop <file.iso> <mountpoint>

If you do a man mount
you will see the _-t_ argument needs the filesystem type of the iso.
Enkidu
2005-10-24 01:42:52 UTC
Permalink
Post by HASM
Post by Johannes Beekhuizen
This gives error "unknown filesystem type 'loop'".
insmod loop
I made a mistake when I gave the command. 'loop' goes with
the -o parameter. He may still have to specify the
filesystem type and he needs the loopback driver in the
kernel, or as you implied above, loaded as a module.

Cheers,

Cliff
--
Barzoomian the Martian - http://barzoomian.blogspot.com
Enkidu
2005-10-24 01:40:40 UTC
Permalink
Post by Johannes Beekhuizen
Hallo Enkidu,
Post by serge
How can I mount an iso image file w/o using cdrom.
I vaguely remember it can be mounted as loop device...
E> mount -t loop <file.iso> <mountpoint>
This gives error "unknown filesystem type 'loop'".
Try
mount -o loop <file.iso> <mountpoint>
Absolutely! Sorry!

He still might need to specify the filesystem type too.

Cheers,

Cliff
--
Barzoomian the Martian - http://barzoomian.blogspot.com
Tauno Voipio
2005-10-23 18:25:34 UTC
Permalink
Post by Enkidu
Post by serge
Hello
How can I mount an iso image file w/o using cdrom.
I vaguely remember it can be mounted as loop device...
mount -t loop <file.iso> <mountpoint>
Once again:

mount -t iso9660 -o loop <file.iso> <mountpoint>
--
Tauno Voipio
tauno voipio (at) iki fi
Enkidu
2005-10-24 01:44:44 UTC
Permalink
Post by Tauno Voipio
Post by Enkidu
Post by serge
Hello
How can I mount an iso image file w/o using cdrom.
I vaguely remember it can be mounted as loop device...
mount -t loop <file.iso> <mountpoint>
mount -t iso9660 -o loop <file.iso> <mountpoint>
Yes, my mistake. Also, as someone suggested, it might be a
good idea to mount it 'ro'.

Cheers,

Cliff
--
Barzoomian the Martian - http://barzoomian.blogspot.com
Henrik Carlqvist
2005-10-23 10:52:14 UTC
Permalink
How can I mount an iso image file w/o using cdrom. I vaguely remember it
can be mounted as loop device...
mount -o loop file.iso /mnt/loopmountdir

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc7(at)uthyres.com Examples of addresses which go to spammers:
***@variousus.net ***@k-soft.se ***@k-software.biz ***@localhost
Bit Twister
2005-10-23 11:08:03 UTC
Permalink
Post by serge
Hello
How can I mount an iso image file w/o using cdrom.
I vaguely remember it can be mounted as loop device...
mount -t auto -o ro,loop=/dev/loop0 image.iso /mnt/cdrom

For extra points, do a
man mount
man mkdir <=== if you need to create a mount point.
man umount
Loading...