fdformat /dev/fd0 (Red Hat 5.0)

fdformat /dev/fd0 (Red Hat 5.0)

Post by Jimmy Navarr » Mon, 14 Sep 1998 04:00:00



I use RedHat5.0.  I'm trying to format 1.44k diskette with:

fdformat /dev/fd0  <carriage RETURN>

Double-sided, 80 tracks, 18 sec/track. Total capacity 1440 kB.
Formatting ...
ioctl(FDFMTTRK): Device or resource busy

I guess the "fdformat" process failed but still tried afterwards:

mkfs msdos <RETURN> to make in DOS format but error returned:

mke2fs 1.10, 24-Apr-97 for EXT2 FS 0.5b, 95/08/09
Could not stat msdos --- No such file or directory
The device apparently does not exist; did yo specify it correctly?
---
I want to format 1.44kB floppy in DOS while in Linux RH5.0 but would
like to know how to do Linux formatted 1.44kB as well.  Anyway can
help?  Thanks, if I can get direct e-mail reply.  Watch out my
anti-spam, please remove "extra" from my e-mail address.

--
If in case your e-mail bounced, please remove "extra" from my e-mail
address.

 
 
 

fdformat /dev/fd0 (Red Hat 5.0)

Post by Perry Pi » Mon, 14 Sep 1998 04:00:00


You need to install an rpm called mkdosfs. It should be on your Redhat
Cd, or get it at the Rehdat ftp site.

> I use RedHat5.0.  I'm trying to format 1.44k diskette with:

> fdformat /dev/fd0  <carriage RETURN>

> Double-sided, 80 tracks, 18 sec/track. Total capacity 1440 kB.
> Formatting ...
> ioctl(FDFMTTRK): Device or resource busy

> I guess the "fdformat" process failed but still tried afterwards:

> mkfs msdos <RETURN> to make in DOS format but error returned:

> mke2fs 1.10, 24-Apr-97 for EXT2 FS 0.5b, 95/08/09
> Could not stat msdos --- No such file or directory
> The device apparently does not exist; did yo specify it correctly?
> ---
> I want to format 1.44kB floppy in DOS while in Linux RH5.0 but would
> like to know how to do Linux formatted 1.44kB as well.  Anyway can
> help?  Thanks, if I can get direct e-mail reply.  Watch out my
> anti-spam, please remove "extra" from my e-mail address.

> --
> If in case your e-mail bounced, please remove "extra" from my e-mail
> address.


 
 
 

fdformat /dev/fd0 (Red Hat 5.0)

Post by Brian McCaule » Tue, 15 Sep 1998 04:00:00



> fdformat /dev/fd0  <carriage RETURN>

> Double-sided, 80 tracks, 18 sec/track. Total capacity 1440 kB.
> Formatting ...
> ioctl(FDFMTTRK): Device or resource busy

Are you sure nothing else has the floppy open?  Are you sure it's not
mounted?

Have you tried /dev/fd0h1440 ?

Quote:> mkfs msdos <RETURN> to make in DOS format but error returned:

Correct syntax is:

mkfs -t msdos /dev/fd0

This only works if you have mkfs.msdos installed - I don't know if RH
has it.  If your mkfs doesn't support msdos then you can use mformat.

Quote:> I want to format 1.44kB floppy in DOS while in Linux RH5.0 but would
> like to know how to do Linux formatted 1.44kB as well.

Just change the filesystem type in mkfs.

--

  .  _\\__[oo   faeces from    | Phones: +44 121 471 3789 (home)

 .  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
  # ll  l\\  ~~~~ ~   ~ ~    ~ | http://www.wcl.bham.ac.uk/~bam/
 ###LL  LL\\ (Brian McCauley)  |

 
 
 

1. mcopy didn't work in Red Hat until `# chmod o+w /dev/fd0'

Until I changed (as root) the permissions on /dev/fd0, only root could
write to a floppy with mcopy.  Took me a while to figure out that was
the problem, because anyone could read floppies (with mdir, or `mcopy
a:* .').  Is there a reason for /dev/fd0 being only root-writable, or
it it a Red Hat bug?

2. re rs504c patch. solved

3. can 'fdformat /dev/fd0' destroy drive ?

4. ADSL connection configuration - router/nat configuration

5. how to boot from /dev/fd0 and mount /dev/fd0 as root

6. >Entrepreneurs Needed

7. Red Hat 5.0 vs. Red Hat 5.1

8. internet and modem

9. Red Hat 7.1 - Installing Red Hat packages after Red Hat is already installed.

10. /dev/fd0 /dev/fd1 /dev/scd0 problems

11. Install Redhat 5.0 Lilo - /dev/fd0 not shown

12. trouble mounting /dev/floppy or /dev/fd0

13. automount /dev/fd0 and /dev/cdrom ?