LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 09-04-2003, 12:55 AM   #1
slice4e
Member
 
Registered: Apr 2003
Location: Daytona Beach
Posts: 30

Rep: Reputation: 15
How do I access a FAT partition in Linux


Hello everybody,


I have a dual boot system with XP and Red Hat 9.
I created a FAT partiotion in Windows , because I thought that I will
be able to access it , when I switch to Linux. I put 2 files on it just to see
if I will be able to pull them.

However , now I do not know where to find it and how to access it.
Please give me an advice.
Was that a good idea in the first place?

Thank you for your time and help.

Has anybody installed 3 Operating Systems on the same computer?
Can I put Windows 2003 server in addition to Linux and XP.

Thanks again
Martin
 
Old 09-04-2003, 01:50 AM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
To be able to access files in Linux from a Windows FAT32 partition you need to mount it first - if you havent already done so..

Open a Terminal and type :

su
Then type you root password then type :

mkdir /mnt/windows

Then - open /etc/fstab with:

kedit /etc/fstab

Then - put an entry at the bottom of your /etc/fstab file on a new line - (just substitute in the device name of your Partition in place of my example one)

/dev/hda1 /mnt/windows vfat defaults,umask=000 0 0

Then save fstab and reboot, and check under /mnt/windows to see your files.
 
Old 09-04-2003, 04:25 AM   #3
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
you didn't need to create a separate FAT16 partition in XP, linux can read your entire XP drive usually, although it's a lot easier with FAT32 than NTFS. here's a thread with all the info for FAT32:

http://www.linuxquestions.org/questi...highlight=FAT3
 
Old 09-04-2003, 04:37 AM   #4
karleong
LQ Newbie
 
Registered: Jul 2003
Location: malaysia
Posts: 21

Rep: Reputation: 15
you can use hardware browser to see where your fat partition is.
if it is, example: hda2.
and to access it, type

mount -t vfat /dev/hda2 /root/fat

/root/fat is where the fat partition will be mount,
or u can deside what folder u want to mount for fat partition.
 
Old 09-04-2003, 04:40 AM   #5
PionexUser
Member
 
Registered: Jul 2003
Location: Alaska, USA
Distribution: Red Hat 9
Posts: 179

Rep: Reputation: 30
Quote:
Then - open /etc/fstab with:

kedit /etc/fstab
How do I edit it in RedHat 9?
 
Old 09-04-2003, 04:44 AM   #6
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
i like emacs, a lot of people use vi or vim. your choice really. once you choose, just emacs /etc/fstab

(remember, to make changes you have to be root)
 
Old 09-04-2003, 07:40 AM   #7
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Quote:
How do I edit it in RedHat 9?
Kedit will typically be installed in Red Hat 9 - In general - to edit certain config files - su to root user in a shell then

editor path_to_file

ie for /etc/fstab

kedit /etc/fstab

ie you can use any appropriate editor to edit that particular file - I like kedit but there are others......
 
  


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
accessing fat partition in linux Mickaletto Linux - Newbie 5 11-26-2005 06:12 AM
Linux on a FAT partition? ninjabob7 Linux - General 5 11-12-2005 04:14 PM
Could I create a FAT partition that both WinXP and Linux could read/write to? EOHooligan Linux - General 4 01-25-2005 12:48 PM
what to use to defrag fat 32 partition on Linux only machine? Lakota Linux - General 4 06-21-2004 12:54 PM
Write access on FAT partition by ordinary user Linner Fedora 6 06-17-2004 05:42 AM


All times are GMT -5. The time now is 07:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration