Previously, I prevented auto-mounting of a particular partition at boot by the following line in /etc/fstab
UUID=<alphanumeric> /media/windowsHDD ntfs user,noauto 0 0
At some point in the last year, this failed, and the partition was automatically mounted on boot. I attempted the following, which also failed.
/dev/sda1 /media/windowsHDD ntfs user,noauto 0 0
Thinking that perhaps I was bitten by this bug, I removed user, but that also failed.
UUID=<alphanumeric> /media/windowsHDD ntfs noauto 0 0
Is there a way to prevent auto-mounting in fstab?
noautoentry in there still works/dev/sdb1 /media/3030-3030/ vfat user,noauto 0 0. – Sparhawk Feb 16 '14 at 10:30/media. This folder may get treated in a special way by Ubuntu, and some automount mechanism may mount it even though your/etc/fstabsays otherwise. Suggestion: move the mountpoint to somewhere else (/mnt/windowsHDDor whatever) and try again. Don't forget to create the directory that you specify as mount point. – Malte Skoruppa Feb 16 '14 at 12:00/mnt/windowsHDD. I forgot to create the directory (and I don't want it to automount anyway), but upon restart it was created and mounted there. – Sparhawk Feb 18 '14 at 05:55/media/sparhawk/windowsHDD. Oddly enough, when I do specify the location to mount in fstab, the files are marked green withls -l. However, when I comment everything out, they are just a normal colour. – Sparhawk Feb 18 '14 at 05:57