Skip to content

Instantly share code, notes, and snippets.

@dave-malone
Created September 1, 2020 12:53
Show Gist options
  • Save dave-malone/9ddb7fed7405d09a158bfb3fcfe258db to your computer and use it in GitHub Desktop.
Save dave-malone/9ddb7fed7405d09a158bfb3fcfe258db to your computer and use it in GitHub Desktop.
remount read-only, completely full filesystem
I was unable to free up disk space on my Raspberry Pi recently, and I kept getting a "cannot remove... Read-only file system" error when attempting to run the `rm` command. The following step was necessary prior to then removing uncessary files and freeing up space on the filesystem.
`sudo mount -o remount,rw /`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment