How do I Automount an Hard dRive in my Computer in Ubuntu?

Kevin O'Gorman kogorman at
Sun Nov 29 18:19:55 UTC 2015

On Sun, Nov 29, 2015 at 9:02 AM, Oliver Grawert <ogra at> wrote:

> hi,
> Am Sonntag, den 29.11.2015, 17:25 +0100 schrieb Ralf Mardorf:
... [snippage] ...

> > You didn't say a word, about my objection regarding mtab. Somebody
> > mentioned that copying a mtab entry of a manually mounted device to
> > fstab would be ok.
> no i ldidnt, since i wouldnt advise a normal enduser to tinker with
> either of them from the start ... very simple ... nowadays mtab is (or
> should be, i dont know if update-manager already switches it over on
> upgrades yet for all releases) a link to /proc/mounts (until it
> hopefully goes away within the next year or two), it is indeed not
> suited for using the lines unmodified, but it will give you all info
> you need for an fstab entry, it is just a matter of putting it into the
> right order ...

Not quite right, either of you.  The mtab entries use /dev/* names to
identify the physical partition.  On some motherboards these can be
different each time the machine reboots, and very likely to change if
there's any other change to the attached devices including one of them
going bad.  It's best to change these entries to use UUIDs, and this
requires some care and expertise.  Not recommended for the newb.

Those mtab entries are rebuilt on each reboot, so they are fine for their
intended purpose.

Does anyone know if the GRUB utility does this?  I can't test it because I
use Xubuntu, which does not load GRUB by default.

Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 441 bytes
Desc: not available
URL: <>

More information about the ubuntu-users mailing list