-   Linux - Newbie (
-   -   How do I access a FAT partition in Linux (

slice4e 09-03-2003 11:55 PM

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

Skyline 09-04-2003 12:50 AM

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 :

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.

mcd 09-04-2003 03:25 AM

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:

karleong 09-04-2003 03:37 AM

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.

PionexUser 09-04-2003 03:40 AM


Then - open /etc/fstab with:

kedit /etc/fstab
How do I edit it in RedHat 9?

mcd 09-04-2003 03:44 AM

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)

Skyline 09-04-2003 06:40 AM


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......

All times are GMT -5. The time now is 05:30 AM.