I've got a dualboot installation with Ubuntu 10.04 and Windows 7 Ultimate. I've got 2 drives with the following partitions set up:
500 GB drive
2 partitions:
C:/ 320GB NTFS (Has Win 7 on it)
D:/ 180GB NTFS
160 GB drive
1 main partition:
1 160GB EXT4 (Has Ubuntu 10.04 in it)
In Ubuntu, I'm auto mounting the entire 500GB drive, using an /etc/fstab
line. I've configured that line as the following:
UUID=XXXXXXXXXXXXXXXX /media/WinEmily auto ro,auto,user,exec 0 0
Where the UUID is the one of the 500GB drive and /media/WinEmily
is my existing mount point.
Now my question is, is there any way for Ubuntu to still write to either of the partitions of the 500GB drive. I'm trying to prevent that so that it will have read access only, no matter what it tries. (Except of course unmounting and remounting with read/write access.)
Update
I'm talking about normal file operations, editing and erasing files from the file system. Not destroying the entire file system using brute force.
So is there like a command like this, that would allow writing even though it's mounted as read-only.
supersuperuserdo rm --doitanyway /media/WinEmily/file.txt