LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-27-2010, 11:32 PM   #1
Super TWiT
Member
 
Registered: Oct 2009
Location: Cyberville
Distribution: Debian
Posts: 132

Rep: Reputation: 16
Recovering Data from Flaky Floppy


I am kind of at a loss on how to recover data from a 15 year old floppy (Simcity 2000, bought the copy off of ebay thinking it was the cd version and well...). At first I could see the files on the disk, but couldn't read them. So, I ran chkdisk on windows and it couldn't fix the disk. I have heard things about dd_rescue, which I have tried, but it just produces an error filled image that I can't recover any data from. I don't think it really tried all that hard to read the sectors that have problems. Any suggestions?
 
Old 02-27-2010, 11:49 PM   #2
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 13
Posts: 1,514

Rep: Reputation: 194Reputation: 194
mtoolsfm might be helpful.
 
Old 02-28-2010, 05:02 AM   #3
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 378
Blog Entries: 4

Rep: Reputation: 79
try in another system if possible. A different floppy drive.
 
Old 02-28-2010, 07:52 AM   #4
Super TWiT
Member
 
Registered: Oct 2009
Location: Cyberville
Distribution: Debian
Posts: 132

Original Poster
Rep: Reputation: 16
I have tried the floppy in 3 different drives. (My floppy drive on my computer, a usb floppy drive, and an ancient powerbook 180) None of them seem to get it.

I can't install mtoolsfm mark_alfred on this ubuntu livedisk, as its not in the repos but I do have mtools.
 
Old 02-28-2010, 09:45 AM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
What I would do is download it. Once a floppy goes, they only way to revive it is using a large magnet ... at the expense of loosing all data on it.
 
Old 02-28-2010, 11:13 AM   #6
Super TWiT
Member
 
Registered: Oct 2009
Location: Cyberville
Distribution: Debian
Posts: 132

Original Poster
Rep: Reputation: 16
Actually, I seem to be making SOME progress. I did a direct copy of the disk and only received 2 errors this time. One was the first sector of the disk and the other was sector 3. I copied the first 512 bytes off of a newly formatted floppy disk to try and restore a partition table. The logical block size should be the same. (I was getting logical block size equal zero errors in fsck.vfat when I tried to check my disk) However when I try to append my SimCity Disk image with my clean bootrecord nothing happens. I used
Code:
sudo dd oflag=append conv=notrunc if=/home/ubuntu/bootrecord of=/home/ubuntu/SimCity2000D2
and I still get zeros across the beginning of my simcity file when examined with a hex editor.
 
Old 02-28-2010, 11:50 AM   #7
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 13
Posts: 1,514

Rep: Reputation: 194Reputation: 194
From mtools, maybe the command mcopy will work to more completely copy the floppy to your hard drive.
 
Old 02-28-2010, 09:55 PM   #8
Super TWiT
Member
 
Registered: Oct 2009
Location: Cyberville
Distribution: Debian
Posts: 132

Original Poster
Rep: Reputation: 16
I did actually get the floppy to read by messing around with dd.

I imaged the floppy, in my case the first sector was gone, so I pasted the bootrecord from a blank floppy to the first 512 bytes of the image.
with
Code:
sudo dd conv=notrunc if=/home/ubuntu/bootrecord of=/home/ubuntu/SimCity2000D2_internal count=1 bs=512
I was then able to get fsck.vfat to fix my disk by setting it up as a loop device with losetup and then having fsck check it and it shows up fine now.

However, now I have a different problem. I can't seem to get multiple floppies to work in dosbox I started a new thread.
 
  


Reply

Tags
data recovery


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Recovering a floppy disk linuxhippy Linux - Software 4 02-08-2009 01:58 PM
recovering data yusufs Linux - Newbie 4 10-07-2008 12:58 AM
Recovering SD data Fice Linux - Software 2 12-21-2007 10:14 PM
data recovering ??? Dmitry Bandurin Linux - General 2 07-25-2006 07:03 PM
recovering data... marsques Linux - General 18 09-01-2004 03:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration