Advertisement

Mounting my Fat32 Partition?

Started by December 24, 2003 10:52 PM
10 comments, last by 31337 20 years, 8 months ago
I''m trying to code, and I can''t do it without listening to my rocking music collection How do I mount my FAT32 partition in redhat? I did it under FreeBSD by editing my fstab file (which seems to exist for redhat as well). Here''s what I''ve been trying: mount -t vfat /hda/hd0/ /ms/ mount -t msdos /hda/hd0/ /ms/ And here''s what they say: /hda/hd0 does not exist My FAT32 partition is my primary one, how do I find out what to reference it as? Everywhere I look people are using different ones, all of which don''t work for me. Also, what is the difference between vfat and msdos? I''ve read the man page and it seems to fail to differentiate between the two. Thanks
OpenGL Revolutions http://students.hightechhigh.org/~jjensen/
Your hard drive''s "block device" (the imaginary system file which represents your drive, or to be more exact, your partition) which you want is probably /dev/hda1. All block devices are found in /dev and hd means hard drive, a means the first hard drive and 1 means the first partition.
The command
fdisk -l
lists your partitions, the assosiated block devices and their formats.

The official zorx website
Zorx (a Puzzle Bobble clone)Discontinuity (an animation system for POV-Ray)
Advertisement
When I try mount -t vfat /dev/hda1 /ms/ OR mount -t msdos /dev/hda1 /ms/ it says:

mount: wrong fs type, bad option, bad superblock on /dev/hda1, or too many mounted file systems.

What do I do?
OpenGL Revolutions http://students.hightechhigh.org/~jjensen/
Find out which partition actually has Windows on it. fdisk can tell you.
I can''t run fdisk. When I type in fdisk in bash bash goes, "What are you? On drugs?"
OpenGL Revolutions http://students.hightechhigh.org/~jjensen/
quote: Original post by 31337
I can''t run fdisk. When I type in fdisk in bash bash goes, "What are you? On drugs?"


Huh ? Have you tried it as root ?
"THE INFORMATION CONTAINED IN THIS REPORT IS CLASSIFIED; DO NOT GO TO FOX NEWS TO READ OR OBTAIN A COPY." , the pentagon
Advertisement
Why would fdisk ever say something so silly? Is it an alias or a script?
Also, are you sure that your partition is fat32? You can try using ntfs or autofs instead of vfat.
Edit your /etc/fstab file so that these partitions are automatically mounted. See man mount.
First, type this into bash:
$ fdisk /dev/hda
And hit ''p''. It will give you the full partition map. Figure out which ones are the Windows and what exactly the filesystem is. Work from there.
SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.

This topic is closed to new replies.

Advertisement