Matt Godbolt’s blog

Blog

Another weekend and some more data recovery

This weekend:

So, all in all, pretty damn funky weekend.

The data recovery was achieved in the end by booting a ‘backup‘ Windows 2000 ISO on QEMU, and then buying R-Studio Data Recovery and running that on the data. A bit of a disappointment, but I ran out of time either rolling my own or getting either ScroungeNTFS or testdisk to work.

As I write this I’m now waiting for a 150GB file copy from the virtual disk to a cleanly formatted 1TB drive to give to my Dad. Because I’m an idiot, I originally recovered the data onto the virtual disk, and not the final destination.

To add extra fun, rather than copy the data out somehow from the virtual booted Windows 2000, I’m copying using:

Filed under: Coding Blog

Posted at 22:20:00 BST on 18th August 2008.


NTFS data recovery on Linux

My Dad’s PC hard disk died at the weekend. Well, as far as I can tell, the hard disk is fine, but the boot sector and master file table of the NTFS filesystem on it are broken. Windows doesn’t recognise it as an NTFS file system.

As my main PC is now an Ubuntu Linux box, I’m in a bit of trouble recovering the data. Certainly the NTFS file system drivers for Linux have as much trouble as Windows in recognising the data.

After an awful lot of playing with dd and Googling about, I found that the boot sector of the partition had been hosed. Luckily, there’s a backup copy of the boot sector. Some documentation says it’s at the end of the partition, but I found it at the centre. A bit of bash shell maths later and I had the bootsector dded out.

I transplanted the backup back in the first sector of the disk…and…the NTFS drivers recognise it as an NTFS partition! Yay! But boo…the MFT is corrupt. I tried CHKDSK on Windows, but that says the same thing. Even though there’s supposedly a backup to the MFT on the disk somewhere too (I’ve yet to find it).

Latterly I found Scrounge NTFS, which compiled cleanly, and was able to read the MFT, and some file data too.

However, it doesn’t seem to work 100% reliably. It faulted out halfway through (on the PAGEFILE.SYS on the drive). Additionally, it doesn’t support compressed files.

Looks like I should be able to coerce it into working though, with a bit of hackery. But first I need to get some spare disk space to try it out in. I’ll post if and when I get the data off…and whether I have to resort to some payware Windows tools in the end!

Filed under: Blog

Posted at 11:30:00 BST on 12th August 2008.


A good weekend

A short post this, more of a twitter-style entry. I’ve had a great weekend:

Lots of cool things to look forward to at work this week too.

Filed under: Blog

Posted at 22:44:04 BST on 3rd August 2008.


William Anthony Richard Godbolt

A picture of me and my son

It has been rather a busy few weeks for us! As I’ve mentioned in a previous post, my wife Ness and I were expecting our first child in mid July.

However, on the 12th of June, 2008, William Anthony Richard Godbolt was born. He was a few weeks early and weighed only 1.88kg (4lb 2oz), but he breathed unassisted straight away and has been feeding brilliantly. He’s already nearly 2kg, and shows no sign of stopping!

We’d like to thank all our family and friends for their help, well wishes and lent and donated baby things. William’s early arrival was such a surprise for us we were caught somewhat off-guard — so especial thanks to our parents and siblings for buying up half of Mothercare on our behalf!

My son's first programming exploits
William gets some early coding in.

Ness and I are absolutely over the moon, and are enjoying every moment we are spending getting to know our new son! More pictures here.

Filed under: Blog

Posted at 18:30:00 BST on 23rd June 2008.