Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My friend gave me a ubuntu live CD, for security reason I want to make sure the CD is safe to use.

I have checked the sha256sum and md5sum of the CD, but then I heard they have vulnerabilities too.

I know cmp compares two folders byte by byte. So can I use cmp /dev/cdrom ubuntu.iso to see if the CD is truly identical to the iso I downloaded from ubuntu.com? Is this even better than using sha256sum / md5sum?

share|improve this question
    
Have you tried reading the first line of man cmp? :-) –  Andrea Corbellini Sep 22 '13 at 22:28
2  
Being paranoid is a good thing when it comes to technology, but to distrust a combination of sha256 and md5 is unnecessary. –  Joren Sep 22 '13 at 22:30
    
why not download a new one from official website, Ubuntu –  Shaharil Ahmad Sep 23 '13 at 4:55
    
The first line of man cmp? Isn't it compares two files byte by byte? But is a CD considered as a file? And I can't burn a disk myself. –  user195245 Sep 23 '13 at 19:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.