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?
noauto
entry in there still works/dev/sdb1 /media/3030-3030/ vfat user,noauto 0 0
./media
. This folder may get treated in a special way by Ubuntu, and some automount mechanism may mount it even though your/etc/fstab
says otherwise. Suggestion: move the mountpoint to somewhere else (/mnt/windowsHDD
or whatever) and try again. Don't forget to create the directory that you specify as mount point./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./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.