LinuxQuestions.org
Help answer threads with 0 replies.
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-25-2007, 04:07 PM   #1
mokku
Member
 
Registered: Feb 2007
Posts: 197

Rep: Reputation: 30
how to run FSCK in boot up


Hi,

I am running and there is a problem with filesystem and i need to bootup with FSCK test. How can I do it?

thanks
 
Old 07-25-2007, 04:12 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,794

Rep: Reputation: 292Reputation: 292Reputation: 292
"I am running and there is a problem with filesystem and i need to bootup with FSCK test. How can I do it?"

I recommend that you boot a live CD and run fsck from the live CD system.

-------------------
Steve Stites
 
Old 07-25-2007, 04:18 PM   #3
mokku
Member
 
Registered: Feb 2007
Posts: 197

Original Poster
Rep: Reputation: 30
It is centos box and doesn't have live CD. Do I just need to boot up with CD and run fdisk from there?
 
Old 07-25-2007, 04:28 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You can boot into runlevel 1. You do this by pressing "e" when you see the GRUB screen. Navigate to the kernel section using the arrow keys and press "e" again. At the end of that line, add a space and the number 1. After that press "b" to boot the system into runlevel 1. Once you are in runlevel 1, you can fsck.

An alternative would be to boot from the first installation disc (or the dvd) and get into rescue mode. More information is available here.
 
Old 07-25-2007, 05:03 PM   #5
mokku
Member
 
Registered: Feb 2007
Posts: 197

Original Poster
Rep: Reputation: 30
Thank you for your reply. I have booted it up with bootup CD#1, and then when I click on "continue", it just stats there and showing the following message.

searching for centos-4 i386 installations ...................

Do you think CD is corrupted?
 
Old 07-25-2007, 06:16 PM   #6
mokku
Member
 
Registered: Feb 2007
Posts: 197

Original Poster
Rep: Reputation: 30
Hi,

Thanks for the explanation, how does last line needs to look like?

some thing like this:

initrd /boot/initrd-xxxxx.img 1

Is this correct ?
 
Old 07-25-2007, 10:09 PM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Not the initrd section, the kernel section. Its the line that looks like
Code:
kernel /boot/vmlinuz ro root=LABEL=/ rhgb quiet
 
  


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
Boot error fsck.reiserfs failed Run Manually anerusmc Linux - Newbie 5 11-03-2009 08:34 PM
Run fsck on root (/) at boot Sako73 Linux - Newbie 2 12-02-2004 03:14 PM
automatic fsck on boot. fsck errors. nixel Slackware 1 05-17-2004 08:51 AM
Boot error fsck.reiserfs failed Run Manually anerusmc Linux - Software 0 02-21-2004 10:49 PM
How run fsck? lectraplayer Linux - Newbie 1 10-05-2003 09:38 PM


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