Jun 30 2008

Data Recovery with Free Software

Category: Advocacy, Free Software, GNU/Linux, IT, UncategorizedJonathan @ 11:16 pm

Prompted by various people accidentally losing their digital camera images/videos and other people deleting things from USB keys etc I have been doing some research into data recovery software over the past few weeks.

It comes as a surprise to many people that ‘deleted’ computer files are not in fact deleted at all by default, the space on the disk that they occupy is merely reallocated as blank space, to be written over as and when it is required, meaning that deleted files stand a relatively good chance of being recovered depending on how much the disk has been used since. Whilst there are many commercial photo recovery packages available, I wanted to avoid having to steer people down this expensive and not necessarily reliable path.

Free Software provides an interesting contrast to this, with the excellent PhotoRec, part of TestDisk. The Ubuntu community wiki lists several other applications for data recovery, but these aren’t all cross-platform, wheras TestDisk/PhotoRec will build and run on just about anything. Whilst it does lack the bells and whistles of the commercial packages (and it really is screaming out for a basic GUI front end to tempt people towards Free Software, and if I could write one I would!) is nevertheless is a simple and very reliable package for Photo, Video, Document and almost any other file type of data recovery.

Available for Linux/OSX/BSD/Solaris and even MS Windows, PhotoRec can recover more than 180 different file types across all of the major file systems (FAT, FAT32, NTFS, EXT2, EXT3 etc) and on just about every type of camera or removable media device there is.

Despite my complaints about the lack of a basic GUI to assist the less-technical users, the command line interface is almost foolproof, everything is auto-detected, and given the completely read-only interface of the application it’s fairly impossible to cause any damage.

Pre-built packages are available for almost every GNU/Linux distro, and a simple “sudo apt-get install testdisk” within Ubuntu will have you ready to roll in 30 seconds flat.

The screen shots below show an illustration of a data recovery being performed on a 1GB SD card.

Overall I have found PhotoRec to be one of the best-written GNU/Linux tools I have ever used, it does it’s job extremely well, is very easy to use, and is a perfect example of just how good Free Software can be. I’d advise you to bookmark the web address and grab a copy next time you or someone you know accidentally deletes something!


Jun 15 2008

LugRadio Live 2008 Soon!

Category: Free Software, GNU/Linux, PersonalJonathan @ 1:46 pm

It’s coming around to that time of year again…

LugRadio Live UK 2008 is an event that has developed a strong reputation for providing a range of topics about free software, Open Source, digital rights, technology and more, a compelling list of speakers, exhibitors and birds of a feather sessions, and wrapping it all in a unique, fun, loose, social and inclusive event, which is often described as combining the atmosphere of a rock concert and a computer conference.

LugRadio Live brings 30 speakers, over 20 exhibitors, an eclectic range of BOF sessions, and plenty of additional sessions such as our debate discussion panel, a showcase of five minute talks, tech demos, and of course a live recording of LugRadio in front of an audience.

I’ll be in Wolverhampton this July for the 3′rd year in a row to attend this excellent event, although I still need to book my train/hotel, and be doing a full post conference write-up as usual! I think MFS are also doing some promotion this year so I’ll be sure to offer some help with that.

If anyone fancies joining me it’s being hosted at the the Lighthouse Media Centre, Fryer Street, Wolverhampton on the 19′th and 20′th July.

UPDATE 23/06/08: My hotel and train are now both booked so i’m all ready!


Jun 11 2008

Free as in Beer…

Category: Achievements, HomebrewJonathan @ 8:11 pm

This post is going to be a bit of an odd one (aside from the free software pun title) given my usual topics, but it’s one I wanted to share with everybody. Some of you may know that I’m a real ale nut, I much prefer a nice glass of real ale to any of the carbonated rubbish in the supermarkets. I’m also a CAMRA member and my favourite breweries are Millstone in Mossley (especially their amazing True Grit), Hornbeam, and Badger, one of a few decent supermarket real ales.

Rather than spend another week off work milling around the house doing nothing and watching DVD’s I decided to get something important done, and start up my own little home brewery! John Bull Beer kitFirst port of call (as usual) was the internet, where there’s an amazing array of home brewing information available, JimsBeerKits is an excellent resource with loads of guides and a very active forum. As for the equipment I found a small local supplier TheBrewShop in Stockport who were very helpful and set me up with a great beginners kit for only £46, with everything I needed to get started. This included the fermenting bin, 40 pint barrel, tubing and the beer kit itself. After buying a few little bits from Wilkinson’s (sugar, a thermometer and a giant spoon) which I couldn’t find in the house already, I was ready to go.

All the guide’s I had read had stressed the importance of sterilisation as inadequate sterilisation can cause bacteria to grow in the yeast and the beer to gain a fowl taste, so I was extra careful to sterilize the bin correctly, I had a cleaning solution supplied with the kit, enough to clean the bin, barrel and tubing.

Beer Kit + Sugar MixtureNext it was time to crack open the beer kit, in this case a John Bull best bitter kit. Bitter is one of my favourites, hence the reason for choosing it. The mixture inside can only be described as like a black treacle, and I later read a tip saying to soak the can in warm water beforehand to loosen it, which I wish i’d spotted earlier. It took me about 10 minutes to scrape all of this mixture out into the fermentation bin. Next I added the sugar into the bin along with several litres of boiling water and stirred it, and if you’re trying to guess what that would smell like, don’t, believe me it’s not nice!

Post-fermentationThe finished broth now needed to cool slightly before I could go any further. Once it had cooled sufficiently it was time to add in the cold water to make it up to 25 litres, or around 40 pints, this almost filled the fermenting bin to the top. Needless to say I almost broke my back carrying this downstairs, and really should have rethought where I carried out the filling of the bin.

Siphoning into the KegThe mixture then needed to settle at room temperature which took a few hours due to the ice cold tap water I had used! It was then time to add the yeast into the fermenting bin and kick off the fermentation process. I had heard horror stories about fermentations failing or stalling with homebrew kits and was a little worried about this happening with mine, but it seemed to get started and after 6 hours or so I had a head on the top, and although I had to leave the house (missing the time when most of the fermentation would have happened) I was confident that all went to plan.

The Capped KegAfter about 7 days, with fermentation under my stairs well and truly complete it was time to move the beer from the bin into the barrel. This required sterilising the barrel and the siphon tubing and siphoning the beer off. I had a pleasant surprise when opening the fermenting bin when I found the beer actually looking and smelling like beer, something it certainly hadn’t done the last time I’d seen it. I lifted the bin onto the kitchen worktop while starting the transfer of the beer into the barrel via the tubing. This took about 15 minutes and the objective is to move the liquid with as little disturbance as possible, harder than it sounds.

After capping the barrel I realised I had forgotten to add the additional sugar to the barrel, so had to crack it open again and stir in some sugar. This additional sugar would ferment in the brew, adding sparkle to the beer.

Given that the weather was nice I moved the capped keg to the garage so it could clear, it would get plenty of sunlight and would be fairly warm for the next few days at least.

After about 2 1/2 weeks in the garage (over 3 weeks in total) I decided to take sneak peek at how we were getting on, and was very surprised. The ale had plenty of sparkle, a good head, no nasty vinegar tastes and actually tasted very nice. Quite similar to the Robinsons Smooth Bitter I usually drink at the Sycamore. Unfortunately it wasn’t quite cleared yet, so another week or so in the keg was called for.

After another fortnight the beer appears to be 100% ready, the beer is completely cleared and it tastes beautiful. I am certainly impressed with my first attempt at beer making, and will definitely be attempting it again with another kit (probably an old English ale kit this time if I can find one). Home brewing is an excellent hobby, and there’s a great feeling knowing that you’re drinking something you’ve made yourself, as well as the knowledge that what you’re drinking is alive, unlike the cheap, fizzy, supermarket rubbish!

All that’s left to do now is drink it!

Tags: , , ,