I think below command will serve your purpose. #dd if=/dev/sdb of=/dev/sdc conv=noerror,sync
Vishesh Kumar http://linuxmantra.com/ On Mon, Nov 11, 2013 at 3:14 PM, hadi motamedi <motamed...@gmail.com> wrote: > Dear All > I needed to clone my disk to another hard drive . I did it as the > following : > #dd if=/dev/sdb of=/dev/sdc > But after a while, the procedure ended with the "writing to /dev/sdc > input/output error" message. > Can you please let me know how can I overcome this as the fdisk now > returns as " > #fdisk /dev/sdc > "I do not know how to handle files with mode 81a4 > must set cylinders" > What can I do at know ? > Thank you > _______________________________________________ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > -- http://linuxmantra.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos