LinuxQuestions.org
Help answer threads with 0 replies.
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 09-26-2004, 11:36 AM   #1
booboo808
LQ Newbie
 
Registered: Sep 2004
Distribution: Fedora Core 4
Posts: 19

Rep: Reputation: 0
HELP! I can't get Linux to recognize my FAT32 partition.


Hello Linux Gurus!

I am a first time Linux user (Red Hat) and am having issues running X Windows properly. I have a Radeon 9800 pro and am almost sure that I just need to update the driver. On my Windows hard drive I have the correct driver, but am having trouble accessing it through Linux. I am pretty sure I should be using the following to access a FAT32 partition:

mount -t vfat /dev/hda3 /mnt/windows

I have 2 hard drives, the firsct has a primary partition for windows XP, and another vitrual drive I use. I tried creating a FAT32 partition with the Disk Managment tool in Windows, but I can only create a logical drive, not an actual partition. With the logical drive the above command won't work.

Remeber, all I need to do at this point is access the driver file I downloaded with windows in linux so I can install. Note: linux is installed on it's own separate hard drive.

PLEASE, help in anyway possible. I have been pulling my hair out trying to get Linux up and running correctly. And remeber, I'm a linux noobie, so post solutions accordingly.

Thanks, Tom

EDIT: Maybe what I need is a method to correctly create a FAT32 partittion out of windows....because all I can do with the Disk Management tool is create logical drives.

Last edited by booboo808; 09-26-2004 at 11:43 AM.
 
Old 09-26-2004, 12:19 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

what error are u getting by doing the same???

it will be helpfull if u post the same???

regards
 
Old 09-26-2004, 12:59 PM   #3
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Are you trying to mount as root? You have to unless the permissions are loosened for mounting. Are you sure you pointed to the right partition? Does your kernel have vfat support loaded?(try modprobe vfat).
 
Old 09-26-2004, 01:21 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
A logical drive (AKA logical partition) is accessible by linux.

In a nutshell, extended, logical partitions were created in order to break the 4 partition limit. An extended partition is a container for logical partitions.

http://www.linuxhq.com/guides/SAG/x885.html

It appears that you have more then one logical partition. To see how the drive is partition log in as root and type in the command:
fdisk -l /dev/hda

Logical partitions have a device ID >=5. It is typical for windows to create additional drives as logicals. So:
/dev/hda1 - c:
/dev/hda2 - extended (Remember it is only a container for the logicals)
/dev/hda5 - d:
/dev/hda6 - e:

You first need to create a mount point.
mkdir /mnt/win_e (for example)
mount -t vfat /dev/hda6 /mnt/win_e (to mount the partition)

Last edited by michaelk; 09-26-2004 at 01:24 PM.
 
Old 09-26-2004, 01:40 PM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

First of all you need to see which partition you want to mount
YOU can see that by running the following command at bash# prompt

#fdisk /dev/hda

If your hard disk is use

Primary master hda
Primary slave hdb
Secondary master hdc
Secondary slave hdd

If you use wrong device then you may get error message such as
"Cannot open device hdc"
If command is successful you get

[root@gaurav qmail]# fdisk /dev/hda

The number of cylinders for this disk is set to 4865.
There is nothing wrong with that, but this is larger than 1024,
And could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help):


At this prompt run ‘p’ single character to see your partition table

Here is the result of my partition table


Command (m for help): p

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 561 4506201 b Win95 FAT32
/dev/hda2 562 3939 27133785 f Win95 Ext'd (LBA)
/dev/hda3 3940 4385 3582495 a5 FreeBSD
/dev/hda4 4386 4865 3855600 83 Linux
/dev/hda5 562 1096 4297356 7 HPFS/NTFS
/dev/hda6 1097 1606 4096543+ b Win95 FAT32
/dev/hda7 1607 3008 11261533+ b Win95 FAT32
/dev/hda8 3009 3872 6940048+ b Win95 FAT32
/dev/hda9 3873 3939 538146 b Win95 FAT32


You can easily recognize which drive you want to mount
Here I have my windows partitions as

devices Windows Partitions

/dev/hda1 C
/dev/hda5 D
/dev/hda6 E
/dev/hda7 F
/dev/hda8 G
/dev/hda9 H


Do not confuse with /dev/hda2
It is my extended partition you cannot mount that whole partition but you can only mount the logical drives in this partition

Here say if I want mount my E drive in Linux
I need to have an empty folder somewhere to mount.
We can make a folder anywhere but as going by the convention we make all the folders and mount them in
/mnt folder
So, go to the mnt folder under root directory
Make a new folder in mnt directory say win_e

If you want to mount it temporarily (till the system is running)
You can mount it by the following command

#mount /dev/hda6 /mnt/win_e

The syntax of the command is easy to interpret
/dev/hda6 gives the device you want to mount
/mnt/win_e gives the path of folder you want to



the above was a exrtract from the doc. at my LUG,hope u get some help

regards
 
  


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
Windows won't recognize fat32 partition mngmd Linux - Hardware 7 10-27-2005 08:54 AM
WinXP will _NOT_ recognize fat32 partition gauntalus Linux - Software 2 12-24-2004 10:45 PM
Linux doesn't recognize a fat32 partition soldeace Linux - General 5 12-04-2004 05:27 PM
Help:(linux can mount the fat32 correctly,but dos can't recognize the partition.) zhgjerry Red Hat 11 03-30-2004 09:23 AM
Help me:(linux can mount the fat32 correctly,but dos can't recognize the partition.) zhgjerry Arch 2 03-19-2004 07:41 AM

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

All times are GMT -5. The time now is 05:13 PM.

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