Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
my friend's computer likely suffered a lightning strike (his computer was fine, there was a storm, the computer no longer boots), and i am trying to recover the data on his hard disk. the disk is now hooked up in my box on IDE1 master and is enumerated as /dev/hdc.
none of the disk utilities that i am familiar with are being helpful. for example:
Code:
# sfdisk -V /dev/hdc
read: Input/output error
sfdisk: read error on /dev/hdc - cannot read sector 0
/dev/hdc: unrecognized partition table type
sfdisk: no partition table present.
# fdisk /dev/hdc
Unable to read /dev/hdc
however, i can coerce some information (global drive info) out
Code:
# sfdisk -s /dev/hdc
29316672
# sfdisk -l /dev/hdc
Disk /dev/hdc: 58168 cylinders, 16 heads, 63 sectors/track
read: Input/output error
sfdisk: read error on /dev/hdc - cannot read sector 0
/dev/hdc: unrecognized partition table type
No partitions found
Well, as you must know, forensic recovery is no laughing matter unless you laugh at engineers work or at something very boring, sort of same thing at last :-p
Here in Helix site: http://www.e-fense.com/helix/ you have forums, links to docs you _have_ to read, and a CD containing GPL and freeware to forensics and incident response tasks.
You need: good luck.
The big question is: is there noise? If there's noise, the head's likely fubared and the data is toast. If it sounds like a 'normal drive' (no scratching, clicking, etc.) the drive controller could be dead, which is the better of the two. It would require finding an IDENTICAL (model number identical) hard drive and swapping the controller boards. Most just plug right in and are held down by a few torx screws.
thanks for the thoughts. i'm not hearing bad noises. it sounds like the disk is spinning up normally actually. so each hard drive controller is specific to that hard drive model? so there's no way to just go out and get a replacement controller by itself?
i was hoping for something like fsck that operates on entire disks rather than just partitions (or the likes of scandisk from the good ol' days of win9x). is there anything like that? any other links to useful tools?
i'm not going to spend too much time on this, nor spend much money. so i'm really only looking for software suggestions.
i was hoping for something like fsck that operates on entire disks rather than just partitions (or the likes of scandisk from the good ol' days of win9x). is there anything like that? any other links to useful tools?
Even scandisk operated only on a single partition. But that aside, if the partition table is all that is fubar, you could try 'testdisk'.
I suggest either using reverse dd to try to make an image of the drive or use gparted to guess where the partitions starts and ends. At the last resort use the hard drive manufacture's utility to repair the sectors. My hard drive recently (about a week ago) had problems like this but the first sector was not damaged. I just ran the hard drive utility from the manufacture to check and repair the sectors. Some files got corrupted and others were badly damage that they vanished. The files that vanished were not valuable, so I did not care.
Matir, nobody has a clean room and the patience to open up a hard drive to replace the heads. Most people will just faint if they attempt to do this. The heads will likely to hit the platters when removing and putting new headss in.
Note to everybody:
Back up, back up, back up your data. Plan backing up the data every week or every month. Use Norton Ghost for Windows and dar for Linux. Also Ghost for Linux can be replacement for Norton Ghost that can be use for both Windows and Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.