Yes. Linux can mount a filesystem read-only, either because you request it with the ro option or because the kernel remounts it read-only after detecting errors. To mount a device read-only, use sudo mount -o ro /dev/sdX1 /mnt; if an existing mount has become read-only, first find out why before trying to make it writable.
What read-only means in Linux
A read-only mount lets programs inspect files but prevents changes to the mounted filesystem. Creating, deleting, renaming, or modifying files there normally fails with a “Read-only file system” error. This restriction applies to that mount, not automatically to every copy of the data or to the whole computer.
Linux mounts filesystems into a single directory tree. A device such as a partition, USB drive, or network share is attached at a mount point, for example /mnt. The mount options determine how that particular attachment behaves. The underlying filesystem may support writes, but a read-only mount blocks them; conversely, requesting a writable mount does not guarantee writes will be safe or possible.
Read-only is not the same as a Unix file permission that denies a particular user access. Permissions may produce “Permission denied,” while a read-only filesystem typically produces “Read-only file system.” An individual file can also have restrictive permissions even when its filesystem is mounted read-write.
Mount a device read-only
For an already identified partition, create a mount point and mount it with ro:
sudo mkdir -p /mnt/inspect
sudo mount -o ro /dev/sdX1 /mnt/inspect
Replace /dev/sdX1 with the correct device. Device names can change between boots or when devices are connected, so check before mounting:
lsblk -f
This lists block devices, partitions, filesystem types, labels, and current mount points. You can also inspect filesystem identifiers with blkid. Do not copy the example device name literally: mounting the wrong partition can expose unrelated data, and formatting or repair commands aimed at the wrong device can destroy it.
To confirm the result, use findmnt:
findmnt /mnt/inspect
Look for ro among the mount options. When finished, unmount the filesystem with sudo umount /mnt/inspect. The mount point must not be in use; close shells and applications whose current directory is on it if unmounting reports that the target is busy.
Make an existing mount read-only
An existing mount can be remounted read-only without detaching it:
sudo mount -o remount,ro /mnt/inspect
Use the mount point shown by findmnt, and verify the result afterward. Remounting is useful for preventing further changes during inspection, but it does not undo writes already made. A filesystem may refuse the change if it is busy or if the filesystem type or current state does not permit it.
For a filesystem listed in /etc/fstab, the ro option can make it mount read-only at startup. For example, a simplified entry might include UUID=… /data ext4 ro 0 2. Use the actual UUID and filesystem type from your system; avoid relying on a device name such as /dev/sdb1 when a stable identifier is available. Editing fstab incorrectly can cause boot or mount problems, so test changes carefully and keep a way to recover.
Why Linux may switch a filesystem to read-only
A mount that was writable can become read-only when the kernel or filesystem driver encounters a serious problem. This is a protective response: continuing to write after detecting filesystem errors could make corruption worse. Hardware trouble, an unsafe disconnect, power loss, or filesystem inconsistencies are possible causes, but the read-only status alone does not identify which one occurred.
Check the kernel log for messages around the time the problem began:
dmesg -T | tail -n 80
On systems using systemd, journalctl -k can also show kernel messages. Look for the device name and filesystem-related errors. Then check the mount state with findmnt and identify the device with lsblk -f. A failing drive may need attention even if a repair appears to restore writes.
Diagnose errors safely
If an unexpected read-only mount contains important data, prioritize preserving it over restoring write access. Avoid repeatedly remounting it read-write or running repair tools on a mounted filesystem. Filesystem repair procedures differ by filesystem, and the wrong tool or timing can cause data loss.
- Record the exact error and inspect kernel logs for filesystem or I/O errors.
- Check cables, ports, power, and device health where relevant; repeated I/O errors can point to hardware trouble.
- Back up or image valuable data before attempting repairs, if the device is readable.
- Consult the documentation for the specific filesystem before running its checker or repair utility. Most repair tools require the filesystem to be unmounted.
For example, fsck is a family of filesystem-checking tools, not a universal command to run on any mounted disk. Do not run a repair command against a mounted, active filesystem unless the filesystem’s documentation explicitly supports that operation. If the data is irreplaceable or the device is physically failing, professional recovery may be safer than experimentation.
Read-only mounts for protection and inspection
Read-only mounts are useful when examining a disk you do not want to alter, accessing installation media, or exposing shared data that should not be changed. They can reduce accidental writes, but they are not a complete security boundary: privileged users can change mount settings, and software may still make changes elsewhere on the system.
There is also an important nuance: mount -o ro controls writes through that mount, but some filesystems may perform recovery or replay operations under certain conditions. If you need forensic-level assurance that the source device will not be modified, use appropriate write-blocking hardware or a carefully chosen imaging workflow and follow the filesystem’s forensic guidance. A normal read-only mount should not be treated as a substitute for a hardware write blocker.
Frequently Asked Questions
How do I check whether a Linux mount is read-only?
Run findmnt /path/to/mountpoint and inspect the options for ro. You can also use mount to list mounts and their options.
How do I remount a filesystem as read-write?
If the filesystem is healthy and the read-only state was intentional, try sudo mount -o remount,rw /mountpoint. If it became read-only after errors, do not force it writable before checking logs and protecting important data.
Why does my USB drive say “Read-only file system”?
It may have been mounted with the ro option, detected errors, or have a hardware write-protection switch. Check findmnt, dmesg, and the device itself; the message does not by itself prove that the drive is permanently damaged.
Does read-only mean I can still copy files from the disk?
Usually, yes: a read-only mount allows reads, so you can copy accessible files to another writable destination. Read errors or filesystem damage can still prevent some files from being read.
Can I edit a file on a read-only mount by changing its permissions?
No. File permissions cannot override the mount’s read-only restriction. You would need a writable mount, and should investigate first if Linux made the filesystem read-only because of errors.