×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Need help mounting a FAT filesystem

Need help mounting a FAT filesystem

Need help mounting a FAT filesystem

(OP)
I have a red hat Linux OS
Linux 2.4.7-10
I am attempting to mount a files system that is on a hard drive I formatted on a windows machine.
I have gnome running ( not so sure I like it as I am a SUNOS kinda guy).
In the system settings/hardware browser I see some thing like this

/dev/hdb
-       1         1            <1              Free space
-hdb1    1      14881      117246    FAT
-       15882  15882      <1           Free Space

So I now know that the OS/Bios sees the hard drive and has given it a name of /dev/hdb1
I created a directory called music on the root filesystem for a mount point.

In a terminal session window I have attempted a few commands to manually mount this filesystem. I am assuming that when I get the mount command correct I can update /etc/fstab so this filesystem will mount each time I boot.

Here are a couple of my attempts

[root@localhost  /] mount -t vfat /dev/hdb1 /music
mount: wrong fs type, bad option, bad superblock on /devhdb1,
             or too many mounted file systems

[root@localhost  /] mount /dev/hdb1 /music
mount: wrong fs type, bad option, bad superblock on /devhdb1,
             or too many mounted file systems

I have also tried msdos,umsdos,fat,and FAT, and yes I did look up the man pages which lists all the possible types, and although fat and FAT were not there i tried them because the hardware browsers lists the filesystem type as FAT. (see above).

Since this is a fairly new install I don't suspect too many mounted file systems, but I guess it could be, not sure how to check.

I will have other questions once I get this mounted, but I'll save that for a new thread.

Any light that can be shed would be great,

As always I thank you for your support

As always we thank you for your support
Doug

RE: Need help mounting a FAT filesystem

I think you would want to allow for it possibly being NTFS type.

I think the easiest way to assure yourself would be to view what the OS thinks it is...

fdisk -l /dev/hdb

I assumed that your first section of output is using that same information, but this will help.  I don't know if fat/vfat and NTFS will appear the same.  Generally fdisk can tell the difference.

Conversely you could boot up the windows OS on that box and ask Windows what it thinks the partition type is.

D.E.R. Management - IT Project Management Consulting
http://www.dermanagement.com/

RE: Need help mounting a FAT filesystem

(OP)
When I run fdisk -l /dev/hdb I see that the system thinks this is win95 fat32, so I am still at square one, or maybe I need to put this disk on a windows system and reformat to ntfs.

Or maybe, i need to find a better way to store files and give access to windows users.

I'll keep trying , thx

As always we thank you for your support
Doug

RE: Need help mounting a FAT filesystem

(OP)
I tried your link and got the page but no text in it.
So anyway still trying to mount this FAT filesystem on a linux machine, no luck

As always we thank you for your support
Doug

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close