LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 05-13-2011, 12:43 PM   #1
mlmack
LQ Newbie
 
Registered: Mar 2011
Posts: 15

Rep: Reputation: 1
failed fsck


I use opensuse 11.3. Tried to fsck root using the latest systemrescuecd and got a bad magic number error message. I tried the suggested alternate superblock command and got the same error message. The command I used was "fsck.ext4 /dev/sdc2". When I tried using tune2fs to force fsck at boot, I got the same error message. The system seems to be working more or less ok. What's going on and what should I do to run fsck on root?
 
Old 05-13-2011, 02:24 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
To start with, what happened that you want to force fsck? Do you suspect some data has been damaged?

Could you post the exact error message you are receiving? Are there any relevant kernel messages when you try and mount the volume or run fsck against it?
 
Old 05-13-2011, 06:43 PM   #3
mlmack
LQ Newbie
 
Registered: Mar 2011
Posts: 15

Original Poster
Rep: Reputation: 1
I can't quote it but the gist of it was 'bad magic number, corrupted superblock'.
The message with tune2fs was similar except it suggested tring an alternate block. That didn't work. Same error.

The only fsck was with / which should not be mounted.

I'm trying because there have been several hard freezes in the last month and today I got an odd mysql error message with my mail program. Seemed like a good time to fsck.

The strange thing is that it's mostly working just fine.

Last edited by mlmack; 05-13-2011 at 06:45 PM.
 
Old 05-13-2011, 07:44 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
How did you determine the alternate superblock to use ?.
fsck from a liveCD is the correct procedure - you might just have to back it up and reformat it.
 
Old 05-13-2011, 08:22 PM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Try the boot parameter init 1. Just insert it on the kernel line in grub. Nothing will be mounted but the ramdrive. Type fsck without any device or parameters, and read the instructions! I think you want the "-p" switch.
 
Old 05-14-2011, 10:54 AM   #6
mlmack
LQ Newbie
 
Registered: Mar 2011
Posts: 15

Original Poster
Rep: Reputation: 1
I think I had better look for another forum. Neither one of you read or understood my original post.
 
  


Reply



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
fsck failed for at least one filesystem (not /)... linux_2007_ Linux - General 2 01-25-2010 12:57 AM
fsck failed The Redneck Linux - Newbie 4 09-29-2006 11:11 PM
fsck failed laonei Linux - Newbie 9 10-12-2005 09:27 AM
fsck failed blabla Linux - General 2 04-26-2005 05:16 PM
fsck failed befuddled Linux - Newbie 4 02-15-2004 01:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:59 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
Open Source Consulting | Domain Registration