View previous topic :: View next topic |
Author |
Message |
Bash[DevNull] Guru
Joined: 10 Oct 2003 Posts: 333
|
Posted: Mon Sep 20, 2004 2:07 pm Post subject: zero-length partition :/ |
|
|
Hi All,
I was instaling gentoo, when my hdd died (or something else?)
Now, I can't check my home partition, and I don't know what to do for recover my files.
Can you suggest me what to do?
Code: | # fsck.ext3 /dev/hda3
fsck.ext3: Attempt to read block from filesystem resulted in short read while trying to open /dev/hda3
Could this be a zero-length partition? |
_________________ Biomechanical Artificial Sabotage Humanoid |
|
Back to top |
|
|
avelldiroll n00b
Joined: 02 Aug 2004 Posts: 12 Location: Bordeaux, France
|
Posted: Mon Sep 20, 2004 2:29 pm Post subject: |
|
|
Hi,
Is the partition table ok ?
(fdisk /dev/hda (option p))
There is a quite easy to use tool to recover data from damaged partition : testdisk
I am not sure if it is present on the gentoo live cd, but you can find it on knoppix (not the latest version anyway).
Hope that help ... _________________ ________________________________
*nix is userfriendly ...
It's jut selective about who is friends are
________________________________ |
|
Back to top |
|
|
Bash[DevNull] Guru
Joined: 10 Oct 2003 Posts: 333
|
Posted: Mon Sep 20, 2004 2:45 pm Post subject: |
|
|
avelldiroll wrote: | Hi,
Is the partition table ok ?
(fdisk /dev/hda (option p))
|
Yep, look like normal :/
Code: | Disk /dev/hda: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 3187 25599546 83 Linux
/dev/hda2 3188 3252 522112+ 82 Linux swap
/dev/hda3 3253 9733 52058632+ 83 Linux
|
_________________ Biomechanical Artificial Sabotage Humanoid |
|
Back to top |
|
|
avelldiroll n00b
Joined: 02 Aug 2004 Posts: 12 Location: Bordeaux, France
|
Posted: Mon Sep 20, 2004 3:09 pm Post subject: |
|
|
What I would try then is copying the partition somewhere else with parted (if you got enough dik space on the network or on another disk) and then analyse the disk with testdisk. _________________ ________________________________
*nix is userfriendly ...
It's jut selective about who is friends are
________________________________ |
|
Back to top |
|
|
|