Created
December 16, 2020 19:30
-
-
Save RobCranfill/75119d6d61dd1b9fc18c140b87ad5109 to your computer and use it in GitHub Desktop.
Update RPi boot SSD after kernel update
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# (This isn't really a shell script - you can't run 'sudo' in a script, I don't think.) | |
# | |
# Boot/kernel problems 19/Oct/2020 | |
# (On pi3, which boots from SD card, but then mounts the SSD to /boot, | |
# resulting in the wrong partition gettting updated.) | |
# | |
# SOLUTION: | |
# https://www.raspberrypi.org/forums/viewtopic.php?t=262963 | |
sudo umount /boot | |
sudo mount /dev/mmcblk0p1 /boot | |
sudo apt install --reinstall raspberrypi-bootloader | |
sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment