Showing posts with label Data Recovery. Show all posts
Showing posts with label Data Recovery. Show all posts

Sunday, 4 December 2022

Loading a game from a damaged tape

This was originally at the end of another post, which has since been removed. I have split this out into a separate post as I have wanted to reference it a few times.

Just one addendum (as if this blog post wasn't already long enough). I found a game I remember I could never get to load.

It would always get to 1 block from the end, then fail.

Unfortunately, I had already tried the other side, and there was also damage to the tape and it failed even earlier. I decided to see if modern technology could save this (ignoring the easier option of buying another copy of the tape, creating one from an online copy of the game, or just loading it with an SIO2SD).

You can clearly see the damage at the start of side 1 and the end of side 2. So I did the usual cleanup and then spliced the start of side 2 with the end of side 1 and created a new wav file with the best of both copies.

I wrote this to tape and tried loading it. It got all the way to the last block...

...and then, 30 years after I got this tape, I finally got it to load.

Was it worth the wait. Probably not.

That was just a simple example, I can go into more details on the process if there is any interest in a longer post.


Patreon

You can support me via Patreon, and get access to advance previews of posts and behind the scenes updates. These are often in more detail than I can fit in here. This now includes access to my Patreon only Discord server for even more regular updates. Posts this week include previews of two new products, coming soon.

https://www.patreon.com/tynemouthsoftware

Saturday, 16 June 2012

SATA Docking Stations Review

This is an old post, preserved for reference.
The products and services mentioned within are no longer available.

I frequently need to be plugging various hard drives into test machines, to wipe drives, to perform external disk tests and virus scans, and for data recovery. So one thing I used a lot is an external SATA dock. For the last couple of years, I've been using a pair of Akasa Duo Docks (AK-IC008-BK). I've found these very solidly built and useful. These sit on the desk and plug into the PC via an eSATA port, although there is also a USB 2.0 port. There is a slot on the top to insert 1 3.5" desktop or 2.5" laptop hard drive or SSD (but not at the same time as they share the connector). Then thanks to SATA AHCI hotplug, these appear as additional drives to the PC. Where they can be wiped, scanned etc.
These, along side the IDE version I built a while ago, have served me well. But with SSD's becoming cheaper and therefore more prevalent, I've noticed I'm not getting full speed out of them. Further investigation has shown that the USB 2.0 port is the problem. Whilst on some external drives, there is a switch to choose between eSATA and USB, this uses a chip, and that chip seems to be limited to SATA 1. So even with the a SATA 2 or 3 drive and a SATA 3 capable motherboard, I'm seeing speeds limited to around 150MB/S rather than the 500MB/S some of the SSDs are capable of if directly connected to the same motherboard. I've had a look inside, and there doesn't look to be an easy way to bypass the USB (which I don't use), without cutting the tracks and trying to bodge what are meant to be balanced impedance tracks. So time for an alternative.

The first I looked at was a Zalman ZM-MH200 U3 Dual USB3 HDD Docking Station. Both drives in the same unit, so a saving on bench space. This turned out to be a disappointment in a number of respects. Firstly before I'd even plugged it in it came with a US figure of 8 mains lead and two, yes, two, UK mains adapter plugs - neither of which was fused. I may be wrong, but I thought it was illegal not to have a fuse in the plug?

Luckily I had a box of figure of 8 leads with fused, moulded UK plugs on the end, so I used one of those. This thing supports two separate drives at a time, of either size, so was going to save me bench space. However, I assumed / hoped / expected that these would appear as two separate drives, but it doesn't seem to work like that. It goes through some 'intelligent' RAID chip which allows you to combine the two disks into a single drive with either RAID 0, RAID 1 or JBOD. Quite why you would want to do this with interchangeable removable drives, and not a fixed pair of drives inside the PC or in an external enclosure is beyond me. Possibly to be able to replace a disk if one fails (but how do you tell without a manager?) and with only 2 disks, a RAID 0 or JBOD array would be lost. However, that is how it works, and it doesn't allow the two drives to be accessed separately. There is a 'DUAL' switch, but I haven't been able to get it to reliable reliably recognise the second drive, the activity light doesn't appear and there is some confusion about which is which. Oh, and finally, this is probably a limitation of the USB hard drive support in the Windows, but it doesn't appear at all if there are no partitions on the disk, so is useless for new drives or data recovery. Time for plan B (anyone want a Zalman Dual Dock?).
Plan B turned out to be an internal version, the StarTech SATADOCK525. So even more bench space saved. This uses a single 5.25" optical drive bay to provide 2 SATA drive slots. One for a 2.5" drive, and one for either a 2.5" or 3.5" drive. Both of which have separate switchable power and activity LEDs. These connected directly to the SATA ports on the motherboard, so no issues with intermediate chips reducing speeds or confusing things. These are pretty much exactly what I was looking for. The construction isn't fantastic, the door flaps are a little flimsy, but are easily removable if they get worse. The other issue I had is the LEDs are dual purpose, they are bright blue for power and red for activity, but the activity signal is provided by the drive and so some drives you can see a sort of purple when there is disk activity, but for most it just get washed out by the bright blue. So at some point I expect to be removing the door flaps and buffering the activity LED's.
The power to the drives is separate, I can sort of see why, but I would have preferred a single molex power connector for both drives. I decided to add two docks to give me most flexibility, 2x 3.5" drives or up to 4x 2.5" drives, so I had 4 sata power connectors to feed. In the box they provided 2 single molex to sata adapaters, these would have been better if they had been a single molex to dual sata. I ended up making a custom cable using the push down style connectors salvaged from dead power supplies to give quite a neat finish from a single molex.
As you can see in the picture, the SATA data connectors are the type which don't latch, and since the unts were so short, the plugs easily fell out. A large dollop of hot melt glue firmly fixed those in place. And finally, all the drive bays installed in the Corsair 600T case of my test machine.


Wednesday, 30 November 2011

Hotswap IDE bays

This is an old post, preserved for reference.
The products and services mentioned within are no longer available.

One of the things I need to do a lot with building and repairing computers is to remove a hard drive and attach it to a second system to do an offline virus scan or attempt to recover data. For SATA drives that is easy, I have a couple of eSATA docks which allow me to slide in any SATA drive without a problem. As SATA hotswapping is not a problem (at least with AHCI mode in the BIOS), this allow me to boot the known working system and get the virus scanner an everything up and running before attaching the drive. Hopefully this should detect any bootblock issues etc.

I still have need to test IDE drives, and they are more of an issue as I either have to dismantle the second PC and connect it internally, which means it is present during boot which isn't ideal, or I have to mess around with USB-IDE adapters and external power supplies which isn't ideal either as it is a bit of a faff and is limited by USB speeds. I got a couple of removable IDE caddies which improved things as it made it easier to connect to the PC, but still meant I needed to have the drive present during booting.
So the idea I had was to use a couple of IDE-SATA convertors. These little boards allows you to use SATA drives with an IDE host or, as in this case, use IDE drives with a SATA host. I did some testing with the drives powered up all the time, and connected via the adapters to the SATA ports on the motherboard and they were detected fine and accessible at full speed. All that was needed now was hotswap capability.
The caddies have a key operated power switch, which cuts power to the drives to allow removal. The SATA-IDE adapters only need 5V (usually provided by a 3.5" floppy power connector), so I found the switched 5V line on the back of the caddy and wired it to the SATA-IDE adapter power so it would be switched on and off with the drive.
Now for the test. Power it on before boot to check it all still works, yes, no problem. So now I booted with the key turned off, and once booted, turned they key on. The drive spun up and was detected just as if I had slid in a SATA drive. I then made a second to complete the pair and now use these regularly for testing IDE drives.

For Data Recovery or Virus problems, see www.tynemouthsoftware.co.uk

Friday, 10 September 2010

Hard drive recovery


This is an old post, preserved for reference.
The products and services mentioned within are no longer available.

I've been having a lot of problems trying to recover a laptop with a damaged harddrive. The drive has had it, increasing bad sectors and clicking noises, but I am trying to recover what I can.

Most of the utilities I would normally use can't help here, either they give up when they reach bad sectors, or the can't work if the NTFS file system isn't clean. Ghost stopped on the bad sectors, even with the command line switches set to ignore them. So down to Ubuntu and linux tools.

ntfsclone is usually very good at this sort of thing, but kept saying I needed to start windows, run chkdks and reboot twice before continuing. And after several chkdsk's with repair and scan for bad sectors and many reboots still no success.

I finally got a good result using myrescue, a version of dd which was tolerant of bad sectors. It has a clever feature which skips a number of sectors after it finds a bad one and continues to read all the good ones before going back to the ones around the bad areas.

I used this to make a clone of the damaged drive, and was then able to successfully repair the filing system on the copied drive.

Tuesday, 3 August 2010

Data recovery

This is an old post, preserved for reference.
The products and services mentioned within are no longer available.

I've been working on a data recovery case for the last few days. A collection of family photos on a USB hard drive. The hard drive has presumably been knocked when spinning and has had a head crash. All it will do now is click as the heads go back and forth searching for track 0. I've tried a few of the usual tricks, but I can't get the drive to initialise at all. It is normally possible to recover most of the data from a drive if it will at least start up, but when there is significant physical damage and it won't do that, it's time for clean rooms and microscopes - a bit out of my range.

Luckily in this case, the hard drive had been used to copy the photos from an ailing laptop which had since been retired to the loft. I was able to extract the drive from the laptop and recover a lot of the pictures. They had been deleted, so some had been overwritten, but many had survived. The client also had copies of some of the pictures elsewhere, so not as bad as it could have been.

Just another reminder to backup really, we all rely far too much on tiny pieces of magnetised rust spinning at 7200 RPM!

Visit www.tynemouthsoftware.co.uk if you have any data to be recovered.