Skip to main content

Posts

Featured

Recover Raspberry Pi From Corrupt kernal.img

This issue seems to happen often on the rpicam device in the kitchen. The green light will flash 7 times on boot when the kernal.img is corrupt from the device not being shut down cleanly. I found these instructions to recover the sd card in this case. It involves booting the pi with a new sd card loaded with raspbian, put the corrupt sd card in a USB adapter, find the corrupt devices in /dev/* (found mine in /dev/sda6 and /dev/sda7). This is based on the post from wvk here: https://forums.raspberrypi.com/viewtopic.php?t=178357 First I found the dev paths to /boot and /root on the currupt card Before inserting the usb adapter with corrupt card: $ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 59G 11G 46G 19% / devtmpfs 333M 0 333M 0% /dev tmpfs 462M 0 462M 0% /dev/shm tmpfs 185M 816K 184M 1% /run tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/mmcblk0p1 253M 49M 204M 20% /boot tmpfs 93M 24

Latest Posts

Raspberry Pi MQTT Water Softener Salt Level Sensor

My First Published Article!

Backup and Restore Chrome Bookmarks

Its been over 12 days since my last confession...

Post A Day In 2012

Warrior Dash 2011 Mt Morris, MI July 30th

Cool demo of Molehill on a mobile device

Intro to Robotlegs Presentation

Single or Multiple ENTER_FRAME Performance Tip