HDD not seen by testdisk

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
Smarteralec
Posts: 2
Joined: 19 Jul 2012, 19:49

HDD not seen by testdisk

#1 Post by Smarteralec »

Hi y'all, running Ubuntun12.04. Had a system lock-up, soft reboot didn't work, did a hard reboot.
Grub loaded fine, but selected partition won't boot, "Error: hd0 out of disk.", booted into initramfs. Restarted from recovery disk, ran testdisk 6.13, which doesn't see /dev/sda at all (ext4), but it shows up in Ubuntu's Disk Utility as unformatted (actually contains 2 partitions.)

I -suspect- it's due to testdisk not supporting ext4 fs - any ideas?

Much thanks in advance,
Alec.

User avatar
Fiona
Posts: 2835
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: HDD not seen by testdisk

#2 Post by Fiona »

TestDisk supports ext4.
Might be better to use testdisk 6.14WIP.
Only if it's possible.
Can you copy and paste the content of the testdisk.log?
Need infos at least from analyse and Quick Search to check your geometry etc.. first.

Fiona

Smarteralec
Posts: 2
Joined: 19 Jul 2012, 19:49

Re: HDD not seen by testdisk

#3 Post by Smarteralec »

Guten Tag, Gnädige Frau(lein).

Good to know about ext4. My version says it works with "Linux Ext2 and Ext3", but it successfully reports on my other drives. (I haven't grabbed 6.14 WIP yet.) Here's the error msg from testdisk.log:
Warning: can't get size for Disk /dev/sda - 0 B - CHS 1 255 63, sector size=512 - ATA ST3500418AS
plus a later warning after the other disks info (all theirs is accurate):
Warning: can't get size for Disk /dev/mapper/control - 0 B - CHS 1 1 1, sector size=512

Danke!

Locked