Dave's Brain

Browse - Computer Tips - When I login in Single User Mode I can not change things.

Date: 2015jun20
OS: FreeBSD

Q.  When I login in Single User Mode I can not change things.
I am told the filesystems are mounted as read-only.
How can I fix this?

A.  Remount the filesystem.  To remount the root filesystem:

mount -u -o rw /
The man page says: The -u flag indicates that the status of an already mounted file system should be changed. -o rw just requests the read-write option. If you get an error about fsck needing to be run, well run it:
fsck
Then try to mount again.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.