LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 11-24-2002, 09:20 PM   #1
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Rep: Reputation: 31
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
 
Old 11-24-2002, 10:07 PM   #2
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 46
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.
 
Old 11-25-2002, 05:30 AM   #3
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Original Poster
Rep: Reputation: 31
yes, thats right. i use

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

raven
 
Old 11-25-2002, 10:45 AM   #4
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Rep: Reputation: 45
He he, are you using knoppix ? I'm experiancing the same problem on my knoppix debian. Only i didn't partition my hard-disk.
 
Old 11-25-2002, 11:55 AM   #5
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Original Poster
Rep: Reputation: 31
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
 
Old 11-25-2002, 05:53 PM   #6
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 46
What happened when you ran e2fsck?
(post the error messages)
 
Old 11-25-2002, 06:33 PM   #7
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Original Poster
Rep: Reputation: 31
it was the same error message like I posted in the first thread.

raven
 
Old 11-26-2002, 01:43 AM   #8
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 46
Hmm. . .
post the output of
fdisk -l /dev/hdb
 
Old 11-26-2002, 05:55 AM   #9
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Rep: Reputation: 45
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.
 
Old 11-26-2002, 06:27 AM   #10
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Original Poster
Rep: Reputation: 31
thanks for everything guys. fdisk -l said what i feared of, te partition was gone.

i gave up trying.

again: thanks for everything.

raven
 
Old 11-26-2002, 07:31 AM   #11
Flibble
Member
 
Registered: Mar 2002
Distribution: Redhat 9.0, Debian, Knoppix, YellowDog
Posts: 142

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

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

Flibble
 
Old 11-26-2002, 07:48 AM   #12
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
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
 
Old 11-26-2002, 12:42 PM   #13
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Corrupt Superblock, e2fsck bootup problems. purelithium Mandriva 3 10-19-2005 11:39 PM
e2fsck failed Corrupt superblock gasparov Linux - General 1 02-21-2005 08:16 AM
superblock or partition table corrupt? Kristian2 Linux - Newbie 1 05-11-2004 10:34 AM
Raid 1 - Superblock is corrupt pyfsapple Debian 1 04-19-2004 01:01 PM
Corrupt Superblock aliensub Linux - General 0 05-09-2002 12:52 PM


All times are GMT -5. The time now is 12:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration