Archive

Archive for 2011

Fixing a Virtual Box Hard Drive Image (VDI)

April 7th, 2011 2 comments

I can’t believe that I’ve managed it! I recently managed to corrupt one of the virtual hard drive images on a Virtual Box image. Everytime I started the image up, it complained of problems with the Headers in the VDI file. It appears that the image file (not the guest HDD partition) had become corrupted.

This created a complete disaster for me. Unfortunately, I had been following my mantra of “Backups are for whimps” and I had potentially lost a load of work. I did have a back-up of the file going back over a month, but that was too far in the past for me. Seeing as I was convinced it was a problem with the headers in the VDI file, and that the guest partition in the file was intact, I was sure that I could correct it.

So, having spoken to a VMWare Guru at work (thanks Chris!) who convinced me he had performed a similar trick on a VMWare image, I set about correcting the image.

Firstly, I went digging. Google throws up a few instances of this problem, but most people saying it is not possible to repair the file. Fortunately, I came across this forum post which details the format of the VDI file.

Secondly, and importantly, I took a copy of the corrupted file for safe-keeping.

Thirdly, I restored my month old backup, and opened it and the corrupted file in a hex-editor. Comparing the reference material on the forum post, I noticed a few small differences, but mostly it seemed to line up after a few dozen bytes.

So, comparing the reference data, and the restored backup, I worked on the corrupted file to aline the data to what looked correct.

I saved the file, and opened up Virtual Box.

Huzzah! It worked. Restarting the VM worked well – there was a quite blip of the Linux guest complaining about an EXT4 block.

So, now it’s time for me to take another backup and then to run fsck on the guest partition!

Categories: Computers Tags:

BeThere Broadband

January 31st, 2011 2 comments

I cannot believe how gutted I am to have left Be Broadband.

I’m leaving simply for cost reasons, nothing else.

They have, by far, the best customer service I have *ever* experienced. They general service is impeccable, but I doubt anybody (and not just in the ISP world) will ever match their level and efficiency of customer service.

I’ve just got off the phone with them, after complaining that they had charged me too much for my final bill. In total, including dialling time, time in the menu system, I was off the phone in 2 minutes and 24 seconds. I was speaking to the guy for less than 30 seconds. He looked at my account and said “Yes, I can see that is wrong, I’ve cancelled it.”.

I had a similar experience two years ago when I switched from paying by credit card to paying by direct debit. The payment went through too soon before the DD was approved by the bank. Again, I was off the phone within 2 minutes having paid that one bill on my credit card, before reverting to the new direct debit.

I’m so properly upset to be leaving them.

Categories: Bits and Bobs, Computers Tags: