[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: reading the raw iso from a CD-Extra (multisession CD)



Alban Browaeys:

> > $ dd if=/dev/cdrom of=data.iso bs=1024
> > dd: reading `/dev/cdrom': Input/output error
> > 0+0 records in
> > 0+0 records out
> 
> I don't get it ... dd does not understand fs be it iso or else. It just copy th
> e
> medium bytes , the i/o error means that it cannot access the medium . Could you
> try with the real device file (hdx or sdx) ?

It makes no difference: cdrom is a link to the real device file.

That dd command works with an ordinary data CD.

> >From memory i would tell that bs should be 512 (this depend on the driver whic
> h
> sometimes have a 512 bytes jumper especially rw ones).

It doesn't explain the problem that I can't read the first block.

If you have a CD-Extra to hand, please try it yourself. I've tried it
with three different drives, but all of my drives are a bit old and
dodgy.

I've also tried reading the second session with a cdrdao and a CD
writer. According to od there's a ISO file system with an offset, but
I can't loop mount it (obviously I've tried subtracting the offset) so
I don't know whether this data is good or not:

$ cdrdao read-cd --session 2 --device 0,0,0 --datafile session2.bin session2.toc
$ od -Ax -tx1 session2.bin 
...
009200 00 00 09 00 00 00 09 00 01 43 44 30 30 31 01 00
009210 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
...

I would expect 01 43 44 30 at 0x8000 rather than 0x9208

Surely someone somewhere has copied a CD-Extra before ...



Reply to: