|
Dimensione: 7731
Commento:
|
Dimensione: 11209
Commento:
|
| Le cancellazioni sono segnalate in questo modo. | Le aggiunte sono segnalate in questo modo. |
| Linea 1: | Linea 1: |
| ||<tablestyle="float:right; font-size: 0.9em; width:30%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;"><<TableOfContents(2)>>|| | #format wiki #language it <<BR>> <<Indice>> |
| Linea 3: | Linea 6: |
| The program '''''md5sum''''' is designed to verify data integrity using the MD5 (Message-Digest algorithm 5) 128-bit cryptographic hash. MD5 hashes used properly can confirm both file integrity and authenticity. | |
| Linea 5: | Linea 7: |
| In terms of integrity, an MD5 hash comparison detects changes in files that would cause errors. The possibility of changes (errors) is proportional to the size of the file; the possibility of errors increase as the file becomes larger. It is a very good idea to run an MD5 hash comparison check when you have a file like an operating system install CD that has to be 100% correct. | = Introduzione = |
| Linea 7: | Linea 9: |
| In terms of security, cryptographic hashes such as MD5 allow for authentication of data obtained from insecure mirrors. The MD5 hash must be signed or come from a secure source (an HTTPS page) of an organization you trust. See the MD5SUMS file for the release you're using under http://releases.ubuntu.com (and optionally the [[GnuPrivacyGuardHowto|PGP]] signatures in the MD5SUMS.gpg file), or refer to the secure UbuntuHashes page for the official list of Ubuntu MD5 hashes. |
##The program '''''md5sum''''' is designed to verify data integrity using the MD5 (Message-Digest algorithm 5) 128-bit cryptographic hash. MD5 hashes used properly can confirm both file integrity and authenticity. |
| Linea 10: | Linea 11: |
| While security flaws in the MD5 algorithm have been uncovered, MD5 hashes are still useful when you trust the organization that produces them. Moving to more secure hashes like SHA-256 and Whirlpool is under [[https://bugs.launchpad.net/ubuntu-website/+bug/245953|discussion]]. | Il programma '''''md5sum''''' è progettato per verificare l'integrità dei dati usando l'hash crittografico a 128 bit MD5 (Message-Digest algorithm 5). Utilizzando in modo appropriato gli hash MD5 è possibile confermare sia l'integrità dei dati che l'autenticità. |
| Linea 12: | Linea 13: |
| = md5sum = The official '''md5sum page''' for Ubuntu, Kubuntu, Edubuntu and Xubuntu is UbuntuHashes. |
##In terms of integrity, an MD5 hash comparison detects changes in files that would cause errors. The possibility of changes (errors) is proportional to the size of the file; the possibility of errors increase as the file becomes larger. It is a very good idea to run an MD5 hash comparison check when you have a file like an operating system install CD that has to be 100% correct. ##tolto quel (errori) tra parantesi, IMHO era fuorviante In termini di integrità, un confronto di hash MD5 rileva nei file quelle differenze che potrebbero essere causa di errori. La possibilità che ci siano differenze aumenta in base alla dimensione del file. Confrontare l'hash MD5 è consigliabile, per esempio, per verificare l'integrità di un CD d'installazione garantendo così un'installazione sicura. ##In terms of security, cryptographic hashes such as MD5 allow for authentication of data obtained from insecure mirrors. The MD5 hash must be signed or come from a secure source (an HTTPS page) of an organization you trust. ##See the MD5SUMS file for the release you're using under http://releases.ubuntu.com (and optionally the [[Sicurezza/GnuPg|PGP]] signatures in the MD5SUMS.gpg file), or refer to the secure UbuntuHashes page for the official list of Ubuntu MD5 hashes. In termini di sicurezza, gli hash crittografici come MD5 consentono l'autenticazione di dati ottenuti da mirror non sicuri. L'hash MD5 deve essere firmato o provenire da una sorgente sicura (una pagina HTTP) di un'organizzazione in cui si ripone fiducia. Consultare il file MD5SUMS per il rilascio che si sta usando presso il [[http://releases.ubuntu.com|seguente indirizzo]] e opzionalmente le firme [[Sicurezza/GnuPg|PGP]] nel file `MD5SUMS.gpg`. ##While security flaws in the MD5 algorithm have been uncovered, MD5 hashes are still useful when you trust the organization that produces them. Moving to more secure hashes like SHA-256 and Whirlpool is under [[https://bugs.launchpad.net/ubuntu-website/+bug/245953|discussion]]. Sebbene siano state scoperte delle falle di sicurezza nell'algoritmo MD5, gli hash MD5 risultano ancora utili qualora si abbia fiducia nell'organizzazione che li produce. È in [[https://bugs.launchpad.net/ubuntu-website/+bug/245953|discussione]] il passaggio ad hash più sicuri come SHA-256 e Whirlpool. ##The official '''md5sum page''' for Ubuntu, Kubuntu, Edubuntu and Xubuntu is UbuntuHashes. ||<tablestyle="text-align: justify; width:100%;" style="border:none;" 5%><<Immagine(Icone/Piccole/note.png,,center)>> ||<style="padding:0.5em; border:none;">''Per verificare la '''Md5Sum''' della `iso` di '''Ubuntu''' fare riferimento a [[Installazione/MD5Sum|questa pagina]]''. || |
| Linea 16: | Linea 33: |
| = MD5SUM on Linux = Most Linux distributions come with the {{{md5sum}}} utility so installation is usually unnecessary. We are going to use the Ubuntu 8.10 LiveCD for the following example: |
= MD5SUM su Linux = ##Most Linux distributions come with the {{{md5sum}}} utility so installation is usually unnecessary. We are going to use the Ubuntu 8.10 LiveCD for the following example: |
| Linea 19: | Linea 36: |
| First go to the correct directory to check a downloaded ''iso'' file: | La maggior parte delle distribuzioni Linux includono il programma di utilità '''md5sum''' perciò di solito non è necessario installarlo. Qui di seguito è mostrato un esempio relativo al LiveCD di Ubuntu 11.04. ##First go to the correct directory to check a downloaded `.iso` file: ## {{{ ##cd download_directory}}} ##Then run the following command from within the download directory. ## {{{ ##md5sum ubuntu-8.10-desktop-i386.iso}}} ##The md5sum should print out a single line after calculating the hash: ## {{{ ##24ea1163ea6c9f5dae77de8c49ee7c03 ubuntu-8.10-desktop-i386.iso}}} * Per prima cosa spostarsi nella directory corretta per verificare un file `.iso` scaricato: |
| Linea 21: | Linea 50: |
| cd download_directory}}} Then run the following command from within the download directory. |
cd directory_di_scaricamento}}} * Quindi, una volta nella directory, digitare il seguente comando: |
| Linea 24: | Linea 53: |
| md5sum ubuntu-8.10-desktop-i386.iso}}} The md5sum should print out a single line after calculating the hash: |
md5sum ubuntu-11.04-desktop-i386.iso}}} * Il programma '''md5sum''' dovrebbe stampare una singola riga dopo il calcolo dell'hash: |
| Linea 27: | Linea 56: |
| 24ea1163ea6c9f5dae77de8c49ee7c03 ubuntu-8.10-desktop-i386.iso}}} | 8b1085bed498b82ef1485ef19074c281 ubuntu-11.04-desktop-i386.iso}}} |
| Linea 29: | Linea 58: |
| Compare the hash (the alphanumeric string on left) that your machine calculated with the corresponding hash on the UbuntuHashes page. When both hashes match exactly then the downloaded file is almost certainly intact. If the hashes do not match, then there was a problem with either the download or a problem with the server. You should download the file again from either the same mirror, or from a different mirror if you suspect a server error. If you continuously receive an erroneous file from a server, please be kind and notify the webmaster of that mirror so they can investigate the issue. | ##Compare the hash (the alphanumeric string on left) that your machine calculated with the corresponding hash on the UbuntuHashes page. When both hashes match exactly then the downloaded file is almost certainly intact. If the hashes do not match, then there was a problem with either the download or a problem with the server. You should download the file again from either the same mirror, or from a different mirror if you suspect a server error. If you continuously receive an erroneous file from a server, please be kind and notify the webmaster of that mirror so they can investigate the issue. |
| Linea 31: | Linea 60: |
| If you have the correct md5sum in a file in the same directory as the iso, you can then check the md5sum semi-automatically with md5sum. You will typically find the md5sum file on the download page where you obtained your iso. Ubuntu distributes the md5sums in a file "MD5SUMS" on this file is on the download page. | Comparare l'hash (la stringa alfanumerica a sinistra) calcolato dal proprio computer con il corrispondente hash presente in [[https://help.ubuntu.com/community/UbuntuHashes|questa pagina]]. Se gli hash corrispondono in modo esatto, allora il file scaricato è quasi certamente integro. Se gli hash non corrispondono significa che si è verificato un problema nello scaricare il file o un problema con il server. In questo caso è necessario scaricare nuovamente il file, dallo stesso mirror oppure da un mirror differente se si sospetta un errore nel server. Qualora si riceva continuamente un file errato da un server è opportuno e gradito segnalare tale problema al webmaster del mirror, in modo che si possa investigare. ##If you have the correct md5sum in a file in the same directory as the iso, you can then check the md5sum semi-automatically with md5sum. You will typically find the md5sum file on the download page where you obtained your iso. Ubuntu distributes the md5sums in a file "MD5SUMS" on this file is on the download page. Se l'hash MD5 corretto è contenuto in un file all'interno della stessa directory del file .`iso`, con '''md5sum''' è possibile verificare l'hash in modo semi-automatico. Di solito è possibile trovare il file md5sum nella stessa pagina da cui si è scaricato il file. Ubuntu distribuisce gli hash MD5 all'interno di un file dal nome `MD5SUMS`. = MD5SUM su Mac OS X = È possibile trovare l'hash MD5 usando come sistema operativo OSX attraverso il programma '''Utility Disco'''. Esso è raggiungibile dalla cartella Applicazioni oppure dal menù '''«Vai»''' del Finder, sotto la voce '''Utility'''. Aprire '''Utility Disco''' e aspettare che vengano visualizzate le informazioni dei propri dischi. Spostarsi nella cartella dove è stata scaricata l'immagine di Ubuntu e trascinare essa nella dock del programma '''Utility Disco'''. Per questo esempio si prenderà in considerazione l'immagine della versione desktop di Ubuntu 11.04. L'immagine disco dovrebbe comparire nella colonna sinistra del programma, quindi andare nel menù '''''Immagini->Checksum->MD5'''''. Il programma riporterà il seguente risultato: {{{ Checksum of "ubuntu-11.04-desktop-i386.iso" completed. MD5 8b1085bed498b82ef1485ef19074c281 }}} Verificare il risultato ottenuto con i corrispondenti hash presenti in [[https://help.ubuntu.com/community/UbuntuHashes|questa pagina]]. Se l'hash non corrisponde significa che c'è stato un problema con il download o son il server. È consigliato scaricare di nuovo l'immagine disco, scegliendo magari un mirror differente. Qualora si riceva continuamente un file errato da un server è opportuno e gradito segnalare tale problema al webmaster del mirror, in modo che si possa investigare. = MD5SUM su Solaris = Utilizzare il comando '''digest''', specificando l'algoritmo md5 con il flag «-a». Digitare in un terminale il seguente comando: |
| Linea 34: | Linea 82: |
| md5sum -c MD5SUMS }}} |
$ digest -a md5 ubuntu-11.04-desktop-i386.iso 8b1085bed498b82ef1485ef19074c281}}} |
| Linea 37: | Linea 85: |
| = MD5SUM on Mac OS X = Follow the instructions for [[#linux|MD5SUM on Linux]], except use the command "md5" instead of "md5sum". |
= MD5SUM su Windows = |
| Linea 40: | Linea 87: |
| You can also find the MD5 hash using OS X's built in Disk Utility program. You can find it in the Utilities folder in Applications, or by choosing "Utilities" from the Finder's "Go" menu. Open Disk Utility and wait for it to gather information about your disks. Go to the directory where you downloaded the Ubuntu disk image, and drag it to Disk Utility's dock icon. For this example we'll be checking the Ubuntu 8.10 Desktop install CD. The disk image should show up on the left-hand side of Disk Utility, underneath your physical drives. Go to the "Images" menu and select Checksum > MD5. Be sure to choose "MD5" and NOT "MD5 image checksum", as they are not the same and will give you different results. Disk Utility will return, in this case, {{{"Checksum of "ubuntu-8.10-desktop-i386.iso" completed. MD5 24ea1163ea6c9f5dae77de8c49ee7c03"}}} Compare the MD5 Disk Utility gives you with the corresponding hash on the UbuntuHashes page. When both hashes match exactly then the downloaded file is almost certainly intact. | Per Windows non esiste una versione del programma '''md5sum'''. [[http://cygwin.com/|Cygwin]] è probabilmente il più facile da installare e aggiornare, inoltre è conosciuto come un valido strumento per effettuare altre operazioni legate a Unix. Una volta installato, il funzionamento di '''Cygwin''' è analogo a quanto già descritto per Linux nel paragrafo precedente. |
| Linea 42: | Linea 89: |
| If the hashes do not match, then there was a problem with either the download or a problem with the server. You should download the file again from either the same mirror, or from a different mirror if you suspect a server error. If you continuously receive an erroneous file from a server, please be kind and notify the webmaster of that mirror so they can investigate the issue. | Esiste inoltre uno strumento con interfaccia grafica chiamato '''winMD5Sum''' che può risultare più facile da utilizzare: |
| Linea 44: | Linea 91: |
| = digest(1) on Solaris = Use the Solaris digest(1) command, specifying the md5 algorithm with the -a flag. For instance: {{{ $ digest -a md5 ubuntu-8.10-desktop-i386.iso 24ea1163ea6c9f5dae77de8c49ee7c03}}} |
* Scaricare e installare [[http://winmd5sum.softonic.it/|winMD5Sum]], un programma open source di verifica hash * Fare clic con il tasto destro sul file `.iso` e scegliere l'opzione '''Invia a''' selezionando infine la voce '''winMD5Sum''' * Una volta completato il checksum del prgramma copiare il corrispondente hash dalla [[https://help.ubuntu.com/community/UbuntuHashes|seguente pagina]] e incollarlo nella casella di testo in alto, infine fare clic su '''Compare''' * Apparirà messaggio di avviso che confermerà o meno la validità del file `.iso` |
| Linea 50: | Linea 96: |
| = MD5SUM on Windows = Windows does not come with '''''md5sum'''''. You must download one from another location, preferably one that you trust. There are command line utilities ({{{md5sum.exe}}}) that work similarly to the Unix utility; one public domain version with source is available from [[http://www.fourmilab.ch/md5/|Fourmilab]], but the version available from [[http://cygwin.com/|Cygwin]] is probably easier to install and update, and Cygwin is also recommended and trusted as the source for many more Unixy utilities. Once installed, Cygwin's '''''md5sum''''' behaves exactly as described in '''''MD5SUM on Linux''''' above. |
= MD5SUM su CD = |
| Linea 53: | Linea 98: |
| There are also graphical tools such as the one used in the walk-through provided below. | Per verificare che il CD di Ubuntu non è danneggiato una volta masterizzato, seguire le istruzioni qui riportate: |
| Linea 55: | Linea 100: |
| 1. Download and install [[http://www.nullriver.com/index/products/winmd5sum|winMD5Sum]], a free and open source hash verification program. 1. Right-click the ISO file. 1. Click Send To, then `winMD5Sum`. 1. Wait for `winMD5Sum` to load and finish the checksum (this may take a significant amount of time depending on your computer's performance). 1. Copy the corresponding hash from UbuntuHashes into the bottom text box. 1. Click "Compare" {{attachment:winMD5Sum.png}} 1. A message box will say "MD5 Check Sums are the same" if the hashes are equal. = MD5SUM on CD = To see if your Ubuntu CD was corrupted when burned to the disk, see the [[CDIntegrityCheck]] page, or follow the instructions below. First mount the CD, if not already mounted: |
* Per prima cosa montare il CD digitando in un terminale il seguente comando: |
| Linea 70: | Linea 104: |
| Then use the supplied md5sum file on the CD: | * Spostarsi all'interno della cartella ''/cdrom'' e utilizzare il file `md5sum` fornito dal CD, digitando il seguente comando: |
| Linea 72: | Linea 106: |
| cd /cdrom | |
| Linea 75: | Linea 108: |
| Be patient, it takes some time. If the command outputs any errors, you'll know that either the burn was bad or the .iso is corrupt. Please note that this method does not verify authenticity unless the hash of the iso file is compared to the hash at the secure UbuntuHashes page. | L'operazione richiederà alcuni minuti. Se verranno visualizzati degli errori, l'immagine `.iso` è danneggiata. |
| Linea 77: | Linea 110: |
| Finally, you can unmount the CD after leaving the folder: {{{ cd / sudo umount /dev/hda}}} |
||<tablestyle="text-align: justify; width:100%;" style="border:none;" 5%><<Immagine(Icone/Piccole/note.png,,center)>> ||<style="padding:0.5em; border:none;">''Questa procedura serve solamente per verificare l'autenticità dell'hash.'' || |
| Linea 82: | Linea 112: |
| = MD5SUM of burnt media = | = MD5SUM da un dispositivo masterizzato = |
| Linea 84: | Linea 114: |
| Depending on how you burn you ISOs you can check the burnt media directly. Start by checking that the ISO file is correct: | A seconda di come si masterizza un'immagine `.iso`, è possibile controllare direttamente il dispositivo masterizzato. |
| Linea 86: | Linea 116: |
| * Digitare il seguente comando per verificare se l'immagine `.iso` è corretta: | |
| Linea 88: | Linea 119: |
| }}} * Si dovrebbe ricevere un messaggio simile al seguente: {{{ |
|
| Linea 90: | Linea 125: |
| }}} | }}} |
| Linea 92: | Linea 127: |
| Now burn it from Nautilus (right-click, "Write to Disc ..."). To check the media directly: | * A questo punto [[Hardware/DispositiviPartizioni/MasterizzareIso|masterizzare]] l'immagine da '''Nautilus'''. In seguito, per controllare direttamente il dispositivo, digitare il seguente comando: |
| Linea 96: | Linea 131: |
| }}} * Il messaggio di output sarà simile al seguente: {{{ |
|
| Linea 97: | Linea 137: |
| }}} | }}} |
| Linea 99: | Linea 139: |
| where "/dev/cdrom" is typically a soft-link to your CD/DVD reader/burner. Note that the checksum matches. | Il percorso ''/dev/cdrom/'' è solitamente la posizione del proprio lettore CD/DVD. |
| Linea 101: | Linea 141: |
| = External Links = * [[http://en.wikipedia.org/wiki/Cryptographic_hash_function|Wikipedia's Cryptographic Hash Entry]] |
|
| Linea 104: | Linea 142: |
| VerifyIsoHowto | = Collegamenti esterni = * [[http://en.wikipedia.org/wiki/Cryptographic_hash_function|Wikipedia in inglese]] * [[https://help.ubuntu.com/community/HowToMD5SUM|Documento originale]] |
| Linea 107: | Linea 148: |
| CategoryInTraduzione | CategoryInTraduzione CategoryNuoviDocumenti |
Introduzione
Il programma md5sum è progettato per verificare l'integrità dei dati usando l'hash crittografico a 128 bit MD5 (Message-Digest algorithm 5). Utilizzando in modo appropriato gli hash MD5 è possibile confermare sia l'integrità dei dati che l'autenticità.
In termini di integrità, un confronto di hash MD5 rileva nei file quelle differenze che potrebbero essere causa di errori. La possibilità che ci siano differenze aumenta in base alla dimensione del file. Confrontare l'hash MD5 è consigliabile, per esempio, per verificare l'integrità di un CD d'installazione garantendo così un'installazione sicura.
In termini di sicurezza, gli hash crittografici come MD5 consentono l'autenticazione di dati ottenuti da mirror non sicuri. L'hash MD5 deve essere firmato o provenire da una sorgente sicura (una pagina HTTP) di un'organizzazione in cui si ripone fiducia. Consultare il file MD5SUMS per il rilascio che si sta usando presso il seguente indirizzo e opzionalmente le firme PGP nel file MD5SUMS.gpg.
Sebbene siano state scoperte delle falle di sicurezza nell'algoritmo MD5, gli hash MD5 risultano ancora utili qualora si abbia fiducia nell'organizzazione che li produce. È in discussione il passaggio ad hash più sicuri come SHA-256 e Whirlpool.
Per verificare la Md5Sum della iso di Ubuntu fare riferimento a questa pagina. |
MD5SUM su Linux
La maggior parte delle distribuzioni Linux includono il programma di utilità md5sum perciò di solito non è necessario installarlo. Qui di seguito è mostrato un esempio relativo al LiveCD di Ubuntu 11.04.
Per prima cosa spostarsi nella directory corretta per verificare un file .iso scaricato:
cd directory_di_scaricamento
- Quindi, una volta nella directory, digitare il seguente comando:
md5sum ubuntu-11.04-desktop-i386.iso
Il programma md5sum dovrebbe stampare una singola riga dopo il calcolo dell'hash:
8b1085bed498b82ef1485ef19074c281 ubuntu-11.04-desktop-i386.iso
Comparare l'hash (la stringa alfanumerica a sinistra) calcolato dal proprio computer con il corrispondente hash presente in questa pagina. Se gli hash corrispondono in modo esatto, allora il file scaricato è quasi certamente integro. Se gli hash non corrispondono significa che si è verificato un problema nello scaricare il file o un problema con il server. In questo caso è necessario scaricare nuovamente il file, dallo stesso mirror oppure da un mirror differente se si sospetta un errore nel server. Qualora si riceva continuamente un file errato da un server è opportuno e gradito segnalare tale problema al webmaster del mirror, in modo che si possa investigare.
Se l'hash MD5 corretto è contenuto in un file all'interno della stessa directory del file .iso, con md5sum è possibile verificare l'hash in modo semi-automatico. Di solito è possibile trovare il file md5sum nella stessa pagina da cui si è scaricato il file. Ubuntu distribuisce gli hash MD5 all'interno di un file dal nome MD5SUMS.
MD5SUM su Mac OS X
È possibile trovare l'hash MD5 usando come sistema operativo OSX attraverso il programma Utility Disco. Esso è raggiungibile dalla cartella Applicazioni oppure dal menù «Vai» del Finder, sotto la voce Utility. Aprire Utility Disco e aspettare che vengano visualizzate le informazioni dei propri dischi. Spostarsi nella cartella dove è stata scaricata l'immagine di Ubuntu e trascinare essa nella dock del programma Utility Disco. Per questo esempio si prenderà in considerazione l'immagine della versione desktop di Ubuntu 11.04. L'immagine disco dovrebbe comparire nella colonna sinistra del programma, quindi andare nel menù Immagini->Checksum->MD5. Il programma riporterà il seguente risultato:
Checksum of "ubuntu-11.04-desktop-i386.iso" completed. MD5 8b1085bed498b82ef1485ef19074c281
Verificare il risultato ottenuto con i corrispondenti hash presenti in questa pagina.
Se l'hash non corrisponde significa che c'è stato un problema con il download o son il server. È consigliato scaricare di nuovo l'immagine disco, scegliendo magari un mirror differente. Qualora si riceva continuamente un file errato da un server è opportuno e gradito segnalare tale problema al webmaster del mirror, in modo che si possa investigare.
MD5SUM su Solaris
Utilizzare il comando digest, specificando l'algoritmo md5 con il flag «-a». Digitare in un terminale il seguente comando:
$ digest -a md5 ubuntu-11.04-desktop-i386.iso 8b1085bed498b82ef1485ef19074c281
MD5SUM su Windows
Per Windows non esiste una versione del programma md5sum. Cygwin è probabilmente il più facile da installare e aggiornare, inoltre è conosciuto come un valido strumento per effettuare altre operazioni legate a Unix. Una volta installato, il funzionamento di Cygwin è analogo a quanto già descritto per Linux nel paragrafo precedente.
Esiste inoltre uno strumento con interfaccia grafica chiamato winMD5Sum che può risultare più facile da utilizzare:
Scaricare e installare winMD5Sum, un programma open source di verifica hash
Fare clic con il tasto destro sul file .iso e scegliere l'opzione Invia a selezionando infine la voce winMD5Sum
Una volta completato il checksum del prgramma copiare il corrispondente hash dalla seguente pagina e incollarlo nella casella di testo in alto, infine fare clic su Compare
Apparirà messaggio di avviso che confermerà o meno la validità del file .iso
MD5SUM su CD
Per verificare che il CD di Ubuntu non è danneggiato una volta masterizzato, seguire le istruzioni qui riportate:
- Per prima cosa montare il CD digitando in un terminale il seguente comando:
sudo mount /dev/hda /cdrom
Spostarsi all'interno della cartella /cdrom e utilizzare il file md5sum fornito dal CD, digitando il seguente comando:
md5sum -c md5sum.txt | grep -v 'OK$'
L'operazione richiederà alcuni minuti. Se verranno visualizzati degli errori, l'immagine .iso è danneggiata.
MD5SUM da un dispositivo masterizzato
A seconda di come si masterizza un'immagine .iso, è possibile controllare direttamente il dispositivo masterizzato.
Digitare il seguente comando per verificare se l'immagine .iso è corretta:
$ grep ubuntu-8.10-desktop-i386.iso MD5SUMS | tee /proc/self/fd/2 | md5sum --check -
- Si dovrebbe ricevere un messaggio simile al seguente:
24ea1163ea6c9f5dae77de8c49ee7c03 *ubuntu-8.10-desktop-i386.iso ubuntu-8.10-desktop-i386.iso: OK
A questo punto masterizzare l'immagine da Nautilus. In seguito, per controllare direttamente il dispositivo, digitare il seguente comando:
$ md5sum /dev/cdrom
- Il messaggio di output sarà simile al seguente:
24ea1163ea6c9f5dae77de8c49ee7c03 /dev/cdrom
Il percorso /dev/cdrom/ è solitamente la posizione del proprio lettore CD/DVD.
