Quote:
|
Originally Posted by a49002
What is the most reliable way to download the ISO from a trusted site, check the MD5 value of that ISO, then burn this to CDR and test the MD5 for final verification before installation?
|
to download the ISO use anything you want... i use Firefox or wget or BitTorrent or whatever...
to check the downloaded ISO use md5sum, like:
Code:
win32sux@candystore:/home/win32sux/iso$ md5sum ubuntu-6.10-desktop-i386.iso
b950a4d7cf3151e5f213843e2ad77fe3 ubuntu-6.10-desktop-i386.iso
to burn the ISO to a a CD, use cdrecord, like:
Code:
cdrecord dev=/dev/cdrom speed=32 padsize=63s -pad -dao -v /home/win32sux/iso/ubuntu-6.10-desktop-i386.iso
to check the burnt CD, first find its logical block and volume size:
Code:
win32sux@candystore:~$ isoinfo -d -i /dev/cdrom
CD-ROM is in ISO 9660 format
System id: LINUX
Volume id: CDROM
Volume set id:
Publisher id:
Data preparer id:
Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING
Copyright File id:
Abstract File id:
Bibliographic File id:
Volume set size is: 1
Volume set sequence number is: 1
Logical block size is: 2048
Volume size is: 240523
Joliet with UCS level 3 found
Rock Ridge signatures version 1 found
then stick those numbers in your dd command, and pipe dd's output to md5sum, like:
Code:
dd if=/dev/cdrom bs=2048 count=240523 conv=notrunc,noerror | md5sum
ideally, the md5sum you get there (the CD "surface") will match the md5sum of the ISO...
interestingly, this is also how you'd make an ISO from the CD if you wanted to (you could then md5sum the new ISO, for example):
Code:
dd if=/dev/cdrom of=/tmp/ubuntu-cd-test.iso bs=2048 count=240523 conv=notrunc,noerror