Tux
Communication
Mailing lists
Documentation
User Manual
Target board info.
Target chip info.
Support
Linux support
Bugzilla
Downloads
STLinux
Updates
Search
Google


The web
stlinux.com
Installation Guide
Installing the STLinux distribution
Make the ISO image available to Linux
ST Logo
Previous   Contents   Next

Make the ISO image available to Linux

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

  • burn the ISO image onto a CD, or
  • use the ISO image using a loopback device.
Burning the ISO image onto a physical CD

Tools such as cdrecord under Linux or EasyCD under Windows may be used to burn the ISO image directly onto a CD. This can then be read by the host machine as usual.

Example:

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 release-2.0-sh4-install.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%.
Using 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:

host% su
Password:
host# mkdir -p /mnt/cdrom
host# mount -o loop,ro -t iso9660 -r release-2.0-install.iso /mnt/cdrom
Previous   Contents   Next
Valid HTML 4.01! Last updated: 2006/01/20 21:02:08
© Copyright STMicroelectronics Limited, 2005
Printer