Menu

Bad sectors on source disk

Ron Murray
2010-12-13
2013-04-05
  • Ron Murray

    Ron Murray - 2010-12-13

    I'm trying to use clonezilla live 1.2.6-40-i686 on an XP laptop, whose boot partition (sda1) has a few bad sectors (according to chkdsk). Since this is an old laptop and the original install disks (OS and software) disappeared long ago, I'm reduced to trying to to clone the old drive to a new one.
    Using clonezilla to perform this task, however, fails miserably. It doesn't matter whether I use image mode or device mode, I get lots of disk errors, including

    Buffer I/O error on device sda1, logical block 1821604
    Buffer I/O error on device sda1, logical block 1821605
    Buffer I/O error on device sda1, logical block 1821606
    Buffer I/O error on device sda1, logical block 1821607

    These lines, and the associated errors (with the same block numbers) loop endlessly, and I need to use control-C to stop it. I've tried using rescue mode and the -q2 switch, and it doesn't help. I've even tried the 'USE_NTFSCLONE_IN_OCS_ONTHEFLY="yes" + USE_PARTCLONE_IN_OCS_ONTHEFLY="no" ' solution as noted in
    steven_shiau's post on 2010-01-19 03:44:50 EST, but that doesn't make any difference either.
    As far as I can see, the few bad sectors on this disk don't affect any important files, so if I can get past these errors I might actually have a useable disk. Is there any reason that clonezilla keeps trying to read the same sectors, rather than just giving up and returning a blank sector? Is there anything I can do to get past this point?

    Thanks,

    …..Ron

     
  • Steven Shiau

    Steven Shiau - 2010-12-15

    You might be able to enter expert mode, and check the option "-rescue". This might work.
    However, I believe ddrescue or gddrescue command (it is included in Cloniezilla live, too) is a better choice.

    Steven.

     
  • Anonymous

    Anonymous - 2013-02-17

    I had the same problem as rjmx describes and I was able to successfully clone the disk by using the -rescue and -fsck-src-part-y options.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.