Re: Reading Windows CD on Linux 2.4.6

Bruce Blinn (blinn@MissionCriticalLinux.com)
Mon, 17 Sep 2001 14:22:48 -0700


"Richard B. Johnson" wrote:
>
> On Mon, 17 Sep 2001, Bruce Blinn wrote:
> [SNIPPED...]
>
> Just do `cp /dev/cdrom /tmp/foo`. ^C out when you think you have
> enough, then use `dd` to copy a small portion of the image file.
>

Here are the results of the methods that were suggested for producing a
CD image. They all seem to fail at the same place because the resulting
file is the same size.

# dd if=/dev/cdrom of=/tmp/cd1.iso
dd: /dev/cdrom: Input/output error
1440+0 records in
1440+0 records out

# dd if=/dev/cdrom of=/tmp/cd2.iso bs=2k
dd: /dev/cdrom: Input/output error
360+0 records in
360+0 records out

# cp /dev/cdrom /tmp/cd3.iso
cp: /dev/cdrom: Input/output error

# ls -l /tmp/cd*
-rw------- 1 root root 737280 Sep 17 14:09 /tmp/cd1.iso
-rw------- 1 root root 737280 Sep 17 14:10 /tmp/cd2.iso
-rw------- 1 root root 737280 Sep 17 14:11 /tmp/cd3.iso

Thanks,
Bruce

-- 
Bruce Blinn                               408-615-9100
Mission Critical Linux, Inc.              blinn@MissionCriticalLinux.com
www.MissionCriticalLinux.com

Asking if computers can think is like asking if submarines can swim. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/