6

Okay so I'm not exactly sure how it happened, but recently Ubuntu has been trying to mount an external hard drive that I usually have plugged in during boot. A message comes up during boot asking me to either wait, or press S to skip if the drive isn't plugged in when I start up my laptop.

My question is, how do I disable this drive from mounting at startup so I don't have to prompt Ubuntu to skip it at boot? I've looked up a couple other solutions to this, but all of them only seem to completely disable automounting, which would require me to manually mount the device when it's plugged in, which is not what I want. I just want to disable it from mounting at startup.

3 Answers3

6

If there is a line in /etc/fstab related to that drive, remove it.

The file is read only for all users other that root.

To edit it use the command gksu gedit /etc/fstab, but make a copy of the file before editing, and do not touch nothing other than removing that line.

enzotib
  • 96,093
1

To disable USB automount in Ubuntu 11.10 (with Gnome 3), launch dconf-editor (package dconf-tools) and uncheck the following entries:

  • org.gnome.desktop.media-handling automount
  • org.gnome.desktop.media-handling automount-open
Kris Harper
  • 13,705
-1

It is not possible to prevent Ubuntu 11.10 from automounting media when it is plugged in or on booting. Neither of the above solutions work. Simply look in /media for all the automounted devices after trying the above solutions.

Ken B
  • 1