I use Lubuntu. My Windows partitions mount every time I use the Linux OS; is there any way to keep them from auto-mounting?
How can I mount a partition when I want to?
/dev/sda5: UUID="B9C1-DD76" TYPE="vfat" PARTUUID="0aa163f7-06"
To keep the filesystem from being mounted automatically, you may add a line to your
/etc/fstab file, using e.g.
sudo nano /etc/fstab or whatever editor you prefer. The line should read
UUID=B9C1-DD76 /some-path vfat defaults,noauto,user
/some-path means the directory where the filesystem should be mounted. This must exist and be writeable by you. Option
noautosays the filesystem will not be mounted automatically, and
user says that normal users are allowed to mount the filesystem.