> -----Original Message----- > From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On > Behalf Of Dan Halbert > Sent: Friday, April 25, 2008 1:46 PM > To: CentOS mailing list > Subject: Re: [CentOS] dying hd on live legacy system... > > >>> What is the most practical method to replace the hard drive? > >> Install another drive (same size or larger), boot from CD in rescue > >> mode and use the dd utility to copy the old drive image to the new > >> disk (example: dd if=/dev/hda of=/dev/hdb). However, the failing > >> hardware could make this problematic. Then remove the dying disk and > >> install the new disk on the cable where the old disk was so that the > >> new disk is now /dev/hda. > >> > > > > Tried this, I should have been more clear above. When I access certain > > sectors the machine reboots. > > Just to confirm: you mean the machine reboots even when this disk is not > a system disk? Suppose you mount it readonly (maybe it's doing atime > updates unsuccessfully?)? > > If it's a peculiarity of the controller, you could try putting it in as > a data disk in another machine with a different kind of disk controller. > You could even put it in a Windows box and use one the various free > utilities to look at the Linux filesystem - perhaps that would not > exercise whatever issue is causing the reboots. I am going to put it in a USB enclosure and follow the other advise here so far. 1st try the noerror, etc.. then try the ddrecover > > If you've gotten the vital data off and any customizations out of /etc, > the crontabs, etc., then if possible, maybe you could just do an > "rpm -q -a" to get the current package list, and then diff that against > the list you get on a fresh install to figure out what you need to add. The issues is are there files outside of rpms which are needed but unknown? The system has evolved from a pre rh7 box (was that ever fun) > > Dan > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited.