LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-01-2003, 04:00 AM   #1
SticklerThe1st
Member
 
Registered: Apr 2002
Location: Missouri
Distribution: Slackware 8.0
Posts: 46

Rep: Reputation: 15
mkfs help


Hello
Im having a problem formating my secondary 40 gig hard drive to use the fat32 filesystem.

It was EXT3 until I needed to use it for a backup hard drive for linux and windows, so I decided to convert it over.

After I backed up about 20 gigs onto cdr's I was ready to begin.

I figured it would be easy; Windows 98 had no problem formatting it to fat32 before, but this time I was using Windows 2000 - no big problem, it has a command prompt.

After waiting for it to format it decided to tell me the hard drive is to big and I should use NTFS, which is crap because linux can't write to NTFS well and windows 98 had no problem with 'the hard drive being to big' for fat32.

I was stumped, I decided to do the only thing I knew how to do - reboot into slackware and let it do the work.

I typed mkfs then hit [tab] to see the choices. Nope, no fat32. msdos,ext, bfs, no fat32.

Maybe it will work manually I thought
cfdisk /dev/hdb
Turned it into a fat32 partition.
then mkefs -t fat32 /dev/hdb1
mke2fs 1.22, 22-Jun-2001 for EXT2 FS 0.5b, 95/08/09
mke2fs: bad blocks count - /dev/hdb1

Oh, burn.
After I went in a fit of rage and accidently rm -rf'ed /mnt/win2000
I decided to come here and ask: What should I do? Can it be this hard?
I searched sourceforge and freshmeat and found no program to format a disk to fat32.

Note: I have no floppy drive. a bootdisk is out of the question.
 
Old 01-01-2003, 05:02 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69


From my search on google for format fat32 I found this:
http://www.pjrc.com/tech/mp3/docs/hd_setup_linux.html

Basically it looks like you'll need:
mkdosfs
Which if you don't have can be downloaded in RPM format here:
http://www.rpmfind.net//linux/RPM/co....4-4.i386.html

Then I'd use rpm2tgz to convert it to a tarball, and then install it.

HTH

Cool
 
Old 01-01-2003, 05:23 AM   #3
SticklerThe1st
Member
 
Registered: Apr 2002
Location: Missouri
Distribution: Slackware 8.0
Posts: 46

Original Poster
Rep: Reputation: 15
Excellent!
Thank you very much.
I noticed I had mkdosfs, and tried it, but it didn't work
However
I wasen't using -F 32 flag mentioned in the howto you showed me, but when I did it worked flawlessly.

thanks agian for your help
 
Old 01-01-2003, 05:45 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Sweet! You're welcome
 
  


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
mkfs blackzone Linux - Newbie 1 01-06-2005 11:52 PM
mkfs after fdisk? blackzone Linux - Newbie 1 01-06-2005 11:50 PM
mkfs.vfat GlobShim Linux - General 2 03-28-2004 02:56 PM
mkfs problem kaltag Linux - General 1 01-26-2004 09:27 PM
mkfs bmike1 Linux - Software 1 08-06-2003 01:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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