The root of the problem

The other day, I did something a bit unwise, and power-cycled my Volumio music player, and it failed to return to life. Eventually I got it hooked up to a TV to see what was wrong, and predictably:

Give root password for maintenance (or press Control-D to continue)

Unix and Unix-like systems don’t like having their power shut off without a clean shutdown, and the Raspberry Pi seems particularly prone to corrupting the root filesystem given a bit of provocation.

Now, generally, using fsck is like using chkdsk on Windows. It might fix things, or it might break them more. Not a big issue with what is quite a small image on an SD card, so breaking out dd soon should fix that: the music is on an external drive, and there’s very little config to do.

Except it didn’t. I wrote the image, and tried again. Many times, with new SD cards, even with a USB-microSD adaptor in case the laptop I was using had a duff SD slot, and also tried my other Raspberry Pi. each time, it failed. After much fscking about (literally) I realised the one thing I hadn’t changed. A Raspberry Pi runs off a micro-USB phone charger, and instead of the usual, decent quality one I used where the Pi is installed, I used a cheap nasty one that was handy. Evidently it wasn’t stable enough.

With it booting correctly and back in place, back to the music, and I’ve just discovered another great thing. As Volumio is based on MPD, you can either use the (very nice) web interface built-in, or connect a client like Cantata:

Cantata's interface- plays the music, gives info.

Cantata’s interface- plays the music, gives info.

or one of the multitude of others,and control from a phone, tablet, or PC.

I can’t help but wonder how many commercial jukeboxes are using this stuff in the backend…

Comments are closed.


This blog is protected by Spam Karma 2: 41052 Spams eaten and counting...