Code: Select all
dd if=/dev/zero of=/mnt/output.img bs=8k count=8k; rm /mnt/output.img
Code: Select all
dd if=/dev/zero of=/tmp/output.img bs=8k count=8k; rm /tmp/output.img
Thanks. I'll try your update tool & give it another go in a day or 2. I've been a bit quiet on this thread of late through other commitments diminishing my pi-play time.Hexxeh wrote:Yeah, that's probably the easiest way of working around it. It's not ideal, but it shouldn't be an issue once the next versions of the SD card images ship with newer firmware on them to begin with.
So it worked for a USB HDD but not for a flash drive? I would've thought that a USB flash would be better.rogerdean wrote:It didn't for me - fine for the first couple of boots then perpetual freezing in the GUI, constant disk accessing. May have been swap-related
I tried the kernel updater, but my Pi wouldn't boot after.Hexxeh wrote:Be careful when updating the kernel, you also need to copy across the matching modules. rpi-update (http://hexxeh.net/?p=328117855) will do this for you, but if you're doing it by hand, you'll need to remember to do it yourself when updating kernel.img
This was immensely helpful for me (although I found I did not have to replace the kernel, I'm assuming that's because of the time difference between the post and my reply...)rogerdean wrote:Ok, I've done it. The secret was, as in so many places on these forums, that my power supplies (cellphone chargers) just weren't giving enough power for the portable hard drive. I had 3, one powering the Pi, one powering the USB hub, and one powering the hard drive through a split cable. Not good enough.
Then I tried using my laptop USB port as an additional power supply for the hard disk, and all was well. So, the steps are -
1) find a way to get enough power to the USB hard drive
2) write the squeeze image to both hard drive and to your SD card
3) on the small partition of the SD card, modify cmdline.txt as described above
4) on the small partition of the SD card, replace kernel.img with the one from github as above
5) plug it all in and off you go!
It's hugely faster, feels more like a real (very old) computer. Good luck