Problem
An ISO file needs to be 'burned' to a disc as a file, not an ISO image, and by using wodim.
Question
How can an ISO file be written (copied) to a disc as a single file using wodim?
You can embed iso image into another iso image with mkisofs
:
mkisofs -JR -o out.iso your.iso
Or just create a filesystem, for example ext2:
dd if=/dev/zero of=/path/to/image.ext2 bs=1M count=650
mke2fs -m0 /path/to/image.ext2
, mount it as a loop device and store your iso inside it:
mount -o loop /path/to/image.ext2 /mnt
cp /your/cd.iso /mnt
umount /mnt
Then burn resulting image.ext2 as usual with wodim
.
If you need dvd size image, then change 650 to whatever dvd size will be acceptabe.
mkisofs
is your tool of choice. Alternatively you can put it into any other filesystem image precreated, then write it to disc with same commands. Sorry for any misundrerstandings that were taken place.
genisoimage
to create an iso image that only contains the iso file, and burn that with wodim... or just use a gui and drag and drop the file to the drive and burn it, which does just that.