04 Feb

How to re-mount root partition in read-only mode in Linux

It happens that you need to remount root partition in read only mode (for example, for the filesystem repair). This is how to do it:

mount -r -o remount /


Leave a Reply

Your email address will not be published. Required fields are marked *