can't format a dos-formatted floppy disk

can't format a dos-formatted floppy disk

Post by fred smit » Mon, 18 Oct 1999 04:00:00



: Does anybody know ,how to format a DOS-formatted 3.5 inches 1.44M floppy
: diskette
: I have runned such command(as root) in REDHAT 6.0:
: # fdformat /dev/fd0H1440
: But got "CRC error ........" ,why ?

Here's a shellscript I wrote (it's an ugly hack, but it does the job)
a few years ago to to both a Low-Level format and then to put a DOS
filesystem on a diskette. If you save the script as "dosformat" you
would then invoke it as:

        dosformat /dev/fd0H1440

or whatever the device is you're formatting. it assumes you've got
mkdosfs on your system (it came with mine).

Fred
-----------------------------------------------------------------------
#!/bin/sh

# low-level format a diskette and write a validated DOS filesystem on it.

fdformat -n $1
if [ $? = 0 ]
        then
#echo open drive, close it, press ENTER...
#read kb
        /sbin/mkdosfs -vc $1
else
        echo Format failed!
fi

echo
echo done...
echo format another?
read kb
case $kb in
        y|Y)
                exec $0 $*
                ;;
        *)
                ;;
esac
-----------------------------------------------------------------------

--

    "Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of
     heaven, but only he who does the will of my Father who is in heaven."
------------------------------ Matthew 7:21 (niv) -----------------------------

 
 
 

1. SLS's a2-disk - DOS-formatted or raw-formatted??

I am confused. I don't know if for the SLS installation I need to have
disk-a2 raw-formatted (as disk-a1) or DOS-formatted.
Currently, I have it DOS-formatted having the following:

   BIN4     TGZ    161664 07-25-93   2:47a
   DISKA2             896 07-25-93   2:47a
   DOSEMU   TGZ    157568 07-25-93   2:53a
   FAQ      TAR     92160 07-25-93   2:57a
   IMAGE    TGZ    257280 07-25-93   3:06a
   LILO     TGZ     63360 07-25-93   3:08a
   SC       TGZ     90880 07-25-93   3:12a
   SHLIBS   TGZ    125184 07-25-93   3:16a
   TERM107  TGZ    131968 07-25-93   3:21a
           9 file(s)    1080960 bytes
                         131584 bytes free

.. but it failed to satistfy the 'doinstall' procedure.

In the -  "Answers to FAQ about Linux" -FAQ- Version 1.18 - it says

on 5.2.1 (page 27):
  "The Softlanding Linux System Release ......
   The first disk must be "rawriteen" (using rawrite.exe) on the floppy
   and the rest of the images are put onto DOS format floppies."
and on page 29:
   "The files in the a2,a3 and a4 directories. These must be copied to
   MS-DOS formatted floppies."

B U T  in 5.2.5 (page 31):
  "For the SLS release, ......
   You need the README's there. Basically, you use rawrite to copy
   thae a1 and a2 images onto floppies.

          ?  ?  ?  ?  ?  ?  ?  ?  ?  ?  ?  ?  ?  ?  ?  ?
          W h a t   i s  t h e   r i g h t   a n s w e r
          ?  ?  ?  ?  ?  ?  ?  ?  ?  ?  ?  ?  ?  ?  ?  ?


Many thanks! yotam

2. 486 upgrade experiences requested

3. Hard Disk problem- can't change the ext format back to fat format!

4. motherboard for Linux system

5. Toolkits

6. Reading files off a DOS formatted floppy disk

7. How to mount a floppy disk of DOS format?

8. DOS format floppy disk driver mount problem

9. How to format a floppy in ext2 format ?

10. Howto change files in Dos format to Linux format

11. Program to convert Unix file format to DOS / Windows format.