2

I got a raw .img image from the Internet Archive and I would like to mount it on my Linux, or at least convert it to an ISO file.

This image works fine under Windows, when using e.g. MagicDisk to emulate a virtual CD drive.

Under Linux, however, most solutions I found on the net do not work here:

  • Mounting it as an ISO-9660 image (i.e. mount -t iso9660 ...)

    Image is not an ISO-9660 file, so it fails:

    mount: wrong fs type, bad option, bad superblock on /dev/loop1,
           missing codepage or helper program, or other error
           In some cases useful info is found in syslog - try
           dmesg | tail  or so
    
    $ dmesg | tail 
    ISOFS: Unable to identify CD-ROM format.
    
  • file provides no useful information:

    `cdrom.img: AIX core file fulldump 32-bit 64-bit`
    
  • fdisk -l/parted, as suggested here, does not help:

    Disk cdrom.img: 124 MB, 124749824 bytes
    255 heads, 63 sectors/track, 15 cylinders, total 243652 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    
    Disk cdrom.img doesn't contain a valid partition table
    
    $ sudo parted cdrom.img
    GNU Parted 2.3
    Using /tmp/cdrom.img
    Welcome to GNU Parted! Type 'help' to view a list of commands.
    (parted) u
    Unit?  [compact]? B
    (parted) print
    Error: /tmp/cdrom.img: unrecognised disk label
    
  • Most tools which I usually apply to ISO files (e. g. Ark to uncompress and read contents) do not work either, since it is not an archive.

How can I mount, or at least convert this kind of file?

  • ave you tried msdos/vfat format ? e.g. mount -t msdos .. ? – Archemar Apr 18 '16 at 8:21
1

For this kind of image in particular, AcetoneISO did the job, managing to mount the file and allowing me to read it.

It also allowed me to quickly convert the raw disk image to the ISO format (by installing the free, but non-open-source, PowerISO for Linux).

This Wikipedia page provides suggestions of other tools which might be useful in such cases.

  • AcetoneISO didn't help, the menu option to convert IMG to ISO just pointed to downloading Poweriso. Poweriso didn't work, it said that the type of the source and destination were equal, so I just copied the file.img to file.iso... and it worked. – Underverse Feb 13 '17 at 12:33
1

Try raw2iso......................

  • You could get around the minimum Answer length requirement by explaining if & how raw2iso meets the requirements, and/or how to use it in the OP's case. – Jeff Schaller Oct 29 '17 at 11:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.