Can't mount iso image

Hello !
After making the mount point,

85:~ # mkdir -p /mnt/ISOdisk

and when I try to mount an iso image as a root
in any of the following ways, - I receive the "mount"s help file as an output and the disk is not mounted, and the mount point is an empty directory.

The ISO is 7.5 GB and on dev/sdb

the mount point is on /dev/sda


85:~ # mount -o loop /BackupP2/Downloads/Downloaded/M_VirtualBox_Appliance.iso /mnt/ISOdisk

output : the help file

85:~ # mount -o loop /BackupP2/Downloads/Downloaded/M_VirtualBox_Appliance.iso /mnt/ISOdisk

output : the help file

85:~ # mount -t iso9660 -o loop /BackupP2/Downloads/Downloaded/M_VirtualBox_Appliance.iso /mnt/ISOdisk

output : the help file

I think that so far, this was happening in all cases where I tried to mount something by path and not by device aka: dev/sda !

Am I doing something wrong?
Thank you in advance ! ! !

Omit the “-o loop”. That’s not needed anymore. And if it is specified, I think it should be on the end of the command line.

On 06/28/2013 12:26 PM, wolfi323 wrote:
>
> mxonovell;2568132 Wrote:
>> Hello !
>> After making the mount point,
>>
>> 85:~ # mkdir -p /mnt/ISOdisk
>>
>>
>> and when I try to mount an iso image as a root
>> in any of the following ways, - I receive the "mount"s help file as an
>> output and the disk is not mounted, and the mount point is an empty
>> directory.
>>
>> The ISO is 7.5 GB and on dev/sdb
>>
>> the mount point is on /dev/sda
>>
>>
>> -------------------------------------------------
>>
>> 85:~ # mount -o loop
>> /BackupP2/Downloads/Downloaded/M_VirtualBox_Appliance.iso /mnt/ISOdisk
>>
>> output : the help file
>>
>> 85:~ # mount -o loop
>> /BackupP2/Downloads/Downloaded/M_VirtualBox_Appliance.iso /mnt/ISOdisk
>>
>> output : the help file
>>
>> 85:~ # mount -t iso9660 -o loop
>> /BackupP2/Downloads/Downloaded/M_VirtualBox_Appliance.iso /mnt/ISOdisk
>>
>> output : the help file
>>
>> I think that so far, this was happening in all cases where I tried to
>> mount something by path and not by device aka: dev/sda !
>>
>> Am I doing something wrong?
>> Thank you in advance ! ! !
>
> Omit the “-o loop”. That’s not needed anymore. And if it is specified,
> I think it should be on the end of the command line.

Neither is the “-t iso9960” on my system. All you need is


sudo mount <path to iso file>    <path to mount point>

Hello mxonovell,

While others are helping you, welcome here.

Can you please use CODE tags around your computer texts next time. It will help to discriminate between your copied/pasted computer facts and your story telling. It has also more advantages like preserving the layout made on the terminal and preventing smileys from appearring. You get the CODE tags by clicking on the # button in the advanced post editor.

On 2013-06-28 19:16, mxonovell wrote:
>
> Hello !
> After making the mount point,
>
> 85:~ # mkdir -p /mnt/ISOdisk
>
>
> and when I try to mount an iso image as a root
> in any of the following ways, - I receive the "mount"s help file as an
> output and the disk is not mounted, and the mount point is an empty
> directory.


> Telcontar:/data/storage_b/Isos/isos_12.3 # mkdir mnt
> Telcontar:/data/storage_b/Isos/isos_12.3 # mount -t iso9660 -o ro,loop=/dev/loop2 openSUSE-12.3-DVD-x86_64.iso mnt
> mount: /data/storage_b/Isos/isos_12.3/openSUSE-12.3-DVD-x86_64.iso: failed to setup loop device: No such file or directory
> Telcontar:/data/storage_b/Isos/isos_12.3 # l /dev/loo*
> crw------- 1 root root 10, 237 Jun 24 11:43 /dev/loop-control
> Telcontar:/data/storage_b/Isos/isos_12.3 #

However:


> Telcontar:/data/storage_b/Isos/isos_12.3 # mount -t iso9660 -o ro,loop openSUSE-12.3-DVD-x86_64.iso mnt
> Telcontar:/data/storage_b/Isos/isos_12.3 # ls mnt
> ARCHIVES.gz  INDEX.gz     content         docu                              license.tar.gz          suse
> ChangeLog    README       content.asc     dosutils                          ls-lR.gz
> EFI          SuSEgo.ico   content.key     gpg-pubkey-307e3d54-4be01a65.asc  media.1
> GPLv2.txt    autorun.inf  control.xml     gpg-pubkey-3dbdc284-4be1884d.asc  openSUSE12_3_LOCAL.exe
> GPLv3.txt    boot         directory.yast  images                            openSUSE12_3_NET.exe
> Telcontar:/data/storage_b/Isos/isos_12.3 #

The above is the correct syntax, and it works. Please show the sequence
as above, with prompts, and paste here if it fails for you.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)