View previous topic :: View next topic |
Author |
Message |
Infineon n00b
Joined: 25 Dec 2007 Posts: 9
|
Posted: Sun Jan 06, 2008 5:07 pm Post subject: Solved. How to burn .iso image to DVD disk while in LiveCD? |
|
|
Entering 'cdrecord -scanbus' gives:
Code: | scsibus0:
0,0,0 0) 'FUJITSU ' ' NW99T6325F49' '0029' Disk
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
1,0,0 100) 'ATA ' 'FUJITSU MHV2200B' '0000' Disk
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
|
There is no DVD drive (I have Mashita) listed.
Meanwhile I am able to mount CD and DVD disks with data, and work with them, but I can not mount empty DVD disk:
Code: | mount /dev/dvdrw /mnt/cdrom/
mount: block device /dev/dvdrw is write-protected, mounting read-only
mount: No buffer space available
|
And if I try to burn DVD image after that I get:
Code: | mkisofs -r -o /root/Desktop/ext/Gentoo.iso /mnt/cdrom
Total translation table size: 0
Total rockridge attributes bytes: 254
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 21000
175 extents written (0 MB)
|
What am I doing wrong?
Last edited by Infineon on Sun Jan 06, 2008 6:53 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54308 Location: 56N 3W
|
Posted: Sun Jan 06, 2008 5:15 pm Post subject: |
|
|
Infineon,
You do not mount blank optical media, there is no filesystem to mount until you burn one,
Burning a CD from the command line is a two step process.
Code: | mkisofs -r -o /root/Desktop/ext/Gentoo.iso /mnt/cdrom | makes an iso filesystem in a file that you ccan subsequently burn with cdrecord.
However Gentoo.iso is already an iso9660 filesystem in a file, so you only need the cdrecord step.
You need to be either root or in the cdrw group since you will need low level access to the writer. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Infineon n00b
Joined: 25 Dec 2007 Posts: 9
|
Posted: Sun Jan 06, 2008 5:27 pm Post subject: |
|
|
In one tutorial there is following:
Quote: | Burn ISO image onto CD:
* Linux 2.6 kernel: cdrecord -v -eject speed=16 dev=ATA:1,0,0 RedHat-7.0-i386-powertools.iso |
but how do I determine my recorders "dev=" address?
Thanks! |
|
Back to top |
|
|
MostAwesomeDude Guru
Joined: 12 Aug 2007 Posts: 373
|
Posted: Sun Jan 06, 2008 5:39 pm Post subject: |
|
|
This is why I wish wodim was on the Live CD...
Code: | # wodim -v image.iso |
...And it handles the rest automatically, assuming you only have one burning drive. |
|
Back to top |
|
|
piewie Guru
Joined: 26 Sep 2002 Posts: 489 Location: old Europe
|
Posted: Sun Jan 06, 2008 5:49 pm Post subject: |
|
|
Code: | cdrecord dev=ATA -scanbus |
|
|
Back to top |
|
|
Infineon n00b
Joined: 25 Dec 2007 Posts: 9
|
Posted: Sun Jan 06, 2008 5:52 pm Post subject: |
|
|
Does wodim work only with iso9660 or am I having another problem here?
Code: | wodim -v /root/Desktop/ext/Another-Live-DVD.iso
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 1 = CD-ROM
scsidev: '/dev/cdrw'
devname: '/dev/cdrw'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'MATSHITA'
Identification : 'DVD-RAM UJ-841S '
Revision : '1.60'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x001B
Profile: 0x0012
Profile: 0x002B
Profile: 0x001B (current)
Profile: 0x001A
Profile: 0x0015
Profile: 0x0013
Profile: 0x0014
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009
Profile: 0x0008
Profile: 0x0002
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO
Drive buf size : 1572864 = 1536 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
FIFO size : 4194304 = 4096 KB
Track 01: data 0 MB padsize: 250 KB
Total size: 0 MB (00:04.00) = 300 sectors
Lout start: 1 MB (00:06/00) = 300 sectors
Current Secsize: 2048
ATIP start of lead in: -150 (00:00/00)
ATIP start of lead out: 157789 (35:05/64)
Disk type: unknown dye (reserved id code)
Manuf. index: -1
Manufacturer: unknown (not in table)
Blocks total: 157789 Blocks current: 157789 Blocks remaining: 157489
Speed set to 11080 KB/s
Starting to write CD/DVD at speed 62.0 in real unknown mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Writing pregap for track 1 at -150
wodim: Success. write_g1: scsi sendcmd: no error
CDB: 2A 00 FF FF FF 6A 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 88 00 00 21 02 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x02 (invalid address for write) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 63488
cmd finished after 0.002s timeout 40s
write track pad data: error after 0 bytes
BFree: 1536 K BSize: 1536 K
Starting new track at sector: 0
Track 01: 0 of 0 MB written.
Track 01: writing 250 KB of pad data.
Track 01: Total bytes read/written: 358400/614400 (300 sectors).
Writing time: 21.696s
Average write speed 1.0x.
Fixating...
Fixating time: 3.895s
BURN-Free was never needed.
livecd // #
|
Is disk ruined?
Update:
Code: | # cdrecord dev=ATA -scanbus
scsibus1:
1,0,0 100) 'MATSHITA' 'DVD-RAM UJ-841S ' '1.60' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
# cdrecord -v -eject speed=12 dev=ATA:1,0,0 /root/Desktop/ext/Another-live-DVD.iso
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 1 = CD-ROM
scsidev: 'ATA:1,0,0'
devname: 'ATA'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.5.27
SCSI buffer size: 64512
atapi: -1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'MATSHITA'
Identification : 'DVD-RAM UJ-841S '
Revision : '1.60'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x001B
Profile: 0x0012
Profile: 0x002B
Profile: 0x001B (current)
Profile: 0x001A
Profile: 0x0015
Profile: 0x0013
Profile: 0x0014
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009
Profile: 0x0008
Profile: 0x0002
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO
Drive buf size : 1572864 = 1536 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
FIFO size : 4194304 = 4096 KB
Track 01: data 0 MB padsize: 250 KB
Total size: 0 MB (00:04.00) = 300 sectors
Lout start: 1 MB (00:06/00) = 300 sectors
Current Secsize: 2048
ATIP start of lead in: -150 (00:00/00)
ATIP start of lead out: 157789 (35:05/64)
Disk type: unknown dye (reserved id code)
Manuf. index: -1
Manufacturer: unknown (not in table)
Blocks total: 157789 Blocks current: 157789 Blocks remaining: 157489
Speed set to 11080 KB/s
Starting to write CD/DVD at speed 62.0 in real unknown mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Turning BURN-Free off
Performing OPC...
Writing pregap for track 1 at -150
wodim: Success. write_g1: scsi sendcmd: no error
CDB: 2A 00 FF FF FF 6A 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 88 00 00 21 02 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x02 (invalid address for write) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 63488
cmd finished after 0.002s timeout 40s
write track pad data: error after 0 bytes
BFree: 1536 K BSize: 1536 K
Starting new track at sector: 0
Track 01: 0 of 0 MB written.
Track 01: writing 250 KB of pad data.
Track 01: Total bytes read/written: 358400/614400 (300 sectors).
Writing time: 27.930s
Average write speed 1.0x.
Fixating...
Fixating time: 3.919s |
Here goes another disk?
I feel unlucky today... |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Jan 06, 2008 6:24 pm Post subject: |
|
|
Infineon wrote: | Track 01: data 0 MB padsize: 250 KB
Total size: 0 MB (00:04.00) = 300 sectors
Lout start: 1 MB (00:06/00) = 300 sectors |
It looks like your DVD images are just empty files. |
|
Back to top |
|
|
Infineon n00b
Joined: 25 Dec 2007 Posts: 9
|
Posted: Sun Jan 06, 2008 6:51 pm Post subject: |
|
|
Yeap! Recording was successful, it was my fault...
I've ruined my image files during unsuccessful attempts of image burning...
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|