I have messed up my sudoers
file and I want to change the permission on it.
When I login in recovery mode, I cannot run the command chmod
as it is read-only option.
I tried mount -o remount,rw /
in recovery mode. Didn't work for me:
Err : Ext4-fs remount. Opts errors=remount-ro
How can I boot into recovery mode and with read-write option?
Best Answer
I did some web searching on "Recover Mode Read Only" and came across this post on LinuxQuestions.org website.
mount -o rw,remount /
to remount the filesystem as read-write