On Wed, Dec 08, 2004 at 02:05:31PM -0500, Ben Bettin wrote:
> Searching through aptitude for "cd" and "dvd" brings up quite a few
> packages.  Some appear to do the same thing, it's rather overwhelming.

apt-cache search <some search term and some other search term>
might help here. 

>  I tried the "dd" command someone mentioned earlier, I used it to try
> to copy one of my DVD movies (The Clearing).  I ran "dd if=/dev/cdrom
> of=the_clearing.iso".  It ran for awhile then ended with some kind of
> read/write error.  I think the iso was just over 700 mb in size. 
> Seems like it should've been longer than that.  I deleted the iso and
> tried again, same thing happened.  

Do you have enough space on the partition? If you have about 700 MB
free and you want to copy a dvd that is probably not enough and would
indeed result in a write error. `df -h' helps here.

You may need to use some other infile than /dev/cdrom because it is a
dvd, but I'm not sure of that. I can't read dvds on my system.

I loaded a cd. I have enough space on /opt, so I tried:

dd if=/dev/cdrom of=/opt/cdrom.iso

After a while the following appeared:

dd: reading `/dev/cdrom': Input/output error
1273096+0 records in
1273096+0 records out
651825152 bytes transferred in 397,550926 seconds (1639602 bytes/sec)

I think dd just reads until it encounters an error like this. Then
that shouldn't be a problem.

I mounted the resulting iso file on a loop device as root and that
worked fine. There were md5sums of everything on the cd and they
checked out fine as well. So at least for cds dd seems okay.

> I'm not sure how dd works, but for
> copying floppies I see people put in a size argument or something.  I
> figured maybe since the command didn't specify one, dd got to the end
> of the cd and then threw and error because of it?  

I don't think so. dd will stop copying when it reaches the end of the
input stream. The count argument is only needed when your infile
doesn't have an end, e.g. with /dev/zero.


-- 
Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands]
"Let your advance worrying become advance thinking and planning."
 - Winston Churchill


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to