Hi,

I am unable to format a harddisk partition after a reboot (the problem occurrs in a Linux dosemu box and on real hardware), here is the version information of the FreeDOS kernel:

FreeDOS kernel version 1.1.35w (Build 2035w-UNSTABLE, Sep 27 2004)
Kernel compatibility 7.10 - WATCOMC - FAT32 support


When trying to format a harddisk partition with format 0.91s I get the following error message:


A:\>format c: /u /q

WARNING: ALL DATA ON NON-REMOVABLE DISK
DRIVE C: WILL BE LOST! PLEASE CONFIRM!
Proceed with format (YES/NO)? YES
Disk size: 50 Mbytes, FAT16. ***
Please enter volume label (max. 11 chars):
QuickFormatting (only flushing metadata)
Warning: Resets bad cluster marks if any.
Drive_IO( command=WRITE sector=0 count=1 ) [FAT12/16] [drive C*]

Critical error encountered while using DOS disk driver
DOS driver error (hex): 01
  Description: unknown unit for driver
Program terminated.
[Code 129]


It seems that FreeDOS hasn't initialized some disk parameter block, because if I access the harddisk before trying to format it (i.e. "dir c:"), the format works:


A:\>format c: /u /q

WARNING: ALL DATA ON NON-REMOVABLE DISK
DRIVE C: WILL BE LOST! PLEASE CONFIRM!
Proceed with format (YES/NO)? YES
Disk size: 50 Mbytes, FAT16. ***
Please enter volume label (max. 11 chars):
QuickFormatting (only flushing metadata)
Warning: Resets bad cluster marks if any.
Preparing FAT area...
100 percent completed.

QuickFormat complete.

   52,706,304  bytes total disk space (disk size)
   52,584,448  bytes available on disk (free clusters)

        2,048  bytes in each allocation unit.
       25,676 allocation units on disk.

Volume Serial Number is 3725-12EA


Does anyone have an idea?


bye, Christof


------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Freedos-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to