LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-24-2007, 07:41 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Question Unable To Format in Vfat?


I have a removable USB drive that I was attempting to format with fdisk and that all went fine however now I am trying to format the newly created partition on /dev/sdc1 I created.

I did a Google search and some how in Debian (Lenny) I seem to be missing the option to mkfs.vfat or mkfs -t vfat on my system.

The partition is done and labeled via fdisk but how do I format it in Lenny? Am I missing something? I have no GUI so I am looking for CLI only tools.

Thanks!

Code:
tunafish:~# fdisk -l /dev/sdc

Disk /dev/sdc: 79.9 GB, 79999994368 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1        9726    78124063+   b  W95 FAT32
And these are my only options for mkfs in CLI:

Code:
tunafish:~# mkfs
mkfs         mkfs.cramfs  mkfs.ext2    mkfs.ext3    mkfs.minix
Please help!
 
Old 06-24-2007, 08:03 PM   #2
namit
Member
 
Registered: Aug 2005
Distribution: Debian
Posts: 355

Rep: Reputation: 30
just use parted.
 
Old 06-24-2007, 09:13 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
You'll probably need to install dosfstools - I don't use debian, but I'd be surprised if it doesn't have a deb for it.
 
Old 06-24-2007, 11:04 PM   #4
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Hi, have you tried with mkdosfs?? (something like mkdosfs -F 32 /dev/sdc1 ??). This program is indeed provided by the dosfstools package, as syg00 says; should be on Lenny's repositories, I guess (I'm on Ubuntu now, so I'm not sure at all).

Greetings.
 
Old 06-25-2007, 07:40 AM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
I will try and search Lenny repo's for it as these are my only options:

Code:
tunafish:~# mk
mkbimage          mkfifo            mkfs.ext2         mkinitramfs-kpkg  mkpasswd
mkboot            mkfontdir         mkfs.ext3         mklost+found      mkswap
mkdir             mkfontscale       mkfs.minix        mkmanifest        mktemp
mkdirhier         mkfs              mkhtmlindex       mk_modmap         mkzftree
mke2fs            mkfs.cramfs       mkinitramfs       mknod
 
Old 06-25-2007, 10:51 AM   #6
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Like Syg00 said: apt-get install dosfstools
 
Old 06-25-2007, 10:53 AM   #7
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by makuyl
Like Syg00 said: apt-get install dosfstools
Yes - got it in .deb format.
 
  


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
How do you format a partition fat32 (vfat) royeo Linux - Newbie 4 09-06-2006 10:58 AM
trying to format vfat drive +32 Gb bandofmercy Linux - Hardware 5 12-05-2004 10:03 PM
Partition Problem !! (cannot format vfat over 2048 MB) namgor Linux - Software 6 06-29-2004 12:37 PM
Viewing file with chinese name in vfat format drive c24chan Slackware 4 05-13-2004 11:11 AM
Format a vfat partition with Linux... possible? lazlow69 Linux - Newbie 2 03-03-2004 11:50 PM

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

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