Mike,
I think the your problem is that you have missed that mkisofs makes a cd/dvd image from the contents of one or more directories. I could be wrong, but my assuption is based on that test.tar.gz more looks like it is a file.
If what you want is a dvd that just contains the one file test.tar.gz then create a subdirectory and move it there and give the subdirectory as input to mkisofs, e.g.
mkdir subdir mv test.tar.gz subdir mkisofs -r subdir | dvdrecord -dao -v fs=6m speed=2 dev=0,0 -
if what you want is actually a dvd containing what is inside the archive you would instead do something like
mkdir subdir; cd subdir tar zxvf ../test.tar.gz cd .. mkisofs -r subdir | dvdrecord -dao -v fs=6m speed=2 dev=0,0 -
If you have enough free disk space it can be a good idea to test the output of mkisofs before creating coasters until you are comfortable with it. E.g.
mkisofs -r subdir -o dvdimage.iso mount -o loop dvdimage.iso /mnt ls -l /mnt
if that looks OK you just go on to umount /mnt dvdrecord -dao -v fs=6m speed=2 dev=0,0 dvdimage.iso
-- mads
mbest@xxxxxxxxxxxxx wrote:
I'm not that familiar with DVD burning, but here is what I tried to make myself a dvd using a Verbatim dvd-rw disc with both the pioneer and lg writers I get an error:
Track 01: 0 MB written.dvdrecord: Input/output error. write_g1: scsi
sendcmd: no error
I get a similar error with cdrecord-prodvd too.
Any help would be appreciated, I have shortened the output for brevity.
-Mike
mkisofs -r test.tar.gz | dvdrecord -dao -v fs=6m speed=2 dev=0,0 -
dvdrtools v0.1.4 dvdrecord: Warning: using inofficial version of libscg (bero-0.5a '@(#)scsitrans p.c 1.81 01/04/20 Copyright 1988,1995,2000 J. Schilling'). dvdrecord: Warning: using inofficial libscg transport code version ~ Vendor_info : 'PIONEER ' Identifikation : 'DVD-RW DVR-105 ' Revision : '1.30' Supported modes: PACKET SAO Track 01: data unknown length Total size: 0 MB (00:00.00) = 0 sectors Lout start: 0 MB (00:02/00) = 0 sectors Current Secsize: 2048 ATIP start of lead in: -150 (00:00/00) Disk type: unknown dye (reserved id code) Manuf. index: -1 Manufacturer: unknown (not in table) dvdrecord: WARNING: Total disk size unknown. Data may not fit on disk. ~ Starting to write CD/DVD at speed 2 in write mode for single session. dvdrecord: WARNING: Drive returns wrong startsec (0) using -150 Starting new track at sector: 0 Track 01: 0 MB written.dvdrecord: Input/output error. write_g1: scsi sendcmd: no error CDB: 2A 00 00 00 00 1F 00 00 1F 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 05 00 00 00 00 0E 00 00 00 00 21 02 00 00 Sense Key: 0x5 Illegal Request, Segment 0 Sense Code: 0x21 Qual 0x02 (logical block address out of range) [No matching qua lifier] Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 0.006s timeout 200s ~ write track data: error after 63488 bytes Sense Bytes: 70 00 00 00 00 00 00 0E 00 00 00 00 00 00 00 00 00 00
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
.