Fedora Linux Support Community & Resources Center
  #1  
Old 13th March 2011, 09:13 AM
User101 Offline
Registered User
 
Join Date: Jun 2009
Location: India
Posts: 27
linuxchrome
Auto Mount Windows Drives on fedora 14 startup

hi,

i am using fedora 14.
Each time i login i have to manually mount my windows drives.
Is there any script or system setting which will help me to auto mount my windows drive on startup.

Thanks
Satyajit
Reply With Quote
  #2  
Old 13th March 2011, 10:34 AM
Smoking Tux Online
Registered User
 
Join Date: Jan 2011
Location: /home
Posts: 270
linuxsafari
Re: Auto Mount Windows Drives on fedora 14 startup

It's a bit dated, but I think it should help:
http://fedoraunity.org/solved/post-i...tfs-read-write
__________________
regards, Thomas
Reply With Quote
  #3  
Old 23rd March 2011, 08:38 AM
Sergi pons Offline
Registered User
 
Join Date: Mar 2011
Location: Castellar del vallès
Posts: 4
linuxfedorafirefox
Re: Auto Mount Windows Drives on fedora 14 startup

Run from commmand line ' blkid ' as root, copy the UUID from the drive you want to mount.
Create folder on /mnt/windows
Add this line on /etc/fstab:
UUID=(copy here your the uuid) /mnt/windows ntfs-3g defaults 0 0

(change ( /mnt/windows ) wich the name of the folder that you just created.)
Reply With Quote
  #4  
Old 23rd March 2011, 09:01 AM
Dangermouse Offline
Administrator - (On Leave)
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 49
Posts: 3,864
linuxfedorafirefox
Re: Auto Mount Windows Drives on fedora 14 startup

If you dont want to mess about changing files etc,, then there is a simple gui you can install to handle ntfs (windows) drives, the menu entry when installed will be under system>>Administration>>NTFs configuration tool

Quote:
su -c 'yum -y install ntfs-config'
Reply With Quote
  #5  
Old 12th November 2011, 11:13 AM
Marbles 2011 Offline
Registered User
 
Join Date: Sep 2011
Posts: 5
linuxfirefox
Re: Auto Mount Windows Drives on fedora 14 startup

Thank you Sergi pions for the line to put in fstab to automount ntfs drives. For many years I had to do this on Ubuntu and Mint (yes, now I'm a convert) but ntfs-config solved that problem. However, I cannot get ntfs-config to work with Fedora. It shows on my launcher but will not open. No loss though. I am adept enough to edit my fstab file. The reason I haven't used Fedora in the past is because after the install I couldn't access my Ubuntu or Mint OS. I wanted something to fall back on if I couldn't configure Fedora KDE. I learned how to work around grub to recognize everything. So, now everything just works after my "customizing" thanks to the forums.
Reply With Quote
  #6  
Old 12th November 2011, 11:57 AM
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,780
linuxchrome
Re: Auto Mount Windows Drives on fedora 14 startup

Interesting. Thought I'd give it a try under Fedora 16. Disappointing results. Using the launcher under Activities > Applications I get an error dialog. From the command lline I get

PHP Code:
[glenn@fedora16 ~>$ su -'ntfs-config'
Password
Traceback (most recent call last):
  
File "/usr/bin/ntfs-config"line 102in <module>
    
main(argsopts)
  
File "/usr/bin/ntfs-config"line 75in main
    app 
NtfsConfig()
  
File "/usr/lib64/python2.7/site-packages/NtfsConfig/NtfsConfig.py"line 56in __init__
    os
.mkdir(HAL_CONFIG_DIR)
OSError: [Errno 2No such file or directory'/etc/hal/fdi/policy' 
No matter. I manually edit /etc/fstab anyhow. Just wanted to check out the utility.
Attached Thumbnails
Click image for larger version

Name:	Screenshot at 2011-11-12 06:55:20.png
Views:	162
Size:	21.6 KB
ID:	22077  
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Just a couple of old single core units
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / Kingston HyperX 3K SSD 240GB SATA 3.0 / 1TB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #7  
Old 12th November 2011, 12:17 PM
Marbles 2011 Offline
Registered User
 
Join Date: Sep 2011
Posts: 5
linuxfirefox
Re: Auto Mount Windows Drives on fedora 14 startup

Thanks for the quick reply. I just tried the same command you did and had the same results. If I remember correctly, I think we need hal installed. However, I also believe that i read on some posting that hal was no longer in the Fedora Repositories, thus the error line "OSError: [Errno 2] No such file or directory: '/etc/hal/fdi/policy' "
Reply With Quote
  #8  
Old 13th November 2011, 12:17 AM
Mariusz W Offline
Registered User
 
Join Date: Nov 2007
Location: Berkeley, California
Posts: 690
windows_7firefox
Re: Auto Mount Windows Drives on fedora 14 startup

Quote:
Originally Posted by Marbles 2011 View Post
Thanks for the quick reply. I just tried the same command you did and had the same results. If I remember correctly, I think we need hal installed. However, I also believe that i read on some posting that hal was no longer in the Fedora Repositories, thus the error line "OSError: [Errno 2] No such file or directory: '/etc/hal/fdi/policy' "
Apparently, ntfs-config has not been updated to reflect the removal of HAL. The latter has been deprecated a long time ago, so it looks to me that ntfs-config stopped being maintained.
Reply With Quote
  #9  
Old 13th November 2011, 01:19 PM
Marbles 2011 Offline
Registered User
 
Join Date: Sep 2011
Posts: 5
linuxfirefox
Re: Auto Mount Windows Drives on fedora 14 startup

Thanks, Mariusz W. After a little poking around the System Settings, I see there is Removable Devices which allows auto-mounting any drive that is attached. This, I see, takes the place of ntfs-config. However, I am not afraid to go into fstab and change it there, I just have to find the proper commands, as I am not a programmer and only know basic usage of the terminal.
Reply With Quote
  #10  
Old 30th May 2012, 11:20 AM
yanglifu90 Offline
Registered User
 
Join Date: May 2012
Location: Chongqing, China
Posts: 7
linuxchrome
Re: Auto Mount Windows Drives on fedora 14 startup

Disks 3.4.1 allows one to configure mount options in GUI, you do not have to mess around with those commands now. Disks comes by default.
P.S. I have Fedora 17, but apparaently the website do not recognise it.

Last edited by yanglifu90; 30th May 2012 at 11:22 AM. Reason: add P.S.
Reply With Quote
Reply

Tags
auto, drives, fedora, mount, startup, windows

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
Getting my network drive to auto-mount on startup wizza Hardware & Laptops 10 29th October 2009 03:24 PM
Auto Mount NTFS Drives ptroyal Using Fedora 2 8th November 2007 07:23 PM
Auto mount Fat32 drives Rezwan Mahbub Using Fedora 4 7th March 2007 07:30 PM
Auto mount cdrom drives and usb drive in KDE vrangayyan Using Fedora 3 18th May 2005 02:55 PM
auto mount windows share for users ashokcm Servers & Networking 8 11th February 2005 03:50 AM


Current GMT-time: 15:01 (Friday, 31-10-2014)

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
Illingen Instagram Photos - Omuta Instagram Photos - Jarabulus Photos