Hello RPi Forum,
my Pi is running Raspbian. Today I ran apt-get upgrade, which updated a lot of packages including the kernel. While setting up that kernel package, it hung completely when doing something with redirects (sorry, I don't remember the exact message). I couldn't start another ssh session (headless Pi), no login prompt. After an hour, I pulled the power supply and tried a reboot, which failed with only the red LED lighting up, no other activity. With the SD card in my Win7 PC, I found that "bootcode.bin" had been renamed, so renaming it back to "bootcode.bin" made my Pi boot again.
Next try with apt-get upgrade gave me an error message telling me to run "dpkg --configure -a". Doing this restarted the setup of the kernel package, resulting in the same hang as above. I rebooted after fixing the SD card again and finally did "rpi-update", so now I am on the newest kernel (3.2.27+ #257 PREEMPT Mon Nov 5 00:01:55 GMT 2012 armv6l GNU/Linux) and am back in business. However, apt-get is still broken, I get the "dpkg --configure -a" messages all over again.
How can I fix this? I'm afraid that I might mess up the /boot partition again by running that command and get stuck in an endless loop. But I guess I have to complete the update because there are several packages like libraspberrypi-dev etc. that are still in their old versions before the update.
BTW, no overclocking or any other modifications.