loopback for mounting iso images

The Hoelschers mohoel at c-a-n.net
Thu Jan 11 13:06:03 CST 2001


Thanks for the tip - I must have been mountint incorrectly.  This worked (I think I
was putting the <directory> <image file> instead.

However that just tells me I do have a valid ISO image.

In response to a couple of other helpful hints, yes I have burned good CD's with
this burner.  I even burnt a couple of ISO's using Xcdroast when it was in a RH 6.2
system (since moved the burner to Mandrake 7.1 system).  Yes, I have burned some
good ones here, too, just can't seem to get this ISO thing working.

Would someone mind sharing with me the command they would use to burn directly via
cdrecord given the following;

Device = /dev/scd0
Speed is capable of 4x
ISO is /home/cdburntmp/rh70en1.iso

I tried:

cdrecord -v speed=4 dev=0,0 rh70en1.iso

and got:

Cdrecord 1.8.1 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0'
scsibus: 0 target: 0 lun: 0
Using libscg version 'schily-0.1'
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'IDE-CD  '
Identifikation : 'R/RW 4x4x24     '
Revision       : 'Z024'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO
Drive buf size : 1572864 = 1536 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data  639 MB
Total size:     734 MB (72:45.02) = 327377 sectors
Lout start:     734 MB (72:47/02) = 327377 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Reference speed: 2
  Is not unrestricted
  Is erasable
  ATIP start of lead in:  -11597 (97:27/28)
  ATIP start of lead out: 336601 (74:50/01)
  speed low: 0 speed high: 4
  power mult factor: 5 6
  recommended erase/write power: 3
  A2 values: 5A D8 36
Disk type: phase change
Manuf. index: 20
Manufacturer: Princo Corporation
Blocks total: 336601 Blocks current: 336601 Blocks remaining: 9224
RBlocks total: 346489 RBlocks current: 346489 RBlocks remaining: 19112
Starting to write CD/DVD at speed 4 in write mode for single session.
Last chance to quit, starting real write in 1 seconds.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Starting new track at sector: 0
Track 01: 639 of 639 MB written (fifo 100%).
Track 01: Total bytes read/written: 670464000/670464000 (327375 sectors).
Writing  time: 1235.032s
Fixating...
cdrecord: Input/output error. close track/session: scsi sendcmd: retryable
errorCDB:  5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 13 00 00 00 00 72 03 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x72 Qual 0x03 (session fixation error - incomplete track in session)
Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.003s timeout 480s
Fixating time:    0.024s
cdrecord: Input/output error. mode select g1: scsi sendcmd: retryable error
CDB:  55 10 00 00 00 00 00 00 10 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 13 00 00 00 00 26 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x26 Qual 0x00 (invalid field in parameter list) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.004s timeout 40s
cdrecord: fifo had 20461 puts and 20461 gets.
cdrecord: fifo was 0 times empty and 20047 times full, min fill was 97%.

The part that is really puzzling to me is that the ISO is 639MB, but the TOTAL SIZE
is 734MB.  Wazzup with that?  How does that happen?  ls -l says;

670464000 Dec  7 13:32 rh70en1.iso*

Thanks again....

Gerald Combs wrote:

> Is losetup needed?  I've been able to mount .iso images in the past with
>
>   mount -t iso9660 -oloop <image file> <directory>
>
> On Wed, 10 Jan 2001, mike neuliep wrote:
>
> > Here's how to mount an iso image loopback
> >
> > losetup /dev/loop quake3.iso
> > mount -t iso9660 /dev/loop /quakecd
> > cd /quakecd
> >
> > that's it!
> >
> > use losetup -d /dev/loop to remove the association between the device and file
> > But realistically I not 100% sure why his burner ejects the disc, then tries
> > to read it again.  A big question: does the burned CD work or is it a coaster?
> >
> >       Mike
> >
> >
> >
>




More information about the Kclug mailing list