Find the answer to your Linux question:
Results 1 to 7 of 7
I am using Fedora 10,when i boot my system my ntfs partition was mounted automatically and show in Desktop...Can anyone say how to Disable automount at startup or unmount it ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    41

    Disable automount at startup

    I am using Fedora 10,when i boot my system my ntfs partition was mounted automatically and show in Desktop...Can anyone say how to Disable automount at startup or unmount it permanently...

  2. #2
    Just Joined!
    Join Date
    May 2009
    Posts
    8
    hi....

    cheak the /etc/fstab entry........remove the entry for ntfs then save it... reboot...thanks.

  3. #3
    Just Joined!
    Join Date
    Jun 2009
    Posts
    41
    This is my fstab file,i dont know which one to remove pls help me...


    #
    # /etc/fstab
    # Created by anaconda on Wed Jun 10 20:26:21 2009
    #
    # Accessible filesystems, by reference, are maintained under '/dev/disk'
    # See man pages fstab(5), findfs(, mount( and/or vol_id( for more info
    #
    /dev/VolGroup00/LogVol00 / ext3 defaults 1 1
    UUID=2ad1da77-f70f-45cd-a2c3-1b36a3095fdb /boot ext3 defaults 1 2
    tmpfs /dev/shm tmpfs defaults 0 0
    devpts /dev/pts devpts gid=5,mode=620 0 0
    sysfs /sys sysfs defaults 0 0
    proc /proc proc defaults 0 0
    /dev/VolGroup00/LogVol01 swap swap defaults 0 0

  4. #4
    Just Joined!
    Join Date
    Jul 2008
    Location
    Kenya
    Posts
    26
    When you automount the drive it is not written ni /etc/fstab as ellappan suggested.
    Am yet to check but I think the drive exist in mtab file.

    I advice that you disable autofs as root in your current run level. the service autofs is what automount your drive when you log in.

    Code:

    # service autofs stop
    # chkconfig autofs off

    to disable automount in Gnome only, type to list current setting

    $ gconftool-2 -R /desktop/gnome/volume_manager

    To diasable

    $ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool --set /desktop/gnome/volume_manager/automount_media false
    $ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool --set /desktop/gnome/volume_manager/automount_drives false

    for more info read
    $ man gconftool-2


    All the Best

  5. #5
    Just Joined!
    Join Date
    Jun 2009
    Posts
    41
    I have executed your command as root,but i get the following reply,

    [root@karthick karthick]# service autofs stop
    autofs: unrecognized service
    [root@karthick karthick]# chkconfig autofs off
    error reading information on service autofs: No such file or directory
    [root@karthick karthick]#

  6. #6
    Just Joined!
    Join Date
    Jul 2008
    Location
    Kenya
    Posts
    26
    You ntfs drive entry is not in /etc/fstab but in /etc/mtab.

    Check your existing services as the error means that the autofs doesnt exist in the system or is not in your path.

    Type
    ]# system-config-services
    to use services GUI interface to view if autofs is listed.

    Then you need to type the whole path if you havent logged in as su -

    Type
    # /sbin/service autofs stop

    NB: service autofs starts the automount daemon responsible for mounting your ntfs drive during bootup process.

  7. #7
    Just Joined!
    Join Date
    Jun 2009
    Posts
    41
    autofs service was not found in my system...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...