corrupted fs, please help
Hi,
Using cfdisk. I created two partitions out of my the second primary partition on my hard disk. Automatically both became primary partitions, but the partition after them (orginally the third (and last) primary partition was demoted automatically to a logical partition. Though it never lost it type setting (ext2), I cannot access nor see the files I had on it. I ran fsck, but it says "bad superblock, try another one", which is pretty worrying, as it could mean I've lost those files (no backup). But then I think, "but I didn't touch it" and now it's corrupt? Noggins! Any suggestions on how to find an alternative superblock for fsck or any other methods? |
I don't understand why your last partition would be converted automatically to a logical partition as you can have four primary partitions on a hard drive. :scratch:
|
The fourth and last primary partition isn'y like the other three. It's usually blank and (roughly speaking) branches off into a series of logical drives.
So if hda is your harddrive, hda1, hda2, hda3 will be your three primary partitions. hda4, won't be mentioned and hda5 will be the next drive to be mentioned,a nd it will be a logical one. What I did, I split my hda2 into two, so it became hda2 and hda3. The original hda3 got "demoted" to hda5 automatically, and now I can't read or access it. Can anyone help me? I've tried e2fsck and tune2fs -l, no luck. |
can you post the output of : #fdisk /dev/hda -l ,
that might make things a little more clear ? egag |
Thanks for reply. Sorry for not being clear. Here follows what you ask for, output of my fdisk-l hda.
Code:
Disco /dev/hda: 30.0 GB, 30005821440 bytes I actually repeated the process (for experimentation purposes) and split hda2 AGAIN, so that hda5 went to hda6. All the time using CFDISK. Note that the later filesys like hda8 for example (previously hda6) were not affected by any of this and are in perfect shape. The root of the problem seem to be the way CFDISK converts a primary partition into a logical one. Any help appreciated. |
No takers with this problem? 'm getting the impression that it's a complicated one. Maybe this forum isn't the right place for it ...
|
solved.
I have now solved this problem by way of experimentation.
With the small amount of interest I registered with this question - which actually was about a very serious problem, losing files - I don't think it's necessary to post how I actually solved it in the end, for the benefit of others, is it? I will do it, if there are requests. |
well... i don't think many people have a lot of experience with deviding HD-part's in two, so...
not much support.....:( though....it would be nice to post a solution to your prob. if you found it. (hope you do so !) egag |
OK I posted this up as a success story, in the relevant forum, see http://www.linuxquestions.org/questi...hreadid=220673
|
All times are GMT -5. The time now is 11:47 PM. |