I’ve realised the version of Raspberry Pi Debian Squeeze I’d been using was out-of-date. There are two problems with the Mac OS X script for making RasPi SD cards called RasPiWrite:
- It downloads out-of-date images (certainly for Debian)
- There’s a bug in it which means that the option to use your own disk image you’ve downloaded doesn’t work. I wasted ages on this before I twigged.
I even tried editing the Python script of RasPiWrite to force it to use a current image, but I couldn’t get it to work.
So, if you have a Mac as far as I can see, at the moment you have 2 options to make your RasPi SD card:
- Use the slightly scary command line instructions here: http://elinux.org/RPi_Easy_SD_Card_Setup
You need to be really careful with this though, because if you type the wrong thing in you can wipe your hard drive. Oopsy. And beware that ‘/dev/disk1s1 => /dev/rdisk1′ isn’t something you type, it’s something you work out in your head.
- Use a Windows box.
I did the former (on my second-best Mac), and it worked. My terminal session looked something like this:
Giles-Booths-IdeaPad:~ gilesbooth$ diskutil unmount /dev/disk1s1
Volume NO NAME on disk1s1 unmounted
Giles-Booths-IdeaPad:~ gilesbooth$ dd bs=1m if=~/Downloads/debian6-19-04-2012/debian6-19-04-2012.img of=/dev/rdisk1
dd: /dev/rdisk1: Invalid argument
1859+1 records in
1859+0 records out
1949302784 bytes transferred in 321.937141 secs (6054917 bytes/sec)
Giles-Booths-IdeaPad:~ gilesbooth$ diskutil eject /dev/rdisk1
Disk /dev/rdisk1 ejected
Your command will almost certainly be different, so don’t cut and paste this! It takes quite a while to write to the card, so don’t worry if it looks like nothing is happening, and that error message didn’t seem to cause any problems.
My new card booted ok after a while – lo! I have RaspberryPi wallpaper and programming tools, education tools like Scratch, though the screen is in a weird 1824 x 984 resolution on my TV (which doesn’t fill the screen), rather than the better 1920 x 1080 which I’d had before. And you still have to create a root password using ‘sudo passwd root’ in the terminal before you can install any applications using Aptitude.
I’ve been mulling over some possible uses for my RasPi:
- It would make an awesome partner to my Arduino.
- It could be left on all the time displaying my Google calendar for the day or week plus the time of my next train on a TV’s AV or HDMI input.
- Driving a display at work with relevant tweets or headines.