Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mount FAT32 partition

Status
Not open for further replies.

bradcom

ISP
Aug 12, 2003
17
CA
Hi there,

I have a dual boot system, and I want to have a FAT32 partition that I can view over both Fedora and Windows. The problem is that I don't know how to mount the FAT32 partition. I've found documentation on how to use the mount command, but I need to know the hda# of the partition. For instance, I think I can do this ...

mount -t vfat /dev/hda1 /mnt

but that would only work if the FAT32 partition was hda1 (I think that's how it works any way??). Does anyone know how I can find out which hda# it is?
Any advice would be appreciated.
 
As root, run:
fdisk -l
Look for the the ones that say 'Win95 Ext'd' or similar (may say 'HPFS/NTFS' if you're running Windows XP).

If you describe your setup a bit, we can probably help you figure it out. What version of Windows (the one that crashes daily or just randomly?), how many harddrives, hardware interface (scsi or ide?), and any custom partitioning you may have done.

----
JBR
 
Thanks for the help flugh ....

I had actually already tried using fdisk, but it didn't let me use it. Based on your post, I logged out and logged back in as "root", and fdisk works. Here is the output

/dev/hda1 * 1 3962 31824733+ 7 HPFS/NTFS
/dev/hda2 4094 4932 6739267+ 83 Linux
/dev/hda3 4933 4997 522112+ 82 Linux swap
/dev/hda4 3963 4093 1052257+ f Win95 Ext'd (LBA)
/dev/hda5 3963 4093 1052226 b Win95 FAT32

To answer your questions:
- "just randomly" (WinXP)
- 1 hard drive
- ide
- I have one big WinXP partition (which might disapear in the near future), one Linux Partition (approx 6.5 gigs), and a 1 gig FAT32 partition. Plus I made a swap partition when installing Fedora.
.... I don't exactly understand why it shows hda4, and hda5 above?? I only created 1 FAT32 partition. I assume I should mount one of those?
Thanks again for your help.
 
It looks like /dev/hda4 is an extended partition, and /dev/hda5
is a logical partition that sits on top of it.

If that's the case, then /dev/hda5 is the one to mount.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top