LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-08-2003, 02:13 PM   #1
aeb105
Member
 
Registered: Aug 2003
Posts: 30

Rep: Reputation: 15
Problem booting. Filesystem error


After an improper shutdown, I Redhat 9 boots and looks gives filesystem error. It asks me if I want to repair or just reboot which takes me in a circle. When I choose to repair. It says:
(Repair filesystem1)#

If I hit yes it flips out and goes to a blank screen with a bunch y's down the page and does nothing. I don't know commands in this mode. Can someone help me to repair and get it back up and running? Thanks. It worked fine before.
 
Old 11-08-2003, 11:39 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
What caused the improper shutdown? More importantly, what was happening when that happened? What was running, and what were you doing?

Ok, so now to answer your question:
When you get to the prompt mentioned above, try to see what's mounted and how it's mounted, to do this type:
mount
It should show you what's mounted, and what options it was mounted with. What you need to look for is to see if your / filesystem is mounted read-only. If it is (we hope) then you can safely run your fsck (read Scan Disk) on the disk. So, now you need to know what device to check. To find which device it is, you can either look at mount again and see what device / is mounted on; OR you can use fdisk to display your devices:
/sbin/fdisk -l (/SBIN/FDISK -L lowercase)
And then run fsck on that device similar to:
fsck -p /dev/hda1
Where /dev/hda1 is the device it actually is.

Be careful, and good luck!

Cool
 
Old 11-10-2003, 01:04 PM   #3
aeb105
Member
 
Registered: Aug 2003
Posts: 30

Original Poster
Rep: Reputation: 15
The system had locked up on me and that's why I originally improperly shut it down. Now, I try the mount command and get the boot partition and root partition.
Here is the output from

(Repair filesystem) 1 # mount

/dev/hda3 on / type ext3 (rw,defaults)
/dev/hda2 on /boot type ext3 (rw,defaults)
none on /dev/pts type devpts (rw,gid=5, mode=620)
none on /proc type proc (rw,defaults)

I ran fsck and it seems to boot fine now. How can I troubleshoot it when it locks up. Is there something similar to ctrl+alt+del to try and kill applications. What can I do in that situation?
 
  


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
booting stops at - checking root filesystem varun_saa Mandriva 3 09-29-2005 12:58 AM
NFS Input/Output error after filesystem mounted problem wahhh Linux - Networking 1 09-06-2004 07:48 PM
Boot Problem with Filesystem Error on second Harddisk chansel Linux - Newbie 2 08-30-2004 02:41 AM
ext3 Filesystem & Dual-Booting? Darkstar274 Linux - Software 1 01-14-2004 04:20 PM
Error during booting-filesystem check failed pallablahiri Linux - General 1 12-03-2001 02:41 AM


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