LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-30-2005, 03:40 PM   #1
derekpc
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

and

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, 11:46 AM   #2
macemoneta
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: 344Reputation: 344Reputation: 344Reputation: 344
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).
 
  


Reply



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 12:03 PM
input/output dev/hda error meira Red Hat 2 09-01-2004 08:31 AM
Input/Output error during read on /dev/hdb yibble Fedora - Installation 4 05-25-2004 03:57 AM
/dev/hdd input/output error... Linux~Powered Linux - Software 8 02-17-2004 12:55 PM
input/output error during read on /dev/hda bm1 Linux - Hardware 36 11-28-2002 11:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:11 PM.

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