I am a noob to the RaspPi and a moderate level Linux noob. So please forgive any ignorance I may expose. I have looked around the forums and google and have not been able to find an answer to this. If it has been answered elsewhere please let me know.
I had a problem with booting from my SD card. I had installed a lot of new packages including mysql and apache using apt-get and then left my Pi for a few days turned on. When I came back it had apparently rebooted into kdb mode due to an inability to boot the disk. I received the error others have encountered in this situation:
"Kernel panic - not syncing: No init found. Try passing init= option to kernel..."
And then the boot to kdb, which I could do nothing with as the keyboard was not functioning.
It appears that in this circumstance its likely the best resolution is a reimage and start over. I am using a solid new power supply that outputs 5.25V/1A, and a Pi-compatible USB hub (handles up to 2Amps) that the keyboard, mouse and usb wifi key are plugged into. So I don't believe I am encountering power issues. I am also using Kingston 8gb SD cards that are also PI compatible.
Anyhow, I am resigned to a full reinstall and am doing so with a second SD card, but was wondering if there is any way I could access the corrupt install on the original SD card. I have installed ext2/3 filesystem support on my MacOSX (10.6.8/SnowLeopard) but it still appears I can only gain access to the boot partition.
What I am wondering is why this is so. The errors I get when I try to mount the S2 partition using the following command:
mount -t fuse-ext2 /dev/disk2s2 ./backup
/System/Library/Filesystems/fuse-ext2.fs/fuse-ext2.util: line 55: /var/log/fuse-ext2_util.log: Permission denied
Anyhow, I would like to access the filesystem as a learning exercise. I am wondering why I should be locked out of anything except the boot partition.
As a secondary issue, it is possible that the Pi lost power during that period when it rebooted so I am not wondering why it rebooted. But I am wondering how to avoid such issues in the future if I encounter another hard reboot or crash.
Thanks for any assistance.