Issue: Vagrant – Guest machine entered an invalid state

As a PHP Developer I often come across issues that can arise several times depending on the setup etc.I had previously found the fix to this issue but completely forgot how to resolve it. When I tried to up the vagrant machine I would get the error quoted below:

The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'poweroff' state. Please verify everything is configured
properly and try again.
If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.

Tutorial: Kodi on Raspberry Pi

Below is a guide for installing Kodi on the Raspberry pi.

What is a Raspberry pi?
The Raspberry Pi is a very very low cost, “credit-card sized” computer. With a Pi you can plug a computer monitor or tv, a keyboard and a mouse to use as a normal computer. The beauty of this device is that you can do almost anything with it!

What is Kodi?
Kodi (Previously called XBMC) is a free, open-source media player developed by the XBMC foundation. Kodi is currently available for various operating systems and hard ware platforms including Raspberry pi, android, windows, linux, OS X.

Twitter Bot on Raspberry Pi

Twitter although is very simple in its functionality is one of the biggest websites on the Internet in terms of users and traffic. Last December (2014) there were around 284 million active users on twitter.

Since having my raspberry pi, other than converting one into a retro gaming console, and an IRC bouncer (Yes I still use IRC) I have yet to decide on any of the other many many ideas I can carry out on the pi.

Today watching a music channel where a few hours they allowed users to battle it out over which song of 3 would be played next by using hash tags on twitter for the songs. So I figured why not look into making a twitter bot for the pi! And this blog post is the result!

Raspberry Pi 2 B – EmulationStation Build errors!!

Good morning all. One of the first things I intended to do on my new pi is to setup EmulationStation which is a ” cross-platform graphical front-end for emulators with controller navigation.”


cmake .

I received an error ( I can’t recall which one right now. But it stopped me proceeding with the installation). Upon searching on the EmulationStation Github for issues found here:

I found that the Raspberry Pi 2 changed around the include directory. So the command:

cmake . -DFREETYPE_INCLUDE_DIRS=/usr/include/freetype/

Would then work. It seemed that this worked, so I moved onto the next step which is


However, this was the error I was then given:

[ 3%] Building CXX object es-core/CMakeFiles/es-core.dir/src/AudioManager.cpp.o
[ 3%] Building CXX object es-core/CMakeFiles/es-core.dir/src/GuiComponent.cpp.o
In file included from /home/pi/EmulationStation/es-core/src/Window.h:5:0,
from /home/pi/EmulationStation/es-core/src/GuiComponent.cpp:2:
/home/pi/EmulationStation/es-core/src/resources/Font.h:6:22: fatal error: ft2build.h: No such file or directory
compilation terminated.
es-core/CMakeFiles/es-core.dir/build.make:77: recipe for target ‘es-core/CMakeFiles/es-core.dir/src/GuiComponent.cpp.o’ failed
make[2]: *** [es-core/CMakeFiles/es-core.dir/src/GuiComponent.cpp.o] Error 1
CMakeFiles/Makefile2:194: recipe for target ‘es-core/CMakeFiles/es-core.dir/all’ failed
make[1]: *** [es-core/CMakeFiles/es-core.dir/all] Error 2
Makefile:133: recipe for target ‘all’ failed
make: *** [all] Error 2

So… Back to trying to figure out what caused this as far as I thought, the cmake command had been a thing of the past in terms of this installation so the cause of that command didn’t enter my mind as the problem.

I couldn’t find any issues documented online so I posted an issue on their github repository. It soon appeared a few people had encountered the same issue so I figured I’d write a quick blog post on this in case anyone else had the same problems I’ve had with the new pi!


The command to fix that problem was:

cmake -DFREETYPE_INCLUDE_DIRS=/usr/include/freetype2/

And then



Litecoin (LTC), an alternative to Bitcoin.

If you haven’t heard of all the hype over Bitcoins over the past couple of weeks then you must have been living in a cave.

Bitcoin is a distributed peer to peer digital currency that has no central authority. This cryptocurrency was introduced at the beginning of 2009 by a pseudonymous developer known as “Satoshi Nakamoto

The great thing about bitcoins are that there will be a limited amount of bitcoins once they have all been found. The limit is 21 million. I wont go into detail on what bitcoins are in this article as I wish to talk about the other cryptocurrencies currently available.


LiteCoin (LTC)

Coin Limit: 84 million coins.
Hashing Algorithm: Scrypt.
Initial Reward: 50 coins per block.
Launched: Late 2011.

These coins have also seen a large increase in sales at the same time as Bitcoins, although the value does not equal that of Bitcoins, their prices earlier this week went from around £3 up to over £20 per coin. This rise in value then dropped back down to around £10 per coin. Which still is a large increase and is following the pattern that Bitcoins were at just over a year ago.

Benefits of mining LTC?

The market entry costs for Litecoin mining are much lower than Bitcoin’s
Any CPU can still be used to mine Litecoin, although much less effectively as a modern AMD GPU could.


Although bitcoin mining is possible, it just isn’t worth it with the difficulty of each block now. Litecoins is not at this level of difficulty so you would be able to use your home PC with the right hardware and drivers as a decent litecoin miner.