View Full Version : Repair file system

24th February 2007, 12:07 AM
In my system loaded with fc6 and was working fine. But for an experimental analysis I changed /etc/fstab file completely and started rebooting the system. Now while rebooting the system it is not coming up but stoping at repair file system. I have my original fstab file /etc but if tryinmg to hange from thye repair mode, it is showing error message as red only file. What is the option for restoring my original fstab file.

24th February 2007, 12:23 AM
Are you using a rescue disk to boot?


24th February 2007, 02:07 AM
You might be able to repair it using fsck. Boot to runlevel 1 and type:

umount /
umount /boot
fsck -f -p

With this you will unmount the "root" filesystem, and unmount the "/boot" filesystem and then run the filesystem check program on files and automatically fix option. However if the filesystem is really borked, you might might have to run with just the fsck -p option and manually answer about fixing the inodes, etc.....

24th February 2007, 02:11 AM
or, since you have the original /etc/fstab, you can boot up on rescue disk and restore the file.

24th February 2007, 03:20 AM
And that might work if the fstab pointed to the wrong filesystem, but if the filesystem is corrupted your going to have to run fsck or reinstall

24th February 2007, 04:28 AM
Yes. I think so

24th February 2007, 04:30 AM
[For fedora 6, from where I will get iso image for rescue disk

Binjai - Burhar Travel Photos - Dhanera Photos on Instagram