LinuxQuestions.org
Visit Jeremy's Blog.
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 06-29-2001, 07:05 PM   #1
rdaves@earthlink.net
Member
 
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297

Rep: Reputation: 30
Can't boot linux


Here's the message I get:
------------------------------------------------------------------------------
Checking root file system
/ contains a file system with errors, check forced
/:
Inode 3329 has image flag set
/:UNEXPECTED INCONSISTENCY:
Run fsck manually,
(i.e. without -a or -p options)
***An error ocurred 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.
---------------------------------------------------------------------------------
Using Control-D results in returning to the same message
Using fsck results in repeated instances of a mesage that says something like
Repair file system #1
Then, if I type fsck, I get the same message, incremented by 1.
i.e., Repair file system #2
This goes on and on and on, with no diagnostic help.
I repeated this fsck loop 100 times and gave up.
The only thing I did just before I shutdown last time was to download imwheel (a mousewheel module), ./configure, make, make install.
What's going on?
 
Old 06-29-2001, 11:44 PM   #2
rdaves@earthlink.net
Member
 
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297

Original Poster
Rep: Reputation: 30
Found answer

From one of my references, I found that the following command will cause the system to check everything manually:
fsck -A -V ; echo == $? ==
This command starts an interactive operation that might proceed because it can ask you questions.
The "== $? ==" command is to unambiuously interpert the outcom of the fsck operation. If the value printed between the equal signs (on the output caused by the command) is less than "4", all is well. If the value is more, you have more work to do.
Values are:
0 No errors
1 Filesystem errors corrected
2 System should be rebooted
4 Filesystem errors left uncorrected
8 Operational error
16 Usage syntax error
128 Shared library error.
 
Old 06-30-2001, 01:35 AM   #3
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Re: Found answer

Quote:
Originally posted by rdaves@earthlink.net
From one of my references, I found that the following command will cause the system to check everything manually:
fsck -A -V ; echo == $? ==
This command starts an interactive operation that might proceed because it can ask you questions.
The "== $? ==" command is to unambiuously interpert the outcom of the fsck operation. If the value printed between the equal signs (on the output caused by the command) is less than "4", all is well. If the value is more, you have more work to do.
Values are:
0 No errors
1 Filesystem errors corrected
2 System should be rebooted
4 Filesystem errors left uncorrected
8 Operational error
16 Usage syntax error
128 Shared library error.
Good thing U found the answer as I was clueless 'til now.

THe big question is WHY you got the errors on your root fs.
 
Old 06-30-2001, 09:47 AM   #4
rdaves@earthlink.net
Member
 
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297

Original Poster
Rep: Reputation: 30
Don't know what I did to cause the problem. This has happened to me once before, however, I forgot how to fix it until I retraced my steps. I don't understand why Linux isn't able to fix the problem, as all I do is answer "Y" to a whole bunch of questions and I'm fixed. At least these two times, I am fixed.
Thanks
 
Old 07-02-2001, 07:08 AM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Usually I only see that error during an improper shutdown. Good thing fsck is fixing the issue for you though, sometimes it doesn't always work.
 
Old 07-22-2001, 03:42 PM   #6
dadwebb
LQ Newbie
 
Registered: Jul 2001
Location: Howard City, Mi
Distribution: suse Linux 7.1
Posts: 5

Rep: Reputation: 0
Cool Cant boot Linux

I had a similar experience however I got out of the loop by giving:
I rebooted followed the instructions on the screen typed fsck.ext2 /dev/hdh3 and answered yes to all the questions i didnt understand, rebooted using Ctrl D and Whew! the Linux screen pop back up....
 
Old 09-29-2001, 05:22 PM   #7
j4m13
Member
 
Registered: Sep 2001
Location: Denton, Texas
Distribution: slack 9.1
Posts: 32

Rep: Reputation: 15
When this happened to me, I had found my screen saver frozen (some kind of rainbow spiral figure) on my monitor. System would accept no input from the keyboard or mouse. After cold-booting I got the message above and had the same experience answering "fsck" to each prompt. Of course all my wind'ohs-using buddies thought it was a hoot. I look forward to trying the solution. Thanks

 
Old 12-30-2003, 08:04 PM   #8
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
I've had good and bad experiences with fsck. I've done the same thing several times and it left my Linux unuseable. However, most of the time, I notice no change after the mishap after fsck does its thing.
 
  


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
Is there a file that Linux writes upon boot that is the EXACT text as the boot screen lostboy Linux - General 21 01-08-2008 02:10 PM
Cannot boot up on Linux, have to boot onto Linux-nonfb after installing nvidia driver /home/kyle Linux - Newbie 6 09-15-2004 11:23 AM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM
dual boot - XP and Linux - Need to reinstall XP without effecting linux -LILO boot godofmind Linux - General 1 05-05-2004 08:13 AM
Linux Boot Floppy Went Bad on W2K-Linux Dual Boot rzward Linux - General 2 01-15-2003 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:44 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