In order to simulate the problem i have added wrong entry to /etc/fstab file.
Steps 1: Added entry /dev/sdb2 instead of /dev/sdb1. Let’s
reboot the machine see what will happen.
Step
2: Machine is unable to boot as /dev/sdb2 is not found at the place. Now type
root user password and get login for maintenance. So ultimately we have make correct entry to /etc/fstab
file.
Step 3: Here I am trying
editing the /etc/fstab file. But it won’t allow to edit as file does not have
write permission. To change the permission use command “mount -w -o remount /”. And edit /etc/fstab file with correct entry and reboot the machine. So that all need to do to correct problem.
---END---
No comments:
Post a Comment