Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
zero-length partition :/
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Bash[DevNull]
Guru
Guru


Joined: 10 Oct 2003
Posts: 333

PostPosted: Mon Sep 20, 2004 2:07 pm    Post subject: zero-length partition :/ Reply with quote

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
View user's profile Send private message
avelldiroll
n00b
n00b


Joined: 02 Aug 2004
Posts: 12
Location: Bordeaux, France

PostPosted: Mon Sep 20, 2004 2:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Bash[DevNull]
Guru
Guru


Joined: 10 Oct 2003
Posts: 333

PostPosted: Mon Sep 20, 2004 2:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
avelldiroll
n00b
n00b


Joined: 02 Aug 2004
Posts: 12
Location: Bordeaux, France

PostPosted: Mon Sep 20, 2004 3:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum