Re: How to automount USB disks at boot-up?
Osamu Aoki wrote, on 2009-03-02 01:25:
On Sun, Mar 01, 2009 at 01:56:12PM +0100, Robert Latest wrote:
the subject says it all. I (often, but not always) have a portable USB
disk connected to the computer that I would like to have automounted
on boot. I could just knit some init script for this task, but before
I do that I'd like to check if there is a "canonical Debian way" to
I do not know if it is "canonical Debian way" or not ... but there are
Do you use modern desktop? Gnome, KDE, ... then it automounts.
If non X system, just add it to /etc/fstab
It didn't work for me in KDE 3.5.10 (running Debian unstable here). I
might have the wrong packages installed.
What I did was identify the 2 usbdrives I own and set up mount points
for them and put the following in /etc/fstab:
# line for first drive
defaults,users,uid=65534,gid=65534,umask=000 0 2
# line for second drive
"shortname=win95" was needed to enable me to create a dvd directory tree
on the second drive - the joys of case-sensitive versus case insensitive
systems. The "defaults" word is only needed if there are no other
entries in that field of /etc/fstab.