LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   corrupt superblock problem (https://www.linuxquestions.org/questions/linux-general-1/corrupt-superblock-problem-36364/)

raven 11-24-2002 08:20 PM

corrupt superblock problem
 
hello

i changed some things in the partition table recently, and oviously i did something i shouldnt have. I dont see a partition that shoud be there in "fdisk", neither can I mount it. the error i get when trying to run fsck:

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

the filesys should be (is) ext3.

anybody an idea how to repair things now? i tryed with the command "e2fsck -b 8193 <device>" but it didnt work.

do I need to repartition the disk, or can I save the partiton somehow.

thanks

raven

moses 11-24-2002 09:07 PM

What's the fdisk command you use to start up?

should be (assuming IDE):
fdisk /dev/hdX
where X is a,b,c,d, etc.

raven 11-25-2002 04:30 AM

yes, thats right. i use

fdisk /dev/hdb (its hdb that makes problems to me)

raven

qanopus 11-25-2002 09:45 AM

He he, are you using knoppix ? I'm experiancing the same problem on my knoppix debian. Only i didn't partition my hard-disk.

raven 11-25-2002 10:55 AM

actually, I was trying to move the whole filesys from one hd, to another. then when installing the bootloader (grub) the whole partiton disappeared...

raven

moses 11-25-2002 04:53 PM

What happened when you ran e2fsck?
(post the error messages)

raven 11-25-2002 05:33 PM

it was the same error message like I posted in the first thread.

raven

moses 11-26-2002 12:43 AM

Hmm. . .
post the output of
fdisk -l /dev/hdb

qanopus 11-26-2002 04:55 AM

I solved my problem. What I did was boot with a boot disk and did "fsck -f /dev/hd**". you could give that a go.

raven 11-26-2002 05:27 AM

thanks for everything guys. fdisk -l said what i feared of, te partition was gone.

i gave up trying.

again: thanks for everything.

raven

Flibble 11-26-2002 06:31 AM

Could try http://project.terminus.sk/e2salvage/ as an option of last resort.

Caveat Emptor, I haven't used this myself (yet, touchwood).

Flibble

Half_Elf 11-26-2002 06:48 AM

The partition may be not "gone", maybe you only killed your superblock. A "backup superblock" can be found at 32768 (if your inode size is 4,096 Bytes). So try e2fsck -b 32768. This will not save your partition, however, you may be able to back up some of your old data before reinstalling the whole thing.
Can be useful if you've got anything important on that disk :D

moses 11-26-2002 11:42 AM

Could you post the result of fdisk -l /dev/hdb? There may be some hints
there that could help us help you. . .


All times are GMT -5. The time now is 03:26 PM.