Re: "offline" media check of install DVD?

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

 



On Tue, Jan 02, 2007 at 01:17:24PM +1100, Danny Yee wrote:
> Peter Gordon wrote:
> > Each ISOs directory contains a file called SHA1SUM that contains the
> > SHA-1 hashes of the images. You can use a tool called sha1sum to
> > calculate this hash from the image and compare it to the content of the
> > SHA1SUM file.
>  
> I wanted to check the burn, not the download.  But your message gave
> me half what I wanted.
> 
> I ended up doing the following
> 
> * looked at how big the iso image was and divided that by 512 to get
>   the number of blocks in it
> * dd if=/dev/dvd of=check.iso count=blocks
> * sha1sum check.iso
> * compared that with the SHA1SUM file

"sha1sum /dev/dvd" would have saved you a step. In Unix or Linux,
everything is a file. Everything.

Of course, if the downloaded image is broken, it (and any DVDs) are
useless, so the first step is to check the image:

sha1sum -c SHA1SUM

(assuming you have the SHA1SUM file handy.)

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

Attachment: pgpSLkMsXlFUm.pgp
Description: PGP signature

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux