I'm trying to create an image file from a CD mounted in a CD burner /DVD ROM drive, but I keep getting error messages when dd tries to read the CD disk. I'm using the dd command: dd if=/mnt/cdrom of=/temp/my_image.img bs=18k or dd if=/dev/hdb of=/temp/my_image.img bs=18k My operating system is Red Hat 9 installed in hda9. The cdrom does not have scsi emulation. I removed that command from the Grub boot because I got worse error messages when it was in effect. The drive is defined in /etc/fstab as: /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0 The error messages all look like this: hdb: command error: status=0x51 { DriveReady SeekComplete Error} error=0x54 Is there another way to create an image file from a CD without dd?
On October 9, 2005 09:34 am, millward wrote this amazing epistle: <snip>
Is there another way to create an image file from a CD without dd?
How about looking at k3b? I haven't done it, but it should work.
Later Mike
Problem: after copying a partition, the OS in it cannot be booted. # dd if=/dev/hdc3 of=/dev/hda3 bs=1M
I did not have this particular problem copying Linux (I had other problems). But after copying a partition with Windows 2K and attempting to boot to it, getting to the partition by Grub, I get the messages:
Invalid BOOT.INI file Booting from C:\winnt\ NTDETECT failed
The partitions copied to and from are the same size, but slightly different positions on the drive. I am guessing that the stage one loader is present, but has the location of files for the next stage hard coded (and wrong because of the offset position of the file).
Yeah, I know - get rid of Windows and I won't have to worry about such things. Any other suggestions?
On 9 Oct, millward wrote:
The error messages all look like this: hdb: command error: status=0x51 { DriveReady SeekComplete Error} error=0x54
Try dd with a known good (pressed not burned, data not audio) CD. I have a funny feeling your problem is simply you're trying to read a bad CD-R or a CD-R on a drive that is too old to support them properly.