If I take a CD, such as one of the SuSE CD's, and do to following: dd if=/dev/cdrom of=isofile Every thing completes with no errors. Howver if I create my own cd using the following: mkisofs -V "MYLABEL" -R -o ./cdimage.raw ./directory cdrecord -v speed=8 dev=0,2,0 ./cdimage.raw and then try the same dd command above using the cdrom as the reader I get dd if=/dev/cdrom of=isofile dd: reading `/dev/cdrom': Input/output error 5183+16 records in 5183+16 records out I can mount the iso file and see that everything is in fact in the file that was on the cd but but why the error when I make my cd and not one from a "valid" source?? Any clues???? Regards Mark
Mark Hounschell wrote:
If I take a CD, such as one of the SuSE CD's, and do to following:
dd if=/dev/cdrom of=isofile
Every thing completes with no errors. Howver if I create my own cd using the following:
mkisofs -V "MYLABEL" -R -o ./cdimage.raw ./directory cdrecord -v speed=8 dev=0,2,0 ./cdimage.raw
and then try the same dd command above using the cdrom as the reader I get
dd if=/dev/cdrom of=isofile
dd: reading `/dev/cdrom': Input/output error 5183+16 records in 5183+16 records out
I can mount the iso file and see that everything is in fact in the file that was on the cd but but why the error when I make my cd and not one from a "valid" source?? Any clues????
Regards Mark
I'll answer this one. It's because the cd was created in tao (track at once mode) instead of dao (disk at once mode).
From the cdrecord author:
The best way to copy a data disk is to copy the raw data on the master CD. This may be done by reading the data from the raw device by using 'dd' or 'sdd'. NOTE: All CD-R's written in Track At Once mode end in two unreadable run-out sectors. For this reason, you will not be able to read such a CD correctly with 'dd'. I recommend to write all disks in Disk at Once mode if your drive is supported in DAO mode with cdrecord. In addition, you may wish to add padding (see cdrecord / mkisofs man pages). Using this command to create the cd works cdrecord -useinfo -dao -eject -pad -data ./cdimage.raw Mark
Mark, Having read your origianl mail, your problem was not understood properly. The same problem occurs on my machine. After select a package to install and clicking on the accept button, a Notify dialog box appears. Rather than selecting "OK", check the "Show Details" radio button. Changing the string to "dvd:///;devices=/dev/dvd" from "dvd:///;devices=/dev/sr1" then successfully loads the dvd. If using a cd the string above can be amended accordingly. Does this help or have you already tried this?
Date: Fri, 20 Dec 2002 07:46:23 -0500 From: Mark Hounschell
Linux World 999 wrote:
In yast2, try changing the source of the installation from the main menu. The source medium can be a cd, dvd or the hard disk.
Please read the original post on this thread again, as this is what I'm unable to do.
Mark
Linux World 999 wrote:
Mark,
Having read your origianl mail, your problem was not understood properly. The same problem occurs on my machine.
After select a package to install and clicking on the accept button, a Notify dialog box appears. Rather than selecting "OK", check the "Show Details" radio button. Changing the string to "dvd:///;devices=/dev/dvd" from "dvd:///;devices=/dev/sr1" then successfully loads the dvd. If using a cd the string above can be amended accordingly.
Does this help or have you already tried this?
No I haven't tried this. I will asap and report back. "When I get home" Thanks.. Mark
Mark Hounschell wrote:
Linux World 999 wrote:
Mark,
Having read your origianl mail, your problem was not understood properly. The same problem occurs on my machine.
After select a package to install and clicking on the accept button, a Notify dialog box appears. Rather than selecting "OK", check the "Show Details" radio button. Changing the string to "dvd:///;devices=/dev/dvd" from "dvd:///;devices=/dev/sr1" then successfully loads the dvd. If using a cd the string above can be amended accordingly.
Does this help or have you already tried this?
No I haven't tried this. I will asap and report back. "When I get home" Thanks..
Mark
I get this -ERROR(Media:not attached)-. Something new though, and it makes me think I have some weird hardware issue, I can put the DVD into the drive and all works like a champ. It's just the CD's that don't work. I can mount them, I can read them, I installed 8.1 on this very box with them (I didn't have the DVD at the time), but since changing to ide-scsi I can not access them via Yast2. I'm gonna reconfig everything back for no ide-scsi and see. Mark
On Friday 20 December 2002 23:54, Mark Hounschell wrote:
Mark Hounschell wrote: <snip> I get this -ERROR(Media:not attached)-. Something new though, and it makes me think I have some weird hardware issue, I can put the DVD into the drive and all works like a champ. It's just the CD's that don't work. I can mount them, I can read them, I installed 8.1 on this very box with them (I didn't have the DVD at the time), but since changing to ide-scsi I can not access them via Yast2. I'm gonna reconfig everything back for no ide-scsi and see.
Mark
Have you tried to amend the string on the notify box to /media/cd or something similar? It is also worth chacking that the fix suggested by SuSE's SDB is correctly implemented. The ide-cd and cd-rom strings should be *BEFORE* the scsi setting. This incorrect setting caused me a problem until corrected.
participants (3)
-
Linux World 999
-
Mark Hounschell
-
Mark Hounschell