Thursday, 18 July 2019

sata - Hard Disk fail?


I'm having curious (but somewhat fatal) behaviour of a HDD since yesterday night.


My pc was happily doing a backup of my photo collection from an internal HDD to an external one while I was reading on my bed and I heard the reset beep. I just ignored it (thought it was a voltage drop) since it was late but today when I woke up nothing seemed to work again.


My Win7 x64 failed to boot with strange errors:



  • black screen after windows loading screen (with mouse pointer on and functional)

  • black screen of death before windows loading screen complaining about an I/O error with a code 0xc00000e9

  • at BIOS boot a strange message related to the S.M.A.R.T. capabilities that were not working


So, starting from that, I plugged in Win7 DVD and from recovery console did a chkdsk /f on compromised disk. It started working but halted at some point, then I tried with dir command and he told me that it wasn't unable to fulfil my request because of an I/O error (mind that I tried the same thing before starting the scandisk and I was able to browse the whole directory structure).


So I tried with an Ubuntu 10.10 in live mode. It refuses to start if the compromised HD is plugged (without complaning about anything, just spinning icon forever after the choice of "Try it!") but it starts seamlessly if I detach the SATA connector.


Then I checked in bios about SATA configuration and I discovered that it was set to IDE, so I placed AHCI (this because I had an IDE hdd that I removed for now).


I've almost been able to run the whole chkdsk again but directly from windows boot options until it complained (after having found some file record segements unreadable) about the lack of space to apply corrections to the disk.


So what should I do? I would like to first find a way to backup the content of the HD (and free some space to run chkdsk) but it seems there's no way to boot with it plugged in.



Answer



You almost certainly have a hard drive that has failed, is failing, or has bad blocks.


If you desperately want the data on it and can read it but not boot it, then you need to:



  • remove it, put it in an external enclosure (USB or eSATA)

  • buy a new HDD and install it

  • load your OS and apps all over again onto the new HDD


Then try and attach the old HDD via the external enclosure, see if it spins up, and if it can be seen then copy things off. This step is likely to fail but you won't know when or where - it depends on which parts of the drive have gone bad.


If you have an existing external drive (eg with your photo collection on) then DO NOT use this one to mess about / put into the machine / etc. Lock it up and treat it like gold, because it may be the only backup you have. Only when everything else is sorted out should you try and use that one again (apart perhaps from restoring data).


Oh - and re the AHCI / IDE setting: I generally leave it set to IDE. If you change an existing bootable disk from IDE to AHCI then you will get boot time crashes because the drivers are not present. AHCI should only be set when you are installing from media onto a new disk.


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...