[Debburn-devel] CD-Extra issues
Thomas Schmitt
scdbackup at gmx.net
Wed Dec 3 14:18:37 UTC 2014
Hi,
> $ mkisofs -o cd/mp3.iso -C 150,291114 -r -J cd/*.mp3
> $ wodim cd/mp3.iso
> dd if=/dev/sr0 returns an error without reading any data.
The audio sectors of a CD cannot be read via the block device
driver. So dd righteously fails on the attempt to read the CD
from start.
What happens when you let it start reading at block 291114
where your ISO was written ?
dd if=/dev/sr0 bs=2048 skip=291114 of=iso_plus_trailing_trash.iso
It is a bit questionable whether block size and skip count
will make it start at LBA 291114 of the CD. The size of
audio sectors is 2352, but i bet that the block device
driver does not know this. (If bs=2048 does not work, try
bs=2352 .)
If this yields the expected amount of data, then try to mount
the ISO from CD with the block offset given as parameter sbsector=.
E.g. as superuser:
mkdir /mnt/iso
mount -t iso9660 -o sbsector=291114 /dev/sr0 /mnt/iso
ls -l /mnt/iso
Have a nice day :)
Thomas
More information about the Debburn-devel
mailing list