LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-14-2006, 10:31 PM   #1
Snump
Member
 
Registered: Sep 2004
Location: Pennsylvania, USA
Distribution: Trying to decide
Posts: 229

Rep: Reputation: 30
Question Can't Copy to a Floppy


I know floppy disks are out of date, but for various reasons I have to use them.

When I try copying a file from any folder, to the floppy, it starts, transfers about 20k and then stalls. I can let it sit for hours and nothing happens. The drive light is on, the motor is moving, but nothingis copied. Only part of the file is transferred. For example, the file would be 200k, and on the disk it would show as a 30k file.
I swapped floppy drives and the same thing happens.
The disk is newly formated to FAT and there are no bad sectors.
I tried multiple diskettes as well.
I can copy FROM a diskette slowly, but it does work.
 
Old 09-14-2006, 10:36 PM   #2
Oras
LQ Newbie
 
Registered: Jul 2006
Posts: 8

Rep: Reputation: 0
I got the same once on another senario, I was trying to copy to an external hard drive connected using (IDE to USB) adapter and got exactly the same. I tried many things ... but at last the problem was from the Hard drive or the controller.
check your controller or try another floppy disk
 
Old 09-14-2006, 10:49 PM   #3
Snump
Member
 
Registered: Sep 2004
Location: Pennsylvania, USA
Distribution: Trying to decide
Posts: 229

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Oras
I got the same once on another senario, I was trying to copy to an external hard drive connected using (IDE to USB) adapter and got exactly the same. I tried many things ... but at last the problem was from the Hard drive or the controller.
check your controller or try another floppy disk

Its not the controller or floppy.
It worked under the last version of Mandriva.
The diskettes work fine under Windows.
 
Old 09-15-2006, 03:38 AM   #4
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
Hello.

Have you tried doing a simple disk dump to the floppy? Try creating a file full of some random stuff, like this:

Code:
$ dd if=/dev/urandom of=randomstuff count=1 bs=1M
You should now have a 1MB file full of random stuff. Now take the md5sum of the file so that you'll have something to compare the written image to, should it work.

Code:
$ md5sum randomstuff
Now, insert the floppy, make sure it is NOT mounted, and do this:

Code:
$ dd if=randomstuff of=/dev/fd0 bs=1M count=1
This may take a little while to complete. Assuming it finishes, you can now take the md5sum of the disk and compare it to the md5sum of the file.

Code:
$ md5sum /dev/fd0
If they match, then the problem does not lie with doing direct writes to the drive (as I understand it). The problem could then be the way it was mounted, or any automounting commands/patches used. It would also mean that with a few tweaks, you can probably have it up and running with the new version of Mandriva.

If this somehow doesn't work, it's probably a kernel problem. Try downloading and installing another kernel. If all else fails, download and compile a "vanilla" kernel from www.kernel.org. (There are plenty of how-tos on that.)

Good luck!

--Dane
 
Old 09-15-2006, 07:11 AM   #5
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
Quote:
Its not the controller or floppy.
It worked under the last version of Mandriva.
The diskettes work fine under Windows.
I had something a bit similar, with all hardware being OK.
One day floppy refused to work (the one odd day I needed it)
I eventually removed automount from fstab and rebooted and it worked
(mount it manually)
Odd I know, but like you I was sure the floppy etc was ok (tested with knoppix)
 
Old 09-15-2006, 07:27 AM   #6
Snump
Member
 
Registered: Sep 2004
Location: Pennsylvania, USA
Distribution: Trying to decide
Posts: 229

Original Poster
Rep: Reputation: 30
Question

Quote:
Originally Posted by DaneM
Hello.

Have you tried doing a simple disk dump to the floppy? Try creating a file full of some random stuff, like this:

Code:
$ dd if=/dev/urandom of=randomstuff count=1 bs=1M
You should now have a 1MB file full of random stuff. Now take the md5sum of the file so that you'll have something to compare the written image to, should it work.

Code:
$ md5sum randomstuff
Now, insert the floppy, make sure it is NOT mounted, and do this:

Code:
$ dd if=randomstuff of=/dev/fd0 bs=1M count=1
This may take a little while to complete. Assuming it finishes, you can now take the md5sum of the disk and compare it to the md5sum of the file.

Code:
$ md5sum /dev/fd0
If they match, then the problem does not lie with doing direct writes to the drive (as I understand it). The problem could then be the way it was mounted, or any automounting commands/patches used. It would also mean that with a few tweaks, you can probably have it up and running with the new version of Mandriva.

If this somehow doesn't work, it's probably a kernel problem. Try downloading and installing another kernel. If all else fails, download and compile a "vanilla" kernel from www.kernel.org. (There are plenty of how-tos on that.)

Good luck!

--Dane
Edit... I misunderstood.

I'll try it when I get home.

Last edited by Snump; 09-15-2006 at 07:28 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
floppy copy confusion eddacker Linux - Newbie 3 06-21-2004 06:31 PM
how can i copy to floppy Pacemaker Linux - Software 3 04-25-2004 04:07 PM
How to copy a file to floppy and list file on floppy device kabeko Linux - Newbie 3 12-09-2003 11:36 PM
copy floppy? jrclare Linux - Newbie 7 06-30-2002 08:24 PM
How do you copy a floppy? keirobyn Linux - General 1 01-20-2002 10:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration