PDA

View Full Version : HOTO burn knoppix from knoppix?



IP
08-11-2003, 12:06 AM
I want a to burn an ISO file from knoppix, how can I do that? :?:


10Q

Tech2k
08-11-2003, 12:37 AM
Easy,
First say cdrecord --scanbus and be sure your burning device is 0,0,0 (or see what it is) then as root go to the directory where the iso you want to burn is located and say :
#cdrecord dev=0,0,0 speed=12 my.iso

If you want to trun your knoppix cd (or any cd) back into an iso on the hard drive just (with the cd in your drive but the drive unmounted) say :
#cat /dev/cdrom > my.iso

cat will copy it to an iso using the raw format just like clonecd ;)

A. Jorge Garcia
08-11-2003, 02:49 AM
Yup, I've tried that. However, 'cdrecord -scanbus' does not give the speed (ie: speed=12). How do I get that info?

TIA,

Stephen
08-11-2003, 03:06 AM
Yup, I've tried that. However, 'cdrecord -scanbus' does not give the speed (ie: speed=12). How do I get that info?

TIA,

Try dmesg | grep sr0 this should give you a line describing the first scsi device with the speed(s) in it use sr1 if it is the second cdrom in the system. You could also use scsi to get every line with scsi in it from the boot messages also I have found it helpful to look at the drive it usually has the speed(s) on the tray.

Tech2k
08-11-2003, 04:02 AM
my cdburner is 48X but I wont burn an os over 12x and assumed his was at least that fast...sorry.

tech@tech2k:~$ dmesg | grep sr0
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
tech@tech2k:~$

ohhh..i like that command....thanks Stephen :)

A. Jorge Garcia
08-11-2003, 01:59 PM
>>
my cdburner is 48X but I wont burn an os over 12x and assumed his was at least that fast...sorry.
<<

OK, I used dmesg | grep sr0 and got "...32x/32x cd/rw..." How fast should I set the burn then?

TIA,

fingers99
08-11-2003, 02:11 PM
How fast should I set the burn then?

I never bother to set the burn speed! I think cdrecord interrogates the disk and drive at arrives at something suitably conservative.

But (it says here)

If your drive has problems with speed=2 or speed=4, you should try speed=0.

So your line would be (something like):

cdrecord dev=0,0,0 -v speed=0 /path/to/.iso

given that cdrecord -scanbus returns 0,0,0 of course.

But, as I say, I'd be shocked, horrified and disappointed if just ommiting the speed line didn't work.

A. Jorge Garcia
08-11-2003, 03:21 PM
Sounds good! Now, by 0,0,0 you mean: channel 0, id 0, lun 0, right? That's what I got.

Regards,

fingers99
08-11-2003, 05:49 PM
I think so. This should be the output of

cdrecord -scanbus

if you only have one CDwriter (but best to check). You'll get something like:

root@molehole:/home/john# cdrecord -scanbus
Cdrecord 2.01a14 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'HL-DT-ST' 'RW/DVD GCC-4120B' '2.01' Removable CD-ROM
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) 'eUSB ' 'Compact Flash ' '' Removable 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) *

IP
08-13-2003, 08:31 AM
:D :) 8) :lol: :P :wink:

A. Jorge Garcia
09-02-2003, 01:13 AM
I'm burning CDs for school right now off my hdinstall from my d/l dir with:

cdrecord dev=0,0,0 KNOPPIX_V3.2-2003-07-26-EN.iso

It took about 10 mins defaulting to speed 8 on my cd drive and everything works like a charm!

BTW, can I use the cat command to back-up any CD I want to an *.iso file?

Thanx,