How to Stop an NTFS Drive from Automatically Mounting on Linux

0
18
Asked By CuriousCat42 On

I'm using Linux Mint 22.2 Cinnamon and I've been having an issue with an NTFS drive that automatically mounts every time I start up my computer. I initially tried using a script to play games installed on that NTFS Windows partition using Steam, but it didn't work out as I planned. Now I just want to stop that drive from mounting automatically, as it gets in the way and creates a shortcut on my desktop. I've heard that editing the fstab file might help, but I'm not sure how to go about it. Any suggestions?

1 Answer

Answered By TechieGuru77 On

To fix this, you can try backing up your current fstab file and then removing the line that the script added. You can do this by running: `sudo cp /etc/fstab.bak /etc/fstab`. The issue stems from the script modifying fstab to automatically mount the NTFS drive. If you comment out or delete that line, it should stop mounting it at boot. Just be careful to double-check the original line so you don't mess up your system!

InquisitiveUser88 -

What does this command do?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.