LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-01-2005, 10:48 PM   #1
Josh1billion
Member
 
Registered: Sep 2005
Location: WI
Distribution: Fedora Core 9
Posts: 36

Rep: Reputation: 15
Automatically mount Windows partition with full access?


I need to set my configurations up so that my NTFS Windows partition (hda1) automatically mounts so I can access the files everytime I log in from any username (though I'm planning on only using my regular non-root username most of the time).

I've used this guide: linux.org.mt/article/winmount (sorry, I can't link the URL since this is my fifth post and any posts under fifth with a URL will be blocked on these forums, apparently).

That guide works fine, except for the fact that the partition is never mounted on startup (scroll down to the next paragraph for more details on this*), and then I manually mount it, and the folder containing the Windows files is protected so only root can access it. I need to be able to access it from my non-root username.

Quote:
3. If that worked, you can make it easier or automatic to mount by adding the following line to /etc/fstab:

/dev/hda1 /c vfat noauto,user 0 2
*I did this, but every time I log in and go edit that file again, that line is gone again.

Thanks in advance for the help.
 
Old 10-01-2005, 11:09 PM   #2
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 86
It really depends on what distro you're using, but here's the Ubuntu instructions:

http://ubuntuguide.org/#automountntfs

Should be adaptable for other distros. NTFS will be read-only, though, whatever distro you're using.
 
Old 10-01-2005, 11:11 PM   #3
Josh1billion
Member
 
Registered: Sep 2005
Location: WI
Distribution: Fedora Core 9
Posts: 36

Original Poster
Rep: Reputation: 15
Thanks, I'll try that. I'm using Fedora Core 4.
 
Old 10-01-2005, 11:13 PM   #4
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 86
Quote:
Originally posted by Josh1billion
Thanks, I'll try that. I'm using Fedora Core 4.
It's actually a bit more complicated in FC4, because you have to enable NTFS support first.

Try this instead:

http://www.linuxquestions.org/questions/history/363909
 
Old 10-02-2005, 12:26 AM   #5
Josh1billion
Member
 
Registered: Sep 2005
Location: WI
Distribution: Fedora Core 9
Posts: 36

Original Poster
Rep: Reputation: 15
No problem, I've already enabled it beforehand (while I was trying to get the first guide in my topic post to work, last night).
 
Old 10-02-2005, 01:37 AM   #6
Hosiah
Member
 
Registered: Sep 2004
Location: Des Moines, Iowa
Distribution: Slackware, Mandriva, Debian derivatives, +BSD/ Solaris/ Minix/ plan9/ GNU/HURD...
Posts: 185

Rep: Reputation: 30
Well, on my dual-boot Red Hat/Windows machine, I do:

Quote:
/dev/hda1 /mnt/win vfat user,umask=0 0 0
in the last line of /etc/fstab. This enables all users to read/write to/from the Windows hard-drive.
 
Old 10-02-2005, 01:41 AM   #7
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 86
vfat is for FAT partitions, not NTFS.
 
  


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
Unable to mount FAT32 partition automatically alaskazimm Linux - General 4 08-24-2005 08:19 PM
Kernel 2.6.7 problem - My vfat partition won't mount automatically !! gibiman Linux - General 4 08-11-2004 08:18 AM
How to automatically mount Windows partition? vincebs Linux - Newbie 10 06-04-2004 10:45 AM
What fstab mount setting do you use to get full access to a vfat drive? BarkingBonefish Linux - Newbie 4 03-12-2004 01:36 AM
How to automatically mount ntfs partition? Duukkis Linux - Software 3 06-25-2003 07:07 PM


All times are GMT -5. The time now is 03:38 PM.

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