Quote:
Originally Posted by dkalsaria
Hi Friends,
I have renamed fstab as a fstab.old in /etc folder. After system reboot is comes to shell prompt. How i can recover fstab from single user mode. I am using redhat Enterprise 5. Pls guide me.
Thanks
|
Boot into the recovery cd and
chroot into your system...then recover your file.
Example:
Code:
sh-1.3# chroot /mnt/sysimage
sh-1.3# cp /etc/fstab.old /etc/fstab
sh-1.3# sync
sh-1.3# exit
sh-1.3# exit
-C