Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
thanks for the help you 2 but it didnt work i checked my hardware browser and it does say that my cd rom is on /dev/hda here is the results
[joe@dhcp-395-6 joe]$ su
[root@dhcp-395-6 joe]# man dd
[root@dhcp-395-6 joe]# man cdrecord
[root@dhcp-395-6 joe]# dd if=/dev/hda | cdrecord dev=0,0,0 speed=4 -v -eject -
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jrg Schilling
TOC Type: 1 = CD-ROM
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.5'
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Vendor_info : 'LITE-ON '
Identifikation : 'LTR-48125W '
Revision : 'VS08'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
Drive buf size : 1422080 = 1388 KB
FIFO size : 4194304 = 4096 KB
Track 01: data unknown length
Total size: 0 MB (00:00.00) = 0 sectors
Lout start: 0 MB (00:02/00) = 0 sectors
dd: reading `/dev/hda': Input/output error
0+0 records in
0+0 records out
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Is not unrestricted
Is not erasable
Disk sub type: Medium Type A, low Beta category (A-) (2)
ATIP start of lead in: -11634 (97:26/66)
ATIP start of lead out: 359849 (79:59/74)
Disk type: Short strategy type (Phthalocyanine or similar)
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
cdrecord: WARNING: Track size unknown. Data may not fit on disk.
Starting to write CD/DVD at speed 4 in write mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
cdrecord: Premature EOF on stdin.
cdrecord: Input buffer error, aborting.
cdrecord: fifo had 1 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
First thing... Don't bash on people. If someone is rude to you, ignore them or report them, do not retort. Second, he's a mod, and I really think that to be the last person you should personally attack. If you have a problem with one, report them to Jeremy if you cannot resolve it with the person alone.
Second... Whatever your plans on linux are is fine. This is a help site, and that's what we do. If you don't like the free help you get, there are alternatives. Mandrake has an option for paid help, and I believe redhat does as well.
You will want to determine the cdrom device. Easiest way for is it:
And whichever one ejects your CDROM then that's your cdrom device. Now, you will want to make sure have the correct device chosesn for cdrecord from the scanbus.
Ok, now with that, the cdrecord command above will work, but you will probably want to go a bit further with something like:
dd if=/dev/hdX conv=noerror | cdrecord (options) -
The - means to take the "dd" input from the pipe and burn it. The reason I suggest using the conv=noerror is for errors on the disc to be ignored. I use this on older ROM drives that don't function so well.
You may also consider slowing down the speed of the write.
i think you got me all wrong. i am very appriciative like i said and i have no problem with acid_kewpie i think he is cool and very smart and yes i do know he is a mod. it was not a personel attack i repeat the eagle has not landed. do not blow this out of proportion please. please go back and read what i have wrote very carefully.
from a humble newbie linux student,
sorry no time for spell check just time enough to duck
i know acid_kewpie another wannabe trying to run linux on his desktop at home just so he can say hes on the bandwagon with everyone else
Ok, I guess I am mis-inerpreting this line then... Do you mean:
i know, acid_kewpie, I'm looking like another wannabe trying to run linux on his desktop at home just so he can say hes on the bandwagon with everyone else
Because it really looks to me like you are saying Chris is on a bandwagon, and is just another wannabe.
If I am in the wrong, I appologize for the upper portion of my response...
Either way, let's get this cdrecord problem fixed!
Have you given that script I pointed you to a try? It sometimes works a little better for those without a very decent hardware arrangement. It's a little more safe. I first creates the iso, then it burns the iso from the HD. Less chance of buffer problems and things at that point. If that's what you want to do, you could:
dd if=/dev/cdrom of=/home/files/cd.iso conv=noerror
Then you will have the iso on /home/files/cd.iso And from there can burn it with:
cdrecord dev=x,x,x speed=4 -v -eject /home/files/cd.iso
Which might be slightly safer, again, if you have less than optimal hardware.
Good luck, and again, sorry for the misunderstanding. Ever see A Few Good Men? Remember the part where Jack Nicholson asks Tom Cruise about his dad and he says his dad has been dead for 7 years? And then Jack Nicholson replies with (well I won't post it cause it cusses); anyway, that's how I feel now
i have been sitting here for the last 8 hours strait its time to call it quits ill resume tomarrow thanks for all the help.
dd: reading `/dev/hda': input/output error
0+0 records in
0+0 records out
over and over again it reapeats these lines
but it does create a iso file its just empty
also the drive isnt speeding up it is a dvd rom maybe thats why it was assigned /dev/hda i tested the eject /dev/hda and it worked. i guess i could just use my cd burner to do this iso rip.
Yeah, that's probably not your cdrom device. I really doubt that your primary master drive is going to be /dev/hda
Check out whether it's a symlink or what:
ls -l /dev/hda
Also, if you know, can you tell us which bus it's on?
Primary Master = /dev/hda
Primary Slave = /dev/hdb
Secondary Master = /dev/hdc
Secondary Slave = /dev/hdd
If it's on a controller, or a RAID card, tell us that as well.
Just whenever, if you are off til tomorrow, I'll be back then too, and so will many others who can help