I inadvertently deleted my copy of openSuSE 11.0 RC1 from my hard drive. I,
fortunately, had already burned it to DVD. To allow me to use a Delta iso
to upgrade to openSuSE GM how can I get the DVD back to an iso file. I have
tried dd and cat but do not achieve the same md5sum or sha1sum as the
original iso.
Run isoinfo on the file to get the number of blocks. E.g.
isoinfo -i /dev/sr0 -d
Look for the line
Volume size is: XXXXXXX
Use this in a dd command:
dd if=/dev/sr0 of=image11.iso bs=2k count=XXXXXXX
It is possible that when you burnt it, you had some padding blocks. This will affect the md5sum if you read it off the DVD, but no contents should be affected even if get back more blocks than what you originally had in the download.
>
> Run isoinfo on the file to get the number of blocks. E.g.
>
> isoinfo -i /dev/sr0 -d
>
> Look for the line
>
> Volume size is: XXXXXXX
>
> Use this in a dd command:
>
> dd if=/dev/sr0 of=image11.iso bs=2k count=XXXXXXX
>
> It is possible that when you burnt it, you had some padding blocks.
> This will affect the md5sum if you read it off the DVD, but no
> contents should be affected even if get back more blocks than what you
> originally had in the download.
>
>
Ken,
Thanks for the info, as soon as I posted I realized I hadn’t tried rsync
with the iso created from the dd. The copied iso was 4700372992 and reduced
to 4626032640 after rsync and the md5sum and sha1sum are now correct. Just
waiting for the GM Delta now.
>
> You could also just use k3b to make a copy and tell it to only create
> the iso file.
>
>
I looked at that last night, being late is my only excuse, and there only
seemed to be a way of copying DVD to DVD. I looked again and it seems the
created iso resides in a tmp directory prior to writing to DVD. Breaking
the copy and checking the iso did give the correct md5sum. Thanks again for
the heads up. As k3b created the DVD in the first place makes sense it can
reverse the process. With Linux you never stop learning.
bdquick wrote:
| You can also tell it where to save the iso file it creates. I just
| don’t remember my exact steps and I’m at work on Windows atm.
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
to., 12.06.2008 kl. 01.41 +0000, skrev AussieBob:
> I inadvertently deleted my copy of openSuSE 11.0 RC1 from my hard drive. I,
> fortunately, had already burned it to DVD. To allow me to use a Delta iso
> to upgrade to openSuSE GM how can I get the DVD back to an iso file. I have
> tried dd and cat but do not achieve the same md5sum or sha1sum as the
> original iso.
>
> Bob
If you deleted the ISOs of the previous beta, don’t worry. applydeltaiso
can also work with the CDs/dvd in your CD-ROM drive. For example, if you
have the SUSE 10.0-i386 Beta 1 CD 1 in your CD-ROM drive (/dev/hdc), use
this command: