"Enrique Perez-Terron" <enrio@online.no> wrote in message
news

p.sx8pe5awnxtvbs@apeiron.home.lan...
>> I mounted the iso I wanted to read from on this mount point:
>>
>> mount -o loop /home/CentOs-4.1-i386-bin1of4.iso /mnt/isoxxx
>
> You probably need "ro" in the options, or else the kernel will try
> to update the inodes to reflect the last access time.
With an iso image filesystem, which will automatically be mounted as type
iso9660? I don't think so, and that should be auto-detected. I've just
double-checked that on a Fedora installation.
>> Since, that failed, I tried just cat'ing the file:
>> cat vmlinuz
>> cat: vmlinuz: Input/output error
>>
>> I don't know why the contents of the .iso file could be unreadable in
>> this fashion (and what this rather non-descriptive error message is
>> trying to tell me). Note, that I have no problem reading and writing
>> to the partition which contains the .iso file that I mounted.
>
> If the "ro" mount option does not help, you could check if you can read
> the very blocks that this iso file occupies:
>
> cp /home/CentOs-4.1-i386-bin1of4.iso /dev/null && echo OK || echo $?,
> ouch!
If the ISO is corrupt, why not simply redownload it?