Fedora Linux Support Community & Resources Center
  #1  
Old 7th March 2007, 06:01 PM
Rezwan Mahbub Offline
Registered User
 
Join Date: Mar 2007
Posts: 148
Unhappy Auto mount Fat32 drives

how can I auto mount fat32 drives in fedora core 6. In prevous linux es i had found /dev/hda1 but here i cant find it. how can i locate and mount it thereby please help me out.
Reply With Quote
  #2  
Old 7th March 2007, 06:07 PM
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 55
Posts: 12,371
Hello:
Open a terminal and log in as root using
su -
yourpassword
then type
fdisk -l
this will identify which partition is formatted in fat32
say it ends up being /dev/hdxn

to mount the drive you first need to make a mount point
mkdir /mnt/fat32
then add the following line to your /etc/fstab file

/dev/hdxn /mnt/fat32 vfat users,defaults,umask=000 0 0

save, exit and reboot and your fat32 partition will be mounted under /mnt/fat32


Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #3  
Old 7th March 2007, 06:08 PM
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
find the device by typing (as root)
Code:
fdisk -l | grep FAT32
Then add this line to /etc/fstab

Code:
/dev/hda1               /mnt/fat32_part         vfat    defaults,rw,umask=0000  0 0
Create the directory /mnt/fat32_part (change permissions on it to 777 if required) and type 'mount -a' to mount it immediately, it will automount on boot
Reply With Quote
  #4  
Old 7th March 2007, 06:09 PM
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
damn, seve got there first!
Reply With Quote
  #5  
Old 7th March 2007, 07:30 PM
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 55
Posts: 12,371
Hello:
Quote:
Originally Posted by Rezwan Mahbub
Disk /dev/hdc: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 974 7823623+ 7 HPFS/NTFS
/dev/hdc2 975 4866 31262490 f W95 Ext'd (LBA)
/dev/hdc5 975 1947 7815591 7 HPFS/NTFS
/dev/hdc6 1948 2920 7815591 b W95 FAT32
/dev/hdc7 2921 3893 7815591 7 HPFS/NTFS
/dev/hdc8 3894 4291 3196903+ b W95 FAT32
/dev/hdc9 4292 4801 4096543+ 83 Linux
/dev/hdc10 4802 4866 522081 82 Linux swap / Solaris
to mount /dev/hdc6
Make sure that you have the directory /mnt/fat32
then
open a terminal and log in as root using
su -
yourpassword
then
mount -t vfat /dev/hdc6 /mnt/fat32

to auto-mount it a boot time
then gedit /etc/fstab
and add the following line
/dev/hdc6 /mnt/fat32 vfat users,defaults,umask=000 0 0
save, exit and reboot


Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
Reply

Tags
auto, drives, fat32, mount

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
Auto-mount Linux (ext4) and Windows (FAT32) partitions at boot zmdmw52 Hardware & Laptops 7 11th August 2009 01:33 PM
Auto Mount NTFS Drives ptroyal Using Fedora 2 8th November 2007 07:23 PM
Loading FAT32 and NTFS drives tvks Hardware & Laptops 3 26th May 2007 12:49 AM
Fat32 Network drives Stian1979 Servers & Networking 22 3rd February 2007 03:14 PM
Auto mount cdrom drives and usb drive in KDE vrangayyan Using Fedora 3 18th May 2005 02:55 PM


Current GMT-time: 09:13 (Thursday, 24-04-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