Saturday, August 6, 2016

Steps to remove incorrect entry from fstab in linux

Steps to remove incorrect entry from fstab in linux


Some time when there is in correct entry in the /etc/fstab then the linux server will not startup.
To fix this follow the below.


1. At the time of boot , in grub prompt hit the 'a' to append.
2. Enter  init=/bin/bash   at the end.
3. The system will now take you at bash#  prompt.
4. Enter  as    bash#  mount -o remount,rw /
5. Now open the /etc/fstab using vi and edit it and save it.
6. reboot


No comments:

Post a Comment