etc/fstab Device label changed cant restore the default device name
hi,
I changed the label of the root partition in my etc/fstab.... Now when i rebooted the device is not identifiable and the kernel is providing a repair shell....to repair the system.. But when i tried to edit the "etc/fstab" file using vi editor the changes are not saved because the shaell says the "fstab " is Read Only filesystem ... even when i m in super user mode (i.e. root user mode)... i tried changing the permissions by giving root@localhost# chmod 777 etc/fstab even then the permisiions are the same i.ei. readonly... please tell me how can i restore my previous fstab file.... |
Try to remount your hard disk read-write:
Code:
mount -n -o remount,rw / |
Quote:
i will try it.. |
Quote:
but i didnt get why the flesystem was in readable permission only... please tell... i ll be obliged...... |
Becourse at boot time root partition is mounted in read-only mode for fsck to be able to check it, and then remounted in rw mode. Your error occures before filesystem whas remounted.
|
All times are GMT -5. The time now is 03:26 AM. |