Hello,
I'm new to Lunix and have a Red Hat Enterprise server installed. After a powercut on the weekend, one of the filesystem (not an important one) wont pass a fsck - does anyone know how I can bypass the fsck for a particular filesystem?
You can boot into single user mode.
With Lilo, you can select the OS from the menu and add a 1 to the end.
Eg.
boot: Linux 1
Edit /etc/fstab
/dev/hda3 /data reiserfs noauto
The noauto option will not try to mount the filesystem on reboot.
Reboot to multi-user mode and you can try to recover the filesystem.
"If you always do what you've always done, you will always be where you've always been."
I had to do this once before, and IIRC if you boot to single-user mode, touch a file called /fastboot, then reboot. The presence of /fastboot will bypass the fsck at boot.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.