Sunday, May 12, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 3208  / 3 Years ago, tue, july 20, 2021, 6:28:50

I have two NTFS partitions that constitute a Windows 7 install. I am running Ubuntu and virtualize that Windows install off the physical disk. While the VM is working it could be disastrous if mount any of those partitions and make changes to them.



How do I prevent Ubuntu from mounting these partitions _at_all_?



Tried something along the lines of



/dev/sda none ntfs,ro 0 0 


in /etc/fstab but that just gave me an error..



Thanks!


More From » partitioning

 Answers
2

You could try putting a space between ntfs and ro. And add a ,noauto to the ro (without a space before the comma.



Good luck!


[#42899] Thursday, July 22, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uquelighted

Total Points: 242
Total Questions: 110
Total Answers: 106

Location: Cyprus
Member since Tue, Sep 22, 2020
4 Years ago
uquelighted questions
;