Md5sum /dev/cdrom Input/output Error
Contents |
Search Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software dd: reading `/dev/cdrom': Input/output dd copy protected dvd error User Name Remember Me? Password Linux - Software This forum is
Linux Dd Input/output Error
for Software issues. Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Page 1 of 4 1 23 > Last » Search
icrave Member Registered: 2006-04-11 Posts: 193 [SOLVED] md5sum never works Hi,I'm trying to verify a cd with md5sum, but it doesn't work. I don't know why, but after many tries it seems to resists...The steps that i follow are:# Create .iso of files to burn: mkisofs -pad -J -r -o imagen.iso /directory/to/burn/ # Create md5 checksum: md5sum imagen.iso > imagen.iso.md5 # Burn iso image to CD: cdrecord -v -eject dev=/dev/scd0 -data imagen.iso # With the burned cd and isoinfo, i get volume size and block size: volume size = isoinfo -d -i /dev/scd0 | grep "^Volume size is:" | cut -d " " -f 4 block http://www.linuxquestions.org/questions/linux-software-2/dd-reading-%60-dev-cdrom'-input-output-error-228896/ size = isoinfo -d -i /dev/scd0 | grep "^Logical block size is:" | cut -d " " -f 5 # Create iso image from CD: dd if=/dev/scd0 of=imagen.iso bs=(block size) co=(volume size) # Check md5sum: md5sum -c imagen.iso.md5Someone knows what I'm doing wrong? Last edited by icrave (2008-05-06 10:09:21) Offline #2 2008-05-05 19:58:29 ghostHack Member From: Bristol UK Registered: 2008-02-29 Posts: 261 Re: [SOLVED] md5sum never works When https://bbs.archlinux.org/viewtopic.php?id=48173 getting the md5sum of a burned CD I have found that I have to point md5sum at the device entry, e.gmd5sum /dev/cdromI don't know if that is the 'correct' method but its the only way I found of getting an md5sum from a CD. Offline #3 2008-05-05 21:28:58 icrave Member Registered: 2006-04-11 Posts: 193 Re: [SOLVED] md5sum never works Your command to generate md5 directly from /dev/cdrom doesn't work (input/output error).Now, I'm trying another method to create image from cd:dd if=/dev/cdrom | head -c 188160000 | md5sumWhere 188160000 is the exact size on bytes of image (used stat to get it)... but off course, It doesn't work . Offline #4 2008-05-05 21:35:07 ghostHack Member From: Bristol UK Registered: 2008-02-29 Posts: 261 Re: [SOLVED] md5sum never works hmm, /dev/cdrom is actually a link to /dev/sr0 on my system, try to find out the proper device that your cdrom maps to and use that instead Offline #5 2008-05-05 21:46:24 icrave Member Registered: 2006-04-11 Posts: 193 Re: [SOLVED] md5sum never works I think that the problem isn't /dev/cdrom, because i can do "cat /dev/cdrom | md5sum" (yes, the md5sum are incorrect).Using the original dev (in my case /dev/sr0, too), i have the same error. Of
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the http://askubuntu.com/questions/45736/check-burned-ubuntu-cd workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags http://lists.plug.org.au/pipermail/plug/2002-March/028955.html Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it input/output error works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Check burned Ubuntu CD up vote 1 down vote favorite My OS is Ubuntu 10.10. I have burned Ubuntu 11.04 into a CD. Now I tried to check the CD following https://help.ubuntu.com/community/HowToMD5SUM#Check%20the%20CD, as following: $ ls -l -rwxrwx--- 1 root plugdev md5sum /dev/cdrom input/output 718583808 2011-05-19 10:26 ubuntu-11.04-desktop-i386.iso $ dd if=/dev/cdrom bs=1 count=718583808 | md5sum dd: reading `/dev/cdrom': Input/output error 718581760+0 records in 718581760+0 records out 718581760 bytes (719 MB) copied5f0528a1b0a834bcf6d25f0b52d97736 - , 3918.18 s, 183 kB/s My questions are: I found my CD appears as /media/Ubuntu 11.04 i386, why not verify it, but to verify /dev/cdrom? why did I get "dd: reading `/dev/cdrom': Input/output error", and only 718581760 out of 718583808 bytes are processed? How shall I check the CD then? Thanks and regards! installation cd md5sum share|improve this question asked May 28 '11 at 20:45 Tim 5,8773379132 Have you find any answer here which you can accept? –Masi Sep 21 at 15:38 add a comment| 1 Answer 1 active oldest votes up vote 6 down vote Just boot the CD and from the menu run Check disc for defects: If everything's ok, you should get the message Check finished: no errors found. share|improve this answer answered May 28 '11 at 21:56 htorque 37.7k25147197 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up usi
date ] [ thread ] [ subject ] [ author ] Thanks, I tried 'dd' of cd on Redhat 7.2 & Mandrake 8.1 and got the same result so thought it must be me! I suspect the 'dd' command gives errors if it doesn't have the perfect number of repetitions set, and get the impression the file still has reliable content. This is complicated by there being no burner on the linux machine and every cd once burnt and returned to linux (dd if=/dev/cdrom | md5sum) gives a different checksum. I can see I need to swap the burner then compare linux burnt cds(checksum on cds and dd of cds) with original downloaded iso file. [maybe just get a burner for the linux system and be done with it - Sony with burnproof?] Cheers, Daniel. At 20:24 29/03/2002 +0800, you wrote: >On Fri, Mar 29, 2002 at 05:43:31PM +0800, Daniel wrote: > > > dd if=/dev/cdrom of=Mandrake82-cd1-inst.i586.iso > > dd: reading '/dev/cdrom': Input/output error > > 1332304+0 records in > > 1332304+0 records out > >I had a similar problem copying a CD a few months ago. No one on the >list had any real ideas but I always suspected it was a kernel problem, >although I never had time to really fiddle around and fix it. Try >upgrading your kernel. > >-- >DSA 0x2A0F80F3: 39F3 4E10 9BE9 E728 A9EE 029C D51D EE53 2A0F 80F3 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com Previous message: [plug] dd and md5 report 'Input/output error' Next message: [plug] ADSL Download limiter Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the plug mailing list