I have a CentOS box that hangs for like 8 hours at "Checking root filesystem" every time it reboots.
Is there some way to skip that check?
When booting, edit the kernel line in grub and add 'fastboot' to the end (no quotes)- to do that, select the o/s to boot, hit 'e', and then 'e' again when the kernel line is being selected. Once edited hit escape to come back out of the editing mode and 'b' to boot. The changes are not saved for future boots.
In future, edit the /etc/fstab line and change the sixth field of the root partition to a 0 to avoid future fsck checks. That may not be a good idea so make sure you know what your doing.
You can also change how often the checks are done if that's more useful for you. For example:
sudo tune2fs -c 50 /dev/hda1
which will perform the check on hda1 every 50 boots (0 disables checks).
One of two things is happening:
If #1 is the cause, you can skip it one time by creating
Also, you may want to consider switching to ext4, which is fully-supported in RHEL 5.6 (and the any-day-now CentOS 5.6). The new version of the filesystem is designed to be much faster at fsck for large filesystems.