LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 09-04-2003, 04:47 AM   #1
PionexUser
Member
 
Registered: Jul 2003
Location: Alaska, USA
Distribution: Red Hat 9
Posts: 179

Rep: Reputation: 30
Fixing a Bad Superblock


How can I do it?

Quote:
[root@localhost hubcaps]# /sbin/fsck /dev/hda2
fsck 1.32 (09-Nov-2002)
e2fsck 1.32 (09-Nov-2002)
Couldn't find ext2 superblock, trying backup blocks...
fsck.ext3: Bad magic number in super-block while trying to open /dev/hda2

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>
 
Old 09-04-2003, 11:02 AM   #2
sidey
Member
 
Registered: Mar 2003
Location: Essex UK
Distribution: rh 8.0 bsd 5.0 slack 9.0 rc2 crux
Posts: 147

Rep: Reputation: 15
What is your filesystem? ie, ext2 ext3 reiserfs?

Well it obviously isnt ext2, so try something like fsck.ext3 (check in /sbin) or find reiserfsck???? or something like.
 
Old 10-28-2003, 11:35 AM   #3
preswang
Member
 
Registered: Oct 2003
Location: UK/Chinese
Distribution: Slackware9.1
Posts: 55

Rep: Reputation: 15
same problem I have when I first boot from Gentoo 1.4
How to solve it?? thanks!
 
Old 10-28-2003, 09:27 PM   #4
PionexUser
Member
 
Registered: Jul 2003
Location: Alaska, USA
Distribution: Red Hat 9
Posts: 179

Original Poster
Rep: Reputation: 30
OK, turns out I had to format that partition........................
 
Old 10-28-2003, 09:37 PM   #5
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
The output, among other things, says this:
you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

maybe do this first?
 
Old 10-29-2003, 06:25 AM   #6
preswang
Member
 
Registered: Oct 2003
Location: UK/Chinese
Distribution: Slackware9.1
Posts: 55

Rep: Reputation: 15
I have done this e2fsck -b 8193 /dev/hda and /dev/hda1(i forgot)
and it do fix my disk, but after re-boot, still got same problem.
 
Old 11-14-2003, 02:52 PM   #7
ldare
LQ Newbie
 
Registered: Apr 2003
Location: Seattle Area
Distribution: RH8.0 & RH 7.3
Posts: 11

Rep: Reputation: 0
Same here, have a problem on boot, and attempting to fix the problem
get the error message:
"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 /dev/hda

Anyone with advice would be helpful
 
  


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
mount: wrong fs type, bad option, bad superblock on /dev/hdc3 Lordandmaker Linux - Hardware 15 06-05-2011 08:55 AM
mount: wrong fs type, bad option, bad superblock on /dev/cdrom, Adil_uk Linux - Hardware 9 02-16-2005 05:50 PM
mount: wrong fs type, bad option, bad superblock...(cdrom,dvd and floppy) SpItoS Mandriva 14 11-12-2004 02:27 PM
mount: wrong fs type, bad option, bad superblock on /dev/sdb1 pmoreira Linux - Hardware 5 02-26-2004 10:31 AM
wrong fs type, bad option, bad superblock on /dev/hdb1, ldare Linux - Hardware 1 02-12-2004 09:03 PM


All times are GMT -5. The time now is 06:56 AM.

Main Menu
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