LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-05-2011, 09:41 AM   #1
spudgunner
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 229

Rep: Reputation: 20
Need help creating and mounting FAT32 systems


For some reason I have trouble creating and mounting FAT partitions. Whenever I try to create one using mkfs, I'm told that mkfs.vfat doesn't existing (although I can create FAT partitions using fdisk). When I try to mount FAT partitions (whether creating on my machine or not), I've tried using:

Code:
mount -t vfat ...
and

Code:
mount -t msdos ...
(with correct permissions, selecting the correct drive, etc.), and it tells me that I've chosen an incorrect file system.

Any suggestions?
 
Old 02-05-2011, 10:12 AM   #2
tux_dude
Member
 
Registered: Dec 2008
Distribution: Slackware64 Current
Posts: 278

Rep: Reputation: 41
You need dosfstools to for FAT drives. fdisk only creates the partition. The disk is still not usable until it is formatted.
 
Old 02-05-2011, 10:13 AM   #3
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Rep: Reputation: 129Reputation: 129
after you created your fat partition you need
to format it with
Code:
mkdosfs /dev/sdz1
you should replace '/dev/sdz1' by the actual
name of your fat partition (e.g., /dev/sda1, /dev/sdb3, ...)

I usually run it with '-F 32' option (for vfat 32):
Code:
mkdosfs -F 32 /dev/sdb1
 
Old 02-05-2011, 10:17 AM   #4
spudgunner
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 229

Original Poster
Rep: Reputation: 20
Thanks for the reply, that worked perfectly!
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating and mounting FAT32 partition Maverick1182 Linux - Newbie 5 07-04-2006 05:28 PM
creating fat32 help please fakie_flip Linux - Software 2 10-02-2005 03:20 AM
how to defrag fat32 file systems with linux? Lakota Linux - Software 1 07-12-2005 06:19 PM
mounting FAT (not FAT32) file systems w/ 2.4 kernel timsch75 Linux - General 6 11-16-2004 05:17 PM
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 10:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:24 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