<p>You are wanting the dd command or the ddrescue command.<br>
Dd is standard but will likely choke on failed sectors.<br>
Ddrescue will keep moving and retrying failed sectors until it suceeds or times out.</p>
<div class="gmail_quote">On Aug 14, 2011 5:47 PM, "Carl Keil" <<a href="mailto:carl@snarlnet.com">carl@snarlnet.com</a>> wrote:<br type="attribution">> Hi,<br>> <br>> Sorry.  My boot drive is apparently failing.  Just got this in the mail <br>
> after having to rescue my grub/boot info after waking up to a dead server.<br>> <br>> Device: /dev/hda, 51 Currently unreadable (pending) sectors<br>> <br>> The email before that said 44 Currently unreadable.<br>
> <br>> So, is there a way to slap another 40 gig HD (that's how big the current one is) in there and type a command, from say the rescue CD's command line and just copy over what I have now, verbatim, to a new disk.  I'm going to keep googling, but I trust this list more than most Linux info I've seen.  Like copying at the /dev/hda level.  Copying partitions, etc.<br>
> <br>> Thanks,<br>> <br>> ck<br>> <br>> <br>> <br>> _______________________________________________<br>> K12OSN mailing list<br>> <a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn</a><br>> For more info see <<a href="http://www.k12os.org">http://www.k12os.org</a>><br></div>