LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-19-2005, 04:23 PM   #1
computergee
Member
 
Registered: Feb 2005
Posts: 58

Rep: Reputation: 15
Mounting a Fat32 Partition


I have Fedora Core 3 dual booted with windows, on seperate 80gig hdds. I have the hdd that linux is on split into 2 partitions, one for all the linux things and the other is a Fat32 partition, ment to share files between linux and windows. My question is how do I mount the partition into linux so i can interchange files with windows?
 
Old 03-19-2005, 05:07 PM   #2
cylix
Member
 
Registered: Dec 2004
Location: Ohio
Distribution: Fedora Core 3
Posts: 125

Rep: Reputation: 15
Not knowing much about your underlying structure, I'll have to explain some things.

the command is

mount -t vfat /dev/hdXY /mount/location

Typically I use /mnt/somesubdirectory or /mnt/win

The directory you wish to mount to must exist. (so mkdir directory)

Now, /dev/hdXY isn't a real device entry.

X should be the drive letter. In linux this is "a" for primary master, "b" for primary slave, "c" for secondary mater and "d" for secondary slave"

Y stands for the partition you want to mount. If unsure, you can fdisk /dev/hdaX (note, there is no number here designating the partition) and there simply type p to print the partition information and q for quit.

So, now you should be able to come up with something like this.

mount -t vfat /dev/hdb1 /mnt/win

Thats the secondary salve, first partition.

Make sure you have the vfat module available, if you compiled from source you will want to make sur eyou have that. Fedora includes the vfat module by default and should load it. *you might under odd circumstances have to modprobe vfat*
 
Old 03-19-2005, 05:20 PM   #3
nom the unwise
LQ Newbie
 
Registered: Feb 2004
Distribution: LFS 6.1.1, Slackware 10.1
Posts: 5

Rep: Reputation: 0
You can also edit your /etc/fstab file so that you automatically mount the drive each time you boot up. Add a line to the file like so...

/dev/hdXY /mount_location vfat defaults 0 0

For that matter you can mount your other windows partitions in the same way, if you so desire.
 
Old 03-19-2005, 05:44 PM   #4
computergee
Member
 
Registered: Feb 2005
Posts: 58

Original Poster
Rep: Reputation: 15
Thanks guys, Ill try that soon.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 10:59 AM
mounting a fat32 partition startingnow Red Hat 2 05-26-2004 10:10 AM
Mounting FAT32 partition? timmyk0 Linux - Newbie 4 09-19-2003 08:22 PM
Mounting the fat32 partition dibyendra Linux - General 13 07-27-2003 02:10 AM
Mounting a Fat32 Partition Qebex Linux - Newbie 9 09-10-2002 05:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:04 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
Open Source Consulting | Domain Registration