How to vfat format a floppy? (SOLVED)

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

How to vfat format a floppy? (SOLVED)

#1 Post by sunburnt »

I've looked at mkdosfs & couldn't figure out how to make a 1.44 vfat floppy.
I've posted LanPuppy & EtherBoot-net, a client PC's PXE boot floppy.
It dawned on me that the floppy maker would be great as a DotPup package.
The DotPup would first format the floppy, & then put the EtherBoot image on it.

Could someone post the complete code to partition the floppy (if that's even needed).
And then make the vfat file system on it with the tools that Puppy 1 has?
Last edited by sunburnt on Sun 30 Jul 2006, 07:14, edited 1 time in total.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#2 Post by muggins »

sunburnt,

couldn't you modify barry's floppy-format.sh, in /usr/sbin? the relevant line has "mkfs.msdos -c /dev/fd0u$1", so i assume that, (posting this without actually trying on a floppy!), on a commandline typing "mkfs.msdos -c /dev/fd0" would work.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#3 Post by sunburnt »

muggins; I never saw that file, thanks for pointing it out to me, I'll try it out... THANKS.

Jesse
Posts: 466
Joined: Sun 08 May 2005, 16:07
Location: Auckland, NZ

#4 Post by Jesse »

Hi,
There is a 'wizard' in the menu option:
Menu-> Utilities -> Format Floppy Disk
Maybe that does what you want?
Jesse

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#5 Post by muggins »

sunburnt,

it will only format the floppy as dos. if you want it bootable you'd have to copy a freedos image, using dd or cat, to /dev/fd0.

http://www.ibiblio.org/pub/micro/pc-stu ... os1440.img

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#6 Post by sunburnt »

Thanks again mugguns for pointing that out to me
I learned alot from Barry's code (as usual).

I finished & posted the package: MakePxeBootFloppy.pup
It's the etherboot PXE image to network boot a LanPuppy PC by floppy disk.

rodb
Posts: 19
Joined: Thu 02 Mar 2006, 21:32

#7 Post by rodb »

the term vfat applies only to hard drives - floppies are specifically formatted as fat12 due to their small size. drives up to 32 meg ( i think, pardon my laziness not to do the math) are formattable as fat16 (or fat, in common terms). only to accomodate bigger and bigger hard drives did windows ( as in windows 95B !) start using vfat, i.e., fat32. will we ever see fat64? not likely, ms wants us to use ntfs!

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#8 Post by sunburnt »

rodb; Somewhere in there starts long file name support, I thought it was fat32 or vfat that did.
That was my main concern, as I've mistakenly made floppys with only DOS (8.3) names.

rodb
Posts: 19
Joined: Thu 02 Mar 2006, 21:32

vfat

#9 Post by rodb »

good point, but i am quite sure that win95 came with lfn support from the very beginning - well before vfat/fat32 ( i.e., in win95b!)
but it is just an overlay - you can access all files by the standard 6 letters, then '~', then digit, then '.', then 3-character extension, i.e 8.3 format - readability is the only loss, and 8-3 is the fundamental filename thoughtout win9x

Post Reply