Find the answer to your Linux question:
Results 1 to 6 of 6
Hey im a linux noob and i've messed with the drives in the terminal and the drive keeps trying to automount to in the Windows 7 NTFS partition on Startup ...
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    2

    How to disable Drive Automount in linux

    Hey im a linux noob and i've messed with the drives in the terminal and the drive keeps trying to automount to in the Windows 7 NTFS partition on Startup of Ubuntu 10.04, how do i disable this?

  2. #2
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    855
    I'd put the partition into /etc/fstab with noauto option. See man fstab for details.

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome !

    Just remove the entry ( Put # sign at beginning ) of Windows 7 partition from /etc/fstab file.

    Code:
    # /dev/xyz  windows_partition mount line
    In case it doesn't work, post the output of df -h command and contents of /etc/fstab file here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Just Joined!
    Join Date
    Aug 2010
    Posts
    2
    Yea ive found the file but it's a read only, sorry for being such a noob but how do you modify it

  5. #5
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Pecos, Texas
    Posts
    2,946
    Quote Originally Posted by MeatCleaver View Post
    Yea ive found the file but it's a read only, sorry for being such a noob but how do you modify it

    Code:
    sudo gedit /etc/fstab
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
    Open CourseWare for Linux Geeks

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Its better to use gksu instead of sudo for GUI Applications.
    Press Alt+F2 and type this
    Code:
    gksu gedit /etc/fstab
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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