check_latest_version && sudo apt update && sudo apt upgrade -y
Verify filesystem mount options:
mount | grep /path
cat /proc/mounts | grep /dev/device
findmnt /path
Change to read-write mode:
sudo mount -o remount,rw /path
sudo mount -o rw,remount /dev/device /path
Verify filesystem integrity:
sudo fsck /dev/device
dmesg | grep -i "read-only"
sudo tune2fs -l /dev/device
EROFS occurs when trying to write to a filesystem that is mounted read-only.
lsblk -f
cat /sys/block/device/ro
hdparm -r /dev/device
blkid /dev/device