Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30th August 2007, 11:42 PM
kpfuser Offline
Registered User
 
Join Date: Jun 2007
Posts: 51
How to mount a Win2k vfat directory automatically at startup

Following advice contained in a Fedora book, I logged in as root and ran the commands

# mkdir /mnt/win2kdata
# chmod 755 /mnt/win2kdata
# mount -t vfat /dev/sda5 /mnt/win2kdata
# chmod 755 /mnt/win2kdata
# ls /mnt/win2kdata

Up to this point all went well and the contents of /dev/sda5 were displayed as expected. Next, in order to have the mount occur automatically at startup, I added the entry

/dev/sda5 mnt/win2kdata vfat 0 0

to /etc/fstab. However, when I restarted logging in as a limited user (i.e., not as root), the /dev/sda5 failed to mount. In case I have to log in as root in order to get /dev/sda5 to mount properly, I must say I do not consider this a viable option. Is there a way to mount /dev/sda5 automatically at startup and make it available to users other than root?
Reply With Quote
  #2  
Old 31st August 2007, 12:01 AM
PabloTwo's Avatar
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,126
Quote:
/dev/sda5 mnt/win2kdata vfat 0 0
modify your fstab entry line to this:

/dev/sda5 mnt/win2kdata vfat auto,users 0 0

The 'auto' part should make it auto mounting at bootup. The 'users' part will allow regular users to mount/unmount/access this drive.

Paul
Reply With Quote
  #3  
Old 31st August 2007, 08:49 AM
kpfuser Offline
Registered User
 
Join Date: Jun 2007
Posts: 51
It worked! Not smoothly though as it took me an awfully long time to figure out that there wasn't an empty space in the "auto,users" part. Nevertheless, a big thanks goes to Paul!
Reply With Quote
Reply

Tags
automatically, directory, mount, startup, vfat, win2k

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to mount NTFS partions for win2k, and XP. imdeemvp Guides & Solutions (No Questions) 80 13th December 2007 07:49 PM
How to Make HAL mount vfat rw? cwelch Hardware & Laptops 5 27th January 2006 11:15 AM
vfat mount doesn't report error, but unable to view directory schriverja Installation and Live Media 9 4th June 2005 07:23 PM
how do I join a Win2k Active Directory? belthezar Servers & Networking 0 20th May 2004 06:43 PM


Current GMT-time: 19:15 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat