Home > ntfs > dd clone hard drive: Input/Output Error though "chkdsk" says OK

dd clone hard drive: Input/Output Error though "chkdsk" says OK

September 3Hits:5
Advertisement

I've used dd to clone hard drives before using 'dd' and a live cd, but have run into a problem.

The issue:

dd fails with an "Input/Output Error" on /dev/sda3 , even though windows "check disk" (chkdsk) says it's ok.

Context:

  • Trying to replace my laptop hard drive w/ a faster one of the same size
  • Laptop has NTFS on a 320gb hard drive
  • Booting into knoppix
  • Knoppix recognizes 'original' drive(/dev/sda)
  • I am using a usb connection for ‘new' drive (irrelevant, but just an fyi)
  • Knoppix recognizes the usb drive as /dev/sdb
  • Using dd, as follows:

    dd if=/dev/sda of=/dev/sdb

  • `dd gives the I/O error above at 82Gb (out of 320Gb)
  • I then tried checking each partition as follows and found it failed on /dev/sda3:
    dd  if=/dev/sda1 of=/dev/null dd  if=/dev/sda2 of=/dev/null dd  if=/dev/sda3 of=/dev/null  
    
  • I have ran windows xp chkdsk on the offending drive in both "find only" and "find and fix" mode and it reports no errors

Question

How can I find and fix the error on my original hard drive partition (i.e. /dev/sda3) so that dd reads it successfully?

Answers

Use ddrescue for that, it's able to read damaged disks.

And chkdsk probably won't find the issue because it only does basic checks of filesystem integrity; by default, it won't check all the partition space for read errors caused by damage.

I ran into the same problem and my OpenSUSE livecd didn't include ddrescue or Clonezilla. However, when I checked out the dd manual, I discovered that there was an option "conv=noerror" that allowed dd to continue past the I/O error.

dd conv=noerror if=/dev/sda of=/dev/sdc

To copy data to different HDD attempt use special tools. Norton Ghost (commercial) or Clonezilla (opensource) http://clonezilla.org/

Tags:ntfs, clone

Related Articles

  • dd clone hard drive: Input/Output Error though "chkdsk" says OKSeptember 3

    I've used dd to clone hard drives before using 'dd' and a live cd, but have run into a problem. The issue: dd fails with an "Input/Output Error" on /dev/sda3 , even though windows "check disk" (chkdsk) says it's ok. Context: Trying to

  • Can't do a full mac hard drive clone because of input/output errorsJuly 14

    I do a nightly SuperDuper! clone on my MacBook Pro. Ever since updating to their latest (Lion-compatible) version, it won't do a full clone, but the logs report copy failures because of Input/Output errors. (Unfortuantely, the previous version succes

  • HP Storageworks 448 tape drive input/output error with UbuntuMarch 24

    I'm trying to set a backup to tape of a machine using flexbackup. However any attempt to write to the tape drive (via either flexbackup or just tar) results in "/dev/st0: Input/output error" The machine seems to recognise the drive (HP Storagewo

  • input/output error during write on /dev/sdb during Ubuntu installationMay 4

    I am trying to install Ubuntu 14.04 on a clean hard drive but it gives an error: input/output error during write on /dev/sdb What should I do to fix it? Thanks in advance I haven't tried anything as I am a newbie. --------------Solutions-------------

  • Disk Utility Error: Input/output error during writeNovember 28

    I can't format my flash drive any more I tried different things: https://stackoverflow.com/questions/32945228/usb-flash-drive-input-output-error-during-write I've also tried to scan the flash drive for badblocks but I couldn't find one: How do I fix

  • input / output error, drives randomly refusing to read / write November 30

    I have an issue with one of our servers running Ubuntu 10.04, it is running BackupPC and collects backups from various machines / servers around the building. On the 8th minute (12:08, 12:18, 12:28 etc) the backups are transferred to an external hard

  • Input/Output Error Copying Files from Internal Harddrive to External Drive. (Ubuntu running from Live CD)June 26

    I am attempting to transfer files from an internal hard drive to an external hard drive. Both mount fine and I can view files in them. When I try to copy a few of the image files they fail and pass an input/output error. However other files work fine

  • Input/output error reading USB backup drive on CentOS 6.4October 21

    I'm suddenly seeing some strange behaviour on our USB backup drive that doesn't make sense to me: (2013-10-21 14:58:23 [[email protected] /]$ cd /mnt/backup/ (2013-10-21 14:59:03 [[email protected] backup]$ ls -la ls: reading directory .: Input/output error total

  • Cannot format read-only USB; 'Error calling fsync(2) on /dev/sdb: Input/output error ' when I try to format the driveJuly 4

    I'm trying to format this USB, when I plug it in it mounts and I can read what's on it, but can't write to it or delete anything (read-only error). First I tried the normal 'Disk utility' - unmount - Format drive/volume, but I get: Error calling fsyn

  • Input/output error using Mac Disk Utility?September 4

    I began trying to backup my dvd collection to an external hard drive. I do this my making disk images(.iso) from the dvds. To do this I use disk utility > new image > save as dvd/cd master. Started with some Battlestar Galactica. First 6 disks of se

  • What does input/output error mean with Disk UtilitySeptember 4

    I began trying to backup my dvd collection to an external hard drive. I do this my making disk images(.iso) from the dvds. To do this I use disk utility > new image > save as dvd/cd master. Started with some Battlestar Galactica. First 6 disks of se

  • Input/output error on Linux MachineJanuary 25

    I keep getting the following error my Linux machine. Input/output error It occurs when I try to us commands like df or change to certain directories on the drive. Could this be caused by a hard drive failure? --------------Solutions------------- Yes,

  • Mac Disk-Utility input/output errorMay 4

    a couple of other people have posted about this but my specific problem has not been addressed. For months I have been backing up DVDs and home movies with no problem then all of a sudden I get an "input/output" error. Yes I have cleaned the dis

  • LVM input/output errorAugust 25

    When I run the lvdisplay, it showed the following error... /usr/sbin/lvdisplay /dev/sdb: read failed after 0 of 2048 at 0: Input/output error /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error /dev/sdb2: read failed after 0 of 2048 at 0:

  • "input/output error during read on /dev/sda" during installation September 15

    at the moment my laptop does not have any os i am trying to install ubuntu 10.04 but after the initial installation steps it shows an "input/output error during read on /dev/sda" and the installation stops i have no idea what to do? any help wou

  • Input/output error, when trying to install on netbook November 27

    Been trying to install ubuntu on my Samsung NB30 netbook, but I have been running into the same error over and over again. [Errno 5] Input/output error This particular error is often due to a faulty CD/DVD disk or drive, or a faulty hard disk. It may

  • VMWare Input/Output error on ubuntu host Win7 guestJanuary 12

    I am running ubuntu 10.10 as my host with Windows 7 as the guest. About a couple weeks ago I started getting error pop-ups from vmware reporting inability to read or write to a particular file. On futher investigation, I've noticed that I cannot copy

  • Don't copy files that cause an input/output errorSeptember 21

    When copying files from a faulty hd with cp, rsync, or scp, the faulty files which can't be read anymore are also partly copied to the destination directory. Is there an option to automatically skip or delete files on the destination drive causing an

  • "errno 5 - input/output error" when trying to installOctober 13

    Today I downloaded Ubuntu for my laptop. It runs great from a bootable usb, but when I tried to install it, I've got the "errno 5 - input/output error". I tried everything to install it on my laptop, but nothing works (also re-download the iso).

  • Input/output error and fsckOctober 29

    recently I couldn't mount my hard drive so I booted with a live cd and doing a fsck on that partition. it said Deleted inode 992193 has zero dtime. Fix i entered y and another one it showed me this prompt again and I entered ctrl-C now I'm able to mo

Copyright (C) 2018 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.745 s.