[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ISO Burning problems



On Tue, Dec 06, 2005 at 05:09:06PM +0000, antonio giulio wrote:
> I have burned dvd isos (debian, knoppix) with k3b. k3b uses growisofs, but I
> have not found particular options (I have used "Auto" and "DAO"). With
> cdrecord I have burned cd-isos for FreeBSD (sorry I have missed it in prev
> email) with -dao option.
> 
> I make test with "md5sum /dev/cdrom" or "cat /dev/cdrom | md5sum".

That often doesn't work on linux due to block driver stupidity unless
burned in dao mode and even then it might not work.

> How Goswin has suggested I have compared isos on hard disk and cd/dvd like
> this:
> 
> "diff /dev/cdrom path/file.iso" and "cmp /dev/cdrom path/file.iso" but
> nothing was returned.

No different than the md5sum command given you can not reliably read
from /dev/cdrom raw on linux due to block size issues and trying to read
ahead in the kernel.

> And how Len suggested I have used growisofs directly, but nothing is
> changed.
> 
> Is right my way?

Simple way:

mount -o loop image.iso /mnt/image
mount /dev/cdrom /mnt/cdrom

diff -ruN /mnt/image /mnt/cdrom

That compares the file contents without any of the low level device
issues.

Len Sorensen



Reply to: