LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 07-22-2001, 05:30 AM   #1
uttamsaxena
Member
 
Registered: Jul 2001
Location: india
Distribution: Red hat 7.2
Posts: 33

Rep: Reputation: 15
Talking file system error during booting


I use Red hat Linux. One day I had to restart my system due to hang up. after that when ever I boot in Linux following text appers:

checking root file system
/dev/hda5 contains a file system error, check forced
/dev/hda5:
unattached inode 5628

/dev/hda5: unexpected inconsistency; Run fsck Manually
( i.e., without -a or -p options)

[Failed]
*** An error occured during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell

Give root password for maintenance
(or type control-D for normal startup):

On typing Control-D above thing repeat again but on giving the root password, following line appears. I do not no what to do thereafter.Please help.

(Repair filesystem) 1 #
 
Old 07-22-2001, 06:24 AM   #2
Thomas_Delrue
Member
 
Registered: Jul 2001
Location: Belgium
Distribution: SuSE 8.0 (Kernel 2.4.18-4GB)
Posts: 41

Rep: Reputation: 15
simple

I had this one also (and very often)

if you do not unmount your file-systems before you turn off you box or reboot it, you get this error... It simpley says that it has found 'inconsistancies'...

Indeed enter the root-password and when the prompt ("(file system repair step X#)") appears, all you need to do is enter "fsck /dev/hda5 -p" (NOTE the -p; this will answer all confirmation questions with YES ALSO NOTE that you execute fsck on hda5 - or whatever device is giving you the error)

It will give some output (the last one should be something like '0.0% INCONSISTANCY' or whatever) and when you are finishes, just enter 'reboot'...

That should solve your problem... (well, it solves mine)


Heyhey, look at this: a newbie helping a newbie! (man I feel good)

Last edited by Thomas_Delrue; 07-22-2001 at 06:27 AM.
 
Old 07-22-2001, 11:19 AM   #3
uttamsaxena
Member
 
Registered: Jul 2001
Location: india
Distribution: Red hat 7.2
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks Thomas
That solved my problem.
 
Old 07-22-2001, 11:22 AM   #4
Thomas_Delrue
Member
 
Registered: Jul 2001
Location: Belgium
Distribution: SuSE 8.0 (Kernel 2.4.18-4GB)
Posts: 41

Rep: Reputation: 15
Wink be nice

So, next time you toy around in Linux, be nice and shutDown using the proper commands,... (hihihi)
 
Old 12-24-2005, 01:09 PM   #5
BBoy_no_01
LQ Newbie
 
Registered: Dec 2005
Location: Bucharest
Distribution: Slackware 10.1
Posts: 3

Rep: Reputation: 0
Doesn't work fore me....:(

I have Slackware 10.1 and the same problem...but i dont't have a root password...so i press enter and the system reboots.Any advice?
PS:Ctrl+d aloso reboots!
 
Old 01-07-2006, 03:26 PM   #6
Linux4Dummies
Member
 
Registered: Jan 2004
Location: US
Distribution: SuSE 10.0
Posts: 58

Rep: Reputation: 15
How do you find out what number the hda is? I think mine's hda6, but I can't really remember.
 
Old 01-07-2006, 03:33 PM   #7
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
Try running:

Code:
fdisk -l /dev/hda
 
Old 01-21-2006, 08:35 PM   #8
Linux4Dummies
Member
 
Registered: Jan 2004
Location: US
Distribution: SuSE 10.0
Posts: 58

Rep: Reputation: 15
Right, so running fsck and pressing y repeatedly helped my brother's computer. But then I ran an update for my own laptop.... so many errors... they won't stop... it won't boot... screw FC4. I've lost all faith in my repositories, and there are more reliable versions out there. Bah.
 
  


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
file system error during booting uttamsaxena Linux - General 21 02-22-2013 05:17 AM
An error Occurred during the file system check. Dropping you to shell; the system wil aneikei Linux - Newbie 3 02-11-2010 07:38 PM
Booting Kernel with simulated root file-system priyankadeven Linux - Newbie 2 12-29-2004 06:47 PM
booting file system errors => cannot run fsck snake_eye Slackware 7 08-26-2004 01:18 PM
Network Booting, Mounting remote file system Thexder Linux - Networking 2 08-18-2001 01:25 AM


All times are GMT -5. The time now is 03:36 PM.

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