LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 05-25-2006, 12:21 PM   #1
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Rep: Reputation: 15
Mount ntfs automatically


How can I mount ntfs filesystem automatically?
 
Old 05-25-2006, 12:22 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Do you have a line for the partition in your fstab? If so, just add the word "auto" to the options for it.
 
Old 05-25-2006, 01:52 PM   #3
KarlosDaJackel
Member
 
Registered: May 2006
Distribution: Gentoo
Posts: 54

Rep: Reputation: 15
Just to add if you want all users not just root to be able to access the ntfs partion add

defaults,umask=0222
 
Old 05-25-2006, 02:03 PM   #4
manishsingh4u
Member
 
Registered: Oct 2005
Location: Pune, India
Distribution: OpenSUSE 11.0
Posts: 422

Rep: Reputation: 30
Suppose you want to mount your /dev/hda1 partition to your /mnt/windows directory, (It may vary depending upon your system)
login as root and add this line to /etc/fstab file
Code:
/dev/hda1 /mnt/windows ntfs ro,umask=0222,user,gid=users 0 0
Check if it gets mounted correctly by these commands in console
Code:
mount -at ntfs
ls /mnt/windows
If you see the contents, your work is done.

Last edited by manishsingh4u; 05-25-2006 at 02:06 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
mounting a ntfs partition, automatically jrwizzard Linux - Newbie 10 08-18-2004 11:45 AM
Why a FSTAB entry will mount using -a switch but will not mount automatically at boot mjen Linux - Newbie 3 05-19-2004 07:45 AM
can't access ntfs mount through nfs mount bezoomny Linux - Networking 9 04-14-2004 10:25 AM
How to automatically mount ntfs partition? Duukkis Linux - Software 3 06-25-2003 06:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration