LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 03-23-2004, 03:28 AM   #1
trutnev
Member
 
Registered: Sep 2003
Distribution: RedHat 9.0, Mandrake 9.1
Posts: 68

Rep: Reputation: 15
cannot login because file system check fails because of bad magic number


Cannot login this morning on RH9.0. It tells that fils system check doesn't pass and it proposes to login in shell as root. In the shell, I try 'fsck.ext3 /dev/hdc', it tells

e2fsck: bad magic number in super-block while trying to open /dev/hdc. Try e2fsck /b 8193

I try, but it repeats the same message.

Can you help me ?
 
Old 03-23-2004, 07:44 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,592

Rep: Reputation: 188Reputation: 188
"fsck.ext3 /dev/hdc"

If that is literally the command that you are using then you need to include the partition number in the command. Something like:
fsck.ext3 /dev/hdc2

If you are using fsck.ext3 /dev/hdc2 and your post just has a typo then you are in trouble.

"e2fsck: bad magic number in super-block while trying to open /dev/hdc. Try e2fsck /b 8193"

If your partition cannot be fixed by fsck then you have lost that partition. You should format the partition and either restore it from backup or reinstall.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites



Last edited by jailbait; 03-23-2004 at 07:49 PM.
 
  


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
Bootsplash and Bad Magic Number raid517 Linux - Software 3 10-21-2005 09:55 AM
bad magic number in superblock crazynachos Linux - Games 1 04-15-2004 02:43 PM
Bad Magic Number joseph Linux - Software 1 01-05-2004 04:22 AM
Bad Magic Number, Embedded System Alybyzrp Linux - General 1 10-24-2003 09:40 PM
Bad Magic Number? Thewyzewun Linux - General 17 10-19-2003 06:59 PM


All times are GMT -5. The time now is 02:56 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration