Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-30-2005, 04:40 PM   #1
LQ Newbie
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
dd: writing to `/dev/hdc': Input/output error

I have these little 256mb flash drives that plug into the ide port on the motherboard. i need to get make an image of one and write it to another. These flash drives are running what i believe to be Venix 2.0 (the filesystem is Venix 80286 (id 40)), I've made a couple images of the drive using
dd if=/dev/hdc of=venix.img


cat /dev/hdc > venix.img

after i make the images i then try to put put them on the new drive using
dd if=/venix.img of=/dev/hdc

but no matter which version of the image i use, i get this error:
dd: writing to `/dev/hdc': Input/output error
499969+0 records in
499968+0 records out

anyone have a clue why i cant copy this image to the new drive?
Old 12-01-2005, 12:46 PM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
The message you got has the answer:

499969+0 records in
499968+0 records out

Your device is one of the "off by 1" storage devices that have been mentioned on the kernel mailing lists (i.e., the devices lies).

You can put the files back by loopback mounting the image and recursively copying file-by-file (after formatting the device, if necessary).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/hdc : Input/output error tulip4heaven Linux - Software 3 04-27-2005 01:03 PM
input/output dev/hda error meira Red Hat 2 09-01-2004 09:31 AM
Input/Output error during read on /dev/hdb yibble Fedora - Installation 4 05-25-2004 04:57 AM
/dev/hdd input/output error... Linux~Powered Linux - Software 8 02-17-2004 01:55 PM
input/output error during read on /dev/hda bm1 Linux - Hardware 36 11-28-2002 12:26 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration