Hello All,
Hardware:
HP ML570
2G Ram
Dual 2.8G procs
Compaq 5300 Smart Array Controller
Software:
Centos 4.1
I yum-med a server last week and rebooted it.
When it came up, it stopped. Looking at the console, I got:
---snip
Setting Hostname: OK
Checking root filesystem:
/dev/cciss/c0d0p10 is mounted, e2fsck cannot continue, aborting failed
*** an error occurred during the file system check
*** Dropping you to a shell; The system will reboot
*** when you leave the shell
Give root password for maintenance
(or type Control-D to continue)
---snip
So I did what any good sysadmin would do- I grabbed the boot disk and
rebooted the box in rescue mode and ran e2fsck on the /root partition.
No errors came up and rebooting the box resulted in the same error!
So I dug a little, and found that putting some comments
in /etc/rc.d/rc.sysinit would circumvent *the error* and allow the box
to boot.
Here are the lines - (around line 375)
if [ "${RHGB_STARTED}" != "0" -a -w /etc/rhgb/temp/rhgb-console ]; then
fsck -T -a $rootdev $fsckoptions > /etc/rhgb/temp/rhgb-console
else
initlog -c "fsck -T -a $rootdev $fsckoptions"
fi
Here are the grub.conf boot settings:
title CentOS (2.6.9-22.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-22.ELsmp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-22.ELsmp.img
My question is:
WHAT IS THE ERROR?
TIA,
Dave Augustus