[RHEL`]Recover Boot If fstab corrupt or Read Only File system Error [without boot from CD/DVD]
Dear Friends If you stuck problem in boot RHEL by wrong or corrupt entry in /etc/fstab and trick "single user mode" not working cause of "Read Only FileSystem" Here is the solution
without using bootable media
Just follow these easy step.
Problem Happened cause :
You are stuck at Recovery Mode (CTRL+D) and when you try to edit /etc/fstab its not done by :wq! option cause / is on readonly mode.
Then you would try for "Single user mode". Its also not working then.. hmm what would you do now...
Solution ::
1. Reboot
2. On Boot Loader RHEL option "Press a" (this is for append that line on boot time)
3. add init=/bin/bash end of the line after a space. (to change shell)
4. then Enter or "press b" to boot it .
5. Now system will boot and will stop and Recovery Mode (CTRL+D)
6. just enter root password and you will get the # prompt.
7. Now run this command for mount / partition rw mode.
Dear Friends If you stuck problem in boot RHEL by wrong or corrupt entry in /etc/fstab and trick "single user mode" not working cause of "Read Only FileSystem" Here is the solution
without using bootable media
Just follow these easy step.
Problem Happened cause :
You are stuck at Recovery Mode (CTRL+D) and when you try to edit /etc/fstab its not done by :wq! option cause / is on readonly mode.
Then you would try for "Single user mode". Its also not working then.. hmm what would you do now...
Solution ::
1. Reboot
2. On Boot Loader RHEL option "Press a" (this is for append that line on boot time)
3. add init=/bin/bash end of the line after a space. (to change shell)
4. then Enter or "press b" to boot it .
5. Now system will boot and will stop and Recovery Mode (CTRL+D)
6. just enter root password and you will get the # prompt.
7. Now run this command for mount / partition rw mode.
8. mount -o remount,rw /
9. now make changes in /etc/fstab and save and exit ,,, Reboot normally.
10. Your problem will be solved if follow set properly.
Thanks
No comments:
Post a Comment