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 |
"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 |
It is centos box and doesn't have live CD. Do I just need to boot up with CD and run fdisk from there?
|
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. |
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? |
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 ? |
Not the initrd section, the kernel section. Its the line that looks like
Code:
kernel /boot/vmlinuz ro root=LABEL=/ rhgb quiet |
All times are GMT -5. The time now is 01:53 PM. |