Mounting the ISO Image

To install the ISO image, you need to make this available to Linux on the host PC, using one of the following two methods:

Burning the ISO image onto a physical CD

Tools such as cdrecord under Linux or EasyCD under Windows are available to burn the ISO image directly onto a CD. The CD can then be read by the host machine in the normal way.

The following example uses cdrecord:

host# cdrecord -scanbus
Cdrecord-Clone 1.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
scsibus1:
   1,0,0   100) 'HITACHI ' 'DVD-ROM GD-5000 ' '0212' Removable CD-ROM
   1,1,0   101) 'HP      ' 'CD-Writer cd24p ' '2.01' Removable CD-ROM
   1,2,0   102) *
 
host# cdrecord -v dev=ATA:1,1,0 STLinux-2.2-sh4-03-11-07.iso
TOC Type: 1 = CD-ROM
.....................................................................
Starting to write CD/DVD at speed   1.0 in real TAO mode for single session.
.....................................................................
Writing  time: 1992.797s
Fixating...
Fixating time:  261.186s
cdrecord: fifo had 4785 puts and 4785 gets.
cdrecord: fifo was 0 times empty and 4706 times full, min fill was 95%.
Mount the ISO image using a loopback device

The ISO image can be accessed directly by mounting it as a virtual CD on the Linux host machine using the loopback device, as shown in the following example:

host% su
Password:
host# mkdir -p /mnt/cdrom
host# mount -o loop,ro -t iso9660 -r STLinux-2.2-sh4-03-11-07.iso /mnt/cdrom