LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2009, 11:34 AM   #1
pankajd
Member
 
Registered: Oct 2008
Posts: 45

Rep: Reputation: 15
currupt superblock error in linux box


currupt superblock error in linux box.fsck giving error.dumpe2fs also dont work.e2fsck -b <block no> also fails./etc/fstab emtry is correct.wt to do?

currupt superblock error in Linux box for partition /dev/hdb1.fsck giving error.dumpe2fs also dont work.e2fsck -b <block no> also fails./etc/fstab emtry is correct.wt to do?it is /dev/hdb1 mounted as /home.temperarily i have commented the entry for /home in fstab.it is booting .but /dev/hdb1 is currupted.fsck.ext2 : bad magic number is super block while trying to open /dev/hdb1.superblock could not be rerad..etc...another super block also dont work.i have my data in it and wanted to make it accessible w/o reformating.Device is old ide hdd;help me
 
Old 08-11-2009, 11:41 AM   #2
jcalzare
Member
 
Registered: Aug 2009
Location: Chicago
Distribution: CentOS
Posts: 114

Rep: Reputation: 34
I would unmount it and run fsck on hdb1 (or at least try)

umount /dev/hdb1
fsck -yv /dev/hdb1

If that fails, you could try to use the dd utility to do a block-level copy to another disk.

You may still want to post your fstab though, just to be sure.
 
Old 08-11-2009, 12:10 PM   #3
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,617

Rep: Reputation: 442Reputation: 442Reputation: 442Reputation: 442Reputation: 442
pankajd:

Also, another way to solve it:
use cd, boot from your live cd, from there create a mount point, say /mnt/temp then mount the drive into it, when it is mounted run fsck over it.
---$: fsck -a /mnt/temp

be careful with what you do. read manual first: --$: man fsck

hope this helps.

good luck.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The superblock could not be read error Ohmen Linux - Newbie 1 02-26-2008 08:56 PM
My linux gets currupt every week, why? SatyendraSingh Linux - Networking 1 04-15-2006 08:27 AM
ext2 Superblock Error elamigo2004 Linux - Software 6 11-26-2005 12:07 PM
IP Table Currupt??? dolvmin Linux - Networking 3 11-03-2005 08:57 PM
currupt packages godsdog Slackware - Installation 4 06-17-2004 11:27 AM


All times are GMT -5. The time now is 03:11 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration