Technical article 125777

How can I mount an ISO image on my SCO Unix system?

OpenServer 6.0.0OpenServer 5.0.7UnixWare 7.1.3UnixWare 7.1.4

Written · Last revised

Problem

How can I mount an ISO image on my SCO Unix system?

Solution

You can use the marry(1M) utility to bind an ISO image to a block device that you can then mount on SCO Unix system.

Assuming that your iso image is called:

/usr/tmp/foobar.iso

you can bind the ISO image to a block device using:

# marry -a /usr/tmp/foobar.iso

This command will create the block device:

/dev/marry/usr/tmp/foobar.iso

You can then mount this device using the mount(1M) command as follows:

# mount /dev/marry/usr/tmp/foobar.iso /mnt

You can list the current marry(1M) devices using:

# marry -l

You can remove the marriage between the ISO image and a block device using:

# marry -d /dev/marry/usr/tmp/foobar.iso

Remember to unmount the marry device before you attempt to remove it.

NOTE:     If you see the error:
ERROR file system type cannot be determined

then it's likely the image is corrupt.

NOTE:     To create an ISO image from physical media use the following:
1.  How to create an iso from a CD:
# dd if=/dev/<cd device> bs=2048 of=/tmp/cd.iso
For OSR5 <cd device> would be /dev/cd0
For OSR6 <cd device> would be /dev/cdrom/cdrom0
For UW7 <cd device> would be /dev/cdrom/cdrom1
2.  How to create an iso from a Floppy:
# dd if=/dev/fd0 of=/tmp/floppy.iso

From the Xinuos technical article database, record 125777. Reproduced with permission. The original is at www.sco.com/ta/125777, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.