My Raspberry Pi 2 arrived

My Raspberry Pi 2 arrived

I was not part of the inner circle that was able to preview the Raspberry Pi 2 and my order finally arrived. My first impression is that NOOBS does not have Arch Linux for the Pi2. So I installed Arch based on the simple instructions found here. The result – a perfectly working, faster Arch RPi. More to come on this over the next few weeks.

Adding swap to the Raspberry Pi

Adding swap to the Raspberry Pi

Recently I was working on a project that required more RAM than my Raspberry Pi has. After all, the model B only shipped with 512MB and part of that needs to be allocated to the video card. But Linux has a method of dealing with running out of memory called the swap. The swap is a file on disk that serves as ‘overflow’ RAM space. It is slower than regular RAM but is a better solution than simply having the program crash. At the time I was using Arch Linux which doesn’t setup any swap by default. Raspbian does setup swap space but doesn’t do it in a recommended manner. (more…)