[SOLVED] How to stop mounting all hard drives at startup in Ubuntu?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
How to stop mounting all hard drives at startup in Ubuntu?
I am running Ubuntu precise (12.04).
I installed and ran ntfs-config because I was an error while trying to copy files from my hard drive to a usb device. After checking the
'enable write support for external file'
box that issue was fixed; however, all my hard drives got mounted for some reason. I unmounted them with:
$ sudo umount /dev/...
but when I restart the computer they are all monted again. Is there a way to make sure that they don't mount upon startup?
I tried installing dconf-editor and unchecking the box for 'org.gnome.desktop.media-handling automount' but to no avail. I'm afraid to mess with /etc/fstab file without really knowing what I am doing. From the posts above I gather that I can substitute
where ever I have
that is do I do change the previous line to example 1:
or to example 2:
Also I think that the problem that I am experiencing now is a result of installing ntfs-config which overwrote my original /etc/fstab is there a way to get those settings back?
UPDATE: Okay I looked in the /etc and found a file called fstab-ntfs-cofig-save so I just replaced the fstab file with it and everything started working as desired