How do I Automount an Hard dRive in my Computer in Ubuntu?
lproven at gmail.com
Fri Nov 27 17:16:35 UTC 2015
On 27 November 2015 at 17:53, Simon Quigley <sqawesome99 at gmail.com> wrote:
> You would be looking to edit your /etc/fstab file. As this is not my expertise, I am going to point
> you to two helpful guides:
The most helpful thing I found was mtab, which people tend not to mention.
/etc/mtab lists all your currently-mounted drives and volumes, but
what's useful is that it lists them in a format that is compatible
with /etc/fstab entries.
What you do is mount the drives manually, the way you want, then:
 IMPORTANT! Make a backup copy of /etc/fstab, e.g. as /etc/fstab.old
 Copy the lines for the drives you want automounted from /etc/mtab
 Paste them into /etc/fstab
 Save, reboot
You should leave the existing drives' entries alone, and just add the
new lines for the drives you want to be mounted at boot.
Be careful. Muck up fstab and your computer might not boot!
Liam Proven • Profile: http://lproven.livejournal.com/profile
Email: lproven at cix.co.uk • GMail/G+/Twitter/Flickr/Facebook: lproven
MSN: lproven at hotmail.com • Skype/AIM/Yahoo/LinkedIn: liamproven
Cell/Mobiles: +44 7939-087884 (UK) • +420 702 829 053 (ČR)
More information about the ubuntu-users