My raspberrry pi 3 powered down in the midst of a remote update and now has the 7 green light problem and wont boot.
I 'd like to get it up and running as it has apps on it that I don't want to lose.
In the closed topic opened by tpylkko on March 24 2017 called 'Manually place kernel.img on boot partition ' dougielawson posted:
It's not that simple. But you can repair things on your RPi if you have (or can make) a second bootable SDCard.
Get your second SDCard with Jessie and boot your RPi from that. Get your "broken" SDCard in a USB reader, insert that in your RPi.
for i in /dev/sda*;do sudo umount $i; done
sudo mount /dev/sda2 /mnt
sudo mount /dev/sda1 /mnt/boot
sudo mount -o bind /dev /mnt/dev
sudo mount -o bind /sys /mnt/sys
sudo mount -t proc proc /mnt/proc
cd /mnt
sudo chroot .
sudo rpi-update
exit
cd /
for i in t/boot t/dev t/sys t/proc t; do umount /mn$i; done
poweroff
Swap cards and reboot. That will get you a 4.9.16 kernel on your broken SDCard.
If I follow this advice above will my data on the broken SDcard be wiped or will just the bootcode, kernel and /lib/modules be changed?