LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-26-2005, 09:29 PM   #1
varun_saa
Member
 
Registered: Dec 2004
Posts: 188

Rep: Reputation: 30
booting stops at - checking root filesystem


Hello,

One of my linux box on Mandriva 2005
has stopped booting.

The process hangs at :

" checking root filesystem "

Any idea why it is doing so ?

Any idea how to fix it ?

It was booting earlier.

Thanks

Varun
 
Old 09-27-2005, 01:44 AM   #2
lanmanners
LQ Newbie
 
Registered: Jul 2004
Posts: 26

Rep: Reputation: 15
Question

Did you change the HDD order (hda vs. hdb vs hdc...) or the partition table??
 
Old 09-27-2005, 04:42 AM   #3
varun_saa
Member
 
Registered: Dec 2004
Posts: 188

Original Poster
Rep: Reputation: 30
No nothing at all.

Varun
 
Old 09-29-2005, 12:58 AM   #4
springshades
Member
 
Registered: Nov 2004
Location: Near Lansing, MI , USA
Distribution: Mainly just Mandriva these days.
Posts: 317

Rep: Reputation: 30
I actually don't have a really good suggestion. I know that it is failing in the /etc/rc.d/rc.sysinit script somewhere between the root file system check (Fsck) and starting the swap partition. There are quite a few things between there that could be causing the problem. If you boot up with a live cd of some sort you could look around in that area of that file to see if anything rings a bell. Other than that, I don't have many suggestions. Have you changed the modprobe.conf file or messed with any of the init scripts? Or have you installed anything that could've messed with them? Sorry I can't be more helpful.

EDIT: A common technique to use when debugging scripts that might help you is to put a bunch of comments in that get printed out in various places. That can tell you exactly how far it gets before failing. For example, if you put something that prints out right after the Fsck line and then reboot, it tells you something. If the line prints and you see it, that tells you that your computer made it past the filesystem check, if the line does not print, then you know you never made it past the file system check. Now I'm not a good enough programmer to know how to do this exactly, so double check ANYTHING I say.

However, if I HAAAAAAAAAAD to take a guess, I'd say put a line after the Fsck line that says

echo "some text"

and make sure you don't mess up any formatting. If you try this, save the old file with a .old at the end or something like that so you can easily replace the old script.

If it fails on the filesystem check, I might guess a faulty harddrive. Find the brand of your computer and download their diagnostic utility (should be a boot disk), then run to see if your hard drive has failed. Sorry, this has been really long-winded.

Last edited by springshades; 09-29-2005 at 01:08 AM.
 
  


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
mandrake10.1 hangs while "Checking Root Filesystem" whatpot Linux - Newbie 2 02-25-2005 09:28 PM
hang @ "CHECKING ROOT FILESYSTEM" whatpot Mandriva 2 02-13-2005 05:03 PM
RAID 0 Filesystem checking? kennic Red Hat 2 11-12-2004 01:27 AM
problem while running linux 9,it always stops at checking modular dependencies sooraj_menon Linux - Hardware 1 03-02-2004 06:06 AM
Evolution randomly stops checking POP3 account jonathan_hehn Linux - Software 4 09-13-2003 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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