Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Debian Linux Help > Mounting a FAT32 filesystem

Forgot Password?
 Debian Linux Help   Discussions related to Debian GNU/Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 08-03-2005   #1 (permalink)
Linux Engineer
 
Javasnob's Avatar
 
Join Date: Jul 2005
Location: Wisconsin
Posts: 942
Mounting a FAT32 filesystem

Hey everyone, I'm trying to mount my portable USB drive, which has been formatted in FAT32. When I try the command below, bash tells me that it doesn't recognize format FAT32.

mount -t fat32 /dev/usb/ /mnt/

Is it possible to mount such a filesystem, and if so, how? I'd also like to know the method for NTFS as well please.

Thank you very much!
Javasnob is offline  



Reply With Quote
Old 08-03-2005   #2 (permalink)
Just Joined!
 
Join Date: Jan 2005
Location: Topeka, KS, USA
Posts: 88
Try vfat
ericrun is offline   Reply With Quote
Old 08-03-2005   #3 (permalink)
Just Joined!
 
Join Date: Jan 2005
Location: Topeka, KS, USA
Posts: 88
Oh, and you'll probably need to add the umask=000 option to make sure you can read and write to the device. And you'll want to make an empty folder in /mnt/ because you have to mount in an empty folder, and /mnt/ is typically where those folders go, so you might want to use /mnt/usb/ after you've run mkdir /mnt/usb
ericrun is offline   Reply With Quote
Old 08-03-2005   #4 (permalink)
Just Joined!
 
Join Date: Jun 2005
Posts: 54
Mounting NTFS is pretty much as you would expect. Note however that your kernel must have NTFS support. You could probably download and install some package from the web which will enable you to do so. Anyway, if you have one HD (hda) and have dual boot windows xp with some distro of Linux, then windows xp will probably be hda1 and Linux will be hda2. So mounting will look like this:

Note you have to create the directory 'windows'

Code:
mount /dev/hda1 /mnt/windows
There is no need (i don't think) to specify the '-t ntfs' if your kernel supports it. I've never done so anyway as far as I can remember.

Also, are you sure you are mounting your usb drive correctly? Is it not suppose to be /dev/sda1?

Code:
mount /dev/sda1 /mnt/usbdrive
Hope that helps, if only a little :P
tommo is offline   Reply With Quote
Old 08-03-2005   #5 (permalink)
Linux Engineer
 
Javasnob's Avatar
 
Join Date: Jul 2005
Location: Wisconsin
Posts: 942
I got support for the filesystems, but yes, /dev/usb/ seems to be the wrong one. I thought /dev/sda1/ was a SCSI harddrive though? Does anyone know what device corresponds to a portable USB drive?
Javasnob is offline   Reply With Quote
Old 08-03-2005   #6 (permalink)
Just Joined!
 
Join Date: Sep 2004
Posts: 54
Send a message via Yahoo to cedar
/dev/sda1 is my USB drive designation...don't know why but that's what it is
cedar is offline   Reply With Quote
Old 08-04-2005   #7 (permalink)
Just Joined!
 
Join Date: Jan 2005
Location: Topeka, KS, USA
Posts: 88
I have 2 SATA harddrives, and they are /dev/sda and dev/sdb, and my usb is /dev/sdc, sorry I didn't catch that when I first responded. The sd disignation is for SCSI disks, and Linux recognizes SATA and USB storage as SCSI, maybe SCSI in Linux is for everything but IDE?
ericrun is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 02:06 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1