2

Last Friday (July 19th) I did sudo apt-get update and sudo apt-get upgrade, then I shut it down. Today, I tried to power it up, but nothing appears on my screen. My HDMI cable is working properly, so it's an issue with how it's booting.

Raspbian is installed on a external SSD, and has worked fine until now. The SSD seems to be ok (I can view its contents).

I would very much appreciate any solutions, or even suggestions.

Edit:

  • The red light is on, and the green light blinks intermittently. Power is being supplied to the USB SSD.

  • I believe the problem is that the Pi no longer tries (?) to boot from the SSD, is there a way to test if it does try to do so?

  • If that's not the case, then it tries to boot but something goes wrong? Why don't I see anything?

  • I haven't ran sudo apt-get update and sudo apt-get upgrade in a while, before running it on Friday. Perhaps this had something to do with it?

Edit 2: The contents of /boot are corrupt. I tried booting with the /boot of a backup, and it works -- with tremendous errors as the Kernel used is out-of-date and it says "Failed to start Load Kernel Modules" before checking my SSD ("0-100% Complete..." -- for what, I don't know.) Once it loads (with the old /boot), the keyboard is unoperational (though it looks fine).

Clearly using the old /boot is not the solution, but at least I now know that my problem is in /boot.

Edit 3:

Perhaps using the old /boot is the solution, if nothing else can work. However, when I use the old /boot, my keyboard doesn't work and I get [FAILED] Failed to start Load Kernel Modules. I believe the cause of this is different kernels. How do I fix this, or, is there a fix without using the old /boot?

Edit 4:

Would people please give me a zip or a tarball of a recent /boot? To do this, you could cd /boot then tar -cvzf boot.tar.gz *.*; upload boot.tar.gz online (for example, use Dropbox or Google Drive). I would like a couple, so that at least one should work.

user96931
  • 739
  • 2
  • 9
  • 22

1 Answers1

2

Ok, so I finally fixed it (thanks to everyone) :)

I deleted everything in /boot, replaced it with the contents of my backup, and added the kernel modules from my backup to /lib/modules.

It entered me into emergency mode, then I did the sequence:

apt-get update
apt-get remove raspberrypi-kernel
apt-get install raspberrypi-kernel
reboot

Now, I have the most up-to-date kernel (4.19.57-v7+) and it's all working properly. In the future, I'll take care to avoid updating the kernel without backing everything up (I'm glad I did) :)

majki
  • 13
  • 3
user96931
  • 739
  • 2
  • 9
  • 22