SheevaPlug stops responding – USB console required!

My SheevaPlug is still plodding along, at the cost of a replacement PSU in early 2013. Some tweaks, a reboot, no response …. oh dear! I always forget how to do this, so this post is more about reminding me how to connect to the USB console to find out what’s going on.

Regardless of desktop OS, I prefer to do this on a linux machine as it’s much easier (install linux using VirtualPC if you only have a windows desktop). Stick in the micro USB, connect it to the desktop (remember to allow USB on the virtual machine if you install VirtualPC) and

screen /dev/ttyUSB0 115200

You might have to hit ‘Enter’ a couple of times, but you should see a console appear as if you had a monitor connected to the SheevaPlug.

As for my issue, the SD card was throwing read errors and I needed to run fsck manually. Looks like I’ll be writing something up on backing up my SD card and transferring to a new (and bigger) SD card sometime soon! The backup/restore would be quick and easy if I wasn’t interested in changing the partition sizes … from the desktop

dd if=/dev/sdb of=/root/plug.img
dd if=/root/plug.img of=/dev/sdb