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 02-17-2009, 06:32 AM   #1
windstory
Member
 
Registered: Nov 2008
Posts: 486

Rep: Reputation: 36
boot problem -


At booting centos 5.2 x86, I got an error - file system check. dropping you to a shell as attached screen shot.

http://img5.imageshack.us/img5/4079/booterrorak3.jpg


How can I solve this?
 
Old 02-17-2009, 06:57 AM   #2
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 217

Rep: Reputation: 46
Enter your root password and the Enter key. I've seen this a few times when fsck needs to be run. After you enter the password you will see what needs to be done. After you do it, the system will start correctly.
 
Old 02-17-2009, 07:09 AM   #3
windstory
Member
 
Registered: Nov 2008
Posts: 486

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by ajlewis2 View Post
Enter your root password and the Enter key. I've seen this a few times when fsck needs to be run. After you enter the password you will see what needs to be done. After you do it, the system will start correctly.
ajlewis2,
Thanks for your reply.

I enter my password, and I got this promt.

Quote:
(Repair filesystem) 1 #
What should I do?
 
Old 02-17-2009, 07:18 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Type "fsck -y" (without quotes) to check the root filesystem.
 
Old 02-17-2009, 07:22 AM   #5
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 217

Rep: Reputation: 46
Or if you know what partition you are having the problem on, you can run it with just that. The -y will keep you from having to answer Yes to the questions.

fsck /dev/hda1 (or sda1 or whatever the root partition is)
 
Old 02-17-2009, 07:25 AM   #6
windstory
Member
 
Registered: Nov 2008
Posts: 486

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by ajlewis2 View Post
Or if you know what partition you are having the problem on, you can run it with just that. The -y will keep you from having to answer Yes to the questions.

fsck /dev/hda1 (or sda1 or whatever the root partition is)
Thanks kind replies.

After "fsck -y", I got

Quote:
(Repair filesystem) 2 #
Now what should I do?
 
Old 02-17-2009, 07:29 AM   #7
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 217

Rep: Reputation: 46
Repeat. It looks like it is wanting to repair a second filesystem.
 
Old 02-17-2009, 07:40 AM   #8
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
It will keep on coming to the prompt until its finished with checking the filesystem.
-y option as told before will need your interaction but is safer. You can omit it and check the filesystem directly if you know where / is mounted.
 
  


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
Fedora 9x64 AHCI problem - no boot (only CD Rom boot) after install sandaili Fedora 1 06-06-2008 03:33 PM
boot to GUI problem want grub boot to single user mode. hocheetiong Linux - Newbie 1 09-26-2007 07:41 PM
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 10:20 PM
solaris boot problem boot error loading interpreter(misc/krtld) Johncy_j Solaris / OpenSolaris 5 08-18-2005 02:47 AM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 09:49 PM


All times are GMT -5. The time now is 07:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration