You are not logged in.
Pages: 1
Today i tried to use my old floppy drive. I tried to format some floppies with Kfloppy but it says something like:
Internal error: device not correctly defined.
Ideas how to fix this?
Offline
Is the floppy module loaded ?
Offline
oops... typo in modules list corrected 'flopy' to 'floppy'
but still Kfloppy says:
The program fdformat terminated with an error
Offline
can you find out what error? Perhaps try running fdformat on the command line instead of through Kfloppy to see the error.
The suggestion box only accepts patches.
Offline
hmm... i tried it:
root ~ # fdformat /dev/fd0
/dev/fd0: No such device or address
so does this mean that it cant find my floppy device?
EDIT:
i also tried this:
root ~ # mount -t ext2 /dev/fd0 /mnt/floppy/
mount: /dev/fd0 is not a valid block device
Last edited by renecane (2008-02-13 19:09:44)
Offline
Have you restarted since adding floppy to your modules list. If not try
modprobe floppy
Then
ls -l /dev/fd0
to check /dev/fd0 exists
and finally add yourself to the floppy group
gpasswd -a username floppy
You will need to log out and in for your floppy membership to take effect. Then try again.
Last edited by gazj (2008-02-13 19:21:07)
Offline
yes i restarted my computer after that.
ls -l /dev/fd0 pritnts out this:
brw-rw---- 1 root floppy 2, 0 2008-02-13 23:57 /dev/fd0
and i added my user in floppy group but still it does not work. am i doing something wrong here? what should be in my fstab file ?
Offline
Offline
yes i restarted my computer after that.
ls -l /dev/fd0 pritnts out this:
brw-rw---- 1 root floppy 2, 0 2008-02-13 23:57 /dev/fd0and i added my user in floppy group but still it does not work. am i doing something wrong here? what should be in my fstab file ?
My floppy works. Here's the relevant line from my /etc/fstab
/dev/fd0 /media/floppy0 vfat rw,user,noauto 0 0
Offline
Offline
You don't need anything in your fstab to format a floppy with fdformat, in fact I doubt it would work if it was mounted. Make sure it's unmounted before you use fdformat.
You are of course correct.
[david@darkstar ~]$ fdformat /dev/fd0
Double-sided, 80 tracks, 18 sec/track. Total capacity 1440 kB.
Formatting ...
ioctl(FDFMTTRK): Device or resource busy
[david@darkstar ~]$
Offline
Pages: 1