Ticker

6/recent/ticker-posts

How to fix “sudo: unable to open … Read-only file system”?


-bash: cannot create temp file for here-document: Read-only file system

Try to remount:

mount -o remount /
mount -o remount,rw /
Or try to fix filesystems:

sudo fsck -Af -M
sudo fsck.ext4 -f /dev/sda2
sudo reboot

Post a Comment

0 Comments