Jump to content

Corrected FDISK and FORMAT


Petr

Recommended Posts


  • 3 weeks later...
I still use it exclusively, whether I'm formatting a HD for Winders 98 or Winders XP. :thumbup

speaking of formatting hard drives under XP, Andromeda43, WinXP's disk utilities can only format & partition FAT32 volumes up to 32 Gb. If you want to partition and format FAT32-based drives beyond 32 GB you must use FDISK and FORMAT tools from a Win98 or WinME boot disk.

see these articles on the limitations of FAT32 file system for XP:

http://support.microsoft.com/kb/301340/en-us

http://support.microsoft.com/kb/314463/en-us

Link to comment
Share on other sites

If you want to partition and format FAT32-based drives beyond 32 GB you must use FDISK and FORMAT tools from a Win98 or WinME boot disk.

Yep, or use this FREEWARE OPEN SOURCE utility:

http://www.ridgecrop.demon.co.uk/index.htm?fat32format.htm

Actually, looking back at the Microsoft comment, if I could format the volume myself, all would be OK. Fat32 is pretty simple, so it occured to me to write a fast format routine to do the job.

B)

jaclaz

Link to comment
Share on other sites

great points, Petr. Mr. "patchworks" here doesnt get it. Free FDISK is OUTDATED and cant support HDs beyond 128Gb, hence 48bit LBA support is barely non-existent (or at least buggy) in Free FDISK. And documentation on Free FDISK is kinda lame and does not mention full 48bit LBA support on large HDs.

More good reasons to upgrade it ! :angel

Yep, or use this FREEWARE OPEN SOURCE utility:

http://www.ridgecrop.demon.co.uk/index.htm?fat32format.htm

Cool, never heard it.

Well, this inspired me an idea:

Does someone here remembers the good old 2M, FDFormat or 800 tools ? (check out here or on this dir)

It would be great to have an open source "super format" utility ! :rolleyes:

Edited by patchworks
Link to comment
Share on other sites

It would be great to have an open source "super format" utility !

Well, if it's allright a FREEWARE (not "Open Source") one, we already have it:

http://users.pandora.be/jbosman/applications.html

http://users.pandora.be/jbosman/dcopy.zip

DCOPY is a fast disk copy program for DOS (does not run under Windows NT). It can copy, format, verify and compare floppy disks. It reads almost all disk formats (except XDM). It also supports non-DOS disks. You can also create disk images and automatically zip them.

Please note that due to HAL limitations in the NT structure, it is NOT possible to access tracks beyond 80 on floppy disks under NT/2K/XP/2003, so anything that uses more than that can only be read in DOS (possibly with fdread or other similar program will be needed) or in Linux.

See also this for more info on floppy formats and programs:

http://www.msfn.org/board/index.php?showtopic=81068

jaclaz

Edited by jaclaz
Link to comment
Share on other sites

Well, if it's allright a FREEWARE (not "Open Source") one, we already have it:

http://users.pandora.be/jbosman/applications.html

http://users.pandora.be/jbosman/dcopy.zip

Freeware IS NOT open source...

Btw, i don't think DCOPY can compete with 2M... no other program can ! :ph34r:

Please note that due to HAL limitations in the NT structure, it is NOT possible to access tracks beyond 80 on floppy disks under NT/2K/XP/2003, so anything that uses more than that can only be read in DOS (possibly with fdread or other similar program will be needed) or in Linux.

Even if i really like multiplatform software, i hope to see the "super format" at least on ReactOS (has it the same HAL limits ?)... ;)

Link to comment
Share on other sites

Please note that due to HAL limitations in the NT structure, it is NOT possible to access tracks beyond 80 on floppy disks under NT/2K/XP/2003, so anything that uses more than that can only be read in DOS (possibly with fdread or other similar program will be needed) or in Linux.
Do you have any more details on this? For some reason I think a one-byte patch might be all that's required to make it work... (yes, that's what I'm planning to do if it's an easy fix)
Link to comment
Share on other sites

Do you have any more details on this? For some reason I think a one-byte patch might be all that's required to make it work... (yes, that's what I'm planning to do if it's an easy fix)

The problem should be within the Floppy Disk Driver, which, if I am not mistaken, is flpydisk.sys.

There is also the fdc.sys, maybe is this latter the culprit.

Have a look at this:

http://support.microsoft.com/kb/321697/en-us

The following registry override was provided to force Fdc.sys to physically probe the floppy drives to determine whether the floppy drives actually exist or whether they are only virtual drives. If they are virtual drives, it does not report them.

However, because of a bug in the Fdc.sys driver, this override value does not go into effect.

Therefore, it is not useful.

:w00t::P:no:

Basically you need to write a new (or patch the existing) driver.

Maybe you can have some ideas "peeking" in the Source code for the XP 1.44 unconditional formatter:

http://www.denispetrov.com/?page_id=3

though I cannot say if it uses "low-level" instructions or not.

Another thing that might be an obstacle is WFP , cannot say if the driver is one of the protected files or not.

jaclaz

Edited by jaclaz
Link to comment
Share on other sites

Do you have any more details on this? For some reason I think a one-byte patch might be all that's required to make it work... (yes, that's what I'm planning to do if it's an easy fix)

The problem should be within the Floppy Disk Driver, which, if I am not mistaken, is flpydisk.sys.

There is also the fdc.sys, maybe is this latter the culprit.

Have a look at this:

http://support.microsoft.com/kb/321697/en-us

The following registry override was provided to force Fdc.sys to physically probe the floppy drives to determine whether the floppy drives actually exist or whether they are only virtual drives. If they are virtual drives, it does not report them.

However, because of a bug in the Fdc.sys driver, this override value does not go into effect.

Therefore, it is not useful.

:w00t::P:no:

Basically you need to write a new (or patch the existing) driver.

Maybe you can have some ideas "peeking" in the Source code for the XP 1.44 unconditional formatter:

http://www.denispetrov.com/?page_id=3

though I cannot say if it uses "low-level" instructions or not.

Another thing that might be an obstacle is WFP , cannot say if the driver is one of the protected files or not.

jaclaz

WFP isn't anything near an obstacle. Maybe a slight annoyance.

I'll keep those filenames in mind.

Link to comment
Share on other sites

Is there any chance of localizing the new fdisk and format files without an hexeditor? ;)
...why don't you learn how to use a hex editor. A lot more useful than you think. Edited by LLXX
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...