HDD partition recovery - HDD works but no partitions are accessible?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
HDD partition recovery - HDD works but no partitions are accessible?
Hi all,
One of my HDD's appeared to have failed (can't access any data), but still seems to be operable - I'm looking for some method of recovering lost partitions - for the full story, please read on...
I'm running a dual boot machine (boot loader is GRUB by the way) primarily using SUSE 10.2 and very occasionally WinXP. I generally leave the machine turned on running SUSE 24/7.
I came home after the weekend a few weeks ago and noticed that my HDD led was alight - steady, not flickering or anything. Tried to unlock SUSE but the machine seemed frozen. I hit the old FU (reset) button and when it restarted, I got a GRUB boot error. One of my drives appeared to have failed and GRUB cannot complete loading.
First a little info on my drives: I have 1 x 30Gb IDE, 1 x 120Gb IDE and 1 x 80Gb SATA drives installed - respectively hda, hdb and sda. Most importantly, everything Linux resides on sda. sda consists of 1 NTFS partition and 4 Linux partitions /, /boot, /home (all ext3) + /swap.
The machine boots from hda and the GRUB files are on /boot partition of sda. sda appeared to have died - BIOS still detects it, but GRUB cannot locate it's files, and lousy old WinXP sees the drive as it's correct size but not initialized and the entire drive unallocated.
Where it gets interesting is that when attempting to reinstall SUSE to the drive, the partitioning section of the installer finds one partition (Nvidia mapper etc.) consuming the entire drive.
I found a DOS boot CD utility called HDAT2 which seems quite good - it can check (seemingly any) media devices on the system and perform tests, scans etc. - It finds multiple partitions on sda and can also read data from the drive sector by sector. I also tested the drive in another machine and got the same results, so it seems to defiantly be he HDD and not the SATA controller.
Judging from this, the drive seems to be alive and well, but for some reason, the partitions are not accessible under normal operating situations. I'm certain that all my data is still there, but just can't be read as none of the partitions can be found.
Does anyone have any idea what might cause this, and/or suggest any software utilities or methods to fix the problem? I tried Disk Internals Linux recovery but all it found was what I assume are old compressed kernels (vmlinuz files).
Any help would be greatly appreciated - I'm getting sick of having to use Windows and don't have any space to install Linux elsewhere - but most importantly, I'm not losing my data without a fight!
Thanks for the reply guys - I just got it sorted out, have my partitions back and am working with SUSE again... YEAY! ... Was going to make a post about this shortly - still getting some issues sorted out though.
I found a Windows app called partition table doctor which I downloaded from bittorrent, and it fixed the problem within a minute. Rebooted and all is well.
Thanks very much for your help anyway - and wise words were mentioned there which I agree with totally, and will stress again now to anyone with any problem like this.. Never try to write to a disk you are trying to recover data from - by writing to it, you may well overwrite the very same data you are trying to recover! I took a risk by using the above mentioned tool and thankfully it worked, but as the previous poster stated, try and take an image of the drive before making any changes (if you can), so if it all goes wrong you can still try again.
Just so happy to have recovered my bookmarks, photos, documents and my beautifully configured KDE
Would you please share a link to the torrent, I am having the same problem when trying to reformat my hrddrive. I accidentally deleted and remade a partition and now when I go to pc recovery it tells me that ao recovery partition is found
Sorry mate, I don't have the torrent link available... it may be on my windows install still, but I'm a bit scared to boot it as last time I did, it seemed to overwrite GRUB and I had a hell of a time getting linux to boot again.
Have a search on www.isohunt.com for it though, there are a few torrents for it there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.