Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I hibernated Windows 7, then booted Ubuntu. When I tried to mount the Windows partition, I got this error:

I'd just read that switching OSes via hibernating was OK as long as you didn't modify files on the other OS's partition, and I'm glad Nautilus ensures you don't, but I need to copy some files from that partition. Is there a way to make Nautilus temporarily mount it as read-only? I was hoping I could just do something like "right-click->Mount as Read-Only" but that's not an option.

Update: For the record, I was able to do it from a terminal using sudo mount -t ntfs-3g -r /dev/sda3 /media/adam/. It usually mounts to /media/adam/OS/, although it wouldn't let me do that since the OS folder didn't exist. Also, I had to authenticate as an admin to unmount it from Nautilus since it was mounted as root (the mount command I listed had to be run as root). However, I still a graphical solution would be better and a bit more user-friendly.

share|improve this question

marked as duplicate by muru, David Foerster, Luís de Sousa, Charles Green, david6 Feb 28 at 0:10

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

If you prefer GUI, use Disks to indicate how a partition should be mounted. Add the read-only option to always have access to your hibernated W7 partition:

share|improve this answer
Not exactly temporary, but faster than opening a terminal. Thanks! – Zelda64fan Oct 27 '13 at 21:59

I don't think there is an option in Nautilus to mount a partition/device as read-only. But, for the record, there is another terminal command to mount the partition as read-only:

udisksctl mount --block-device /dev/sda3 --options ro

This works at least in Ubuntu 13.04. It mounts to /media/user/label, even if the folder doesn't exist, and can be run as user (and unmounted in Nautilus without password prompt). The user must be an administrator (i.e. can use sudo), I think.

udisksctl is probably what Nautilus uses to mount devices. The older command that mounted to /media/label is udisks, if I am not mistaken.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.