Hexxeh / rpi-update

An easier way to update the firmware of your Raspberry Pi
MIT License
1.94k stars 232 forks source link

How to use the backup created by rpi-update? #273

Closed mittal07abhilash closed 3 years ago

mittal07abhilash commented 5 years ago

When running rpi-update it shows that it is creating a backup. Where to find that backup file and how to use it to revert to previous firmware and kernel? I tried using this script on OSMC and ended up with a broken system. Please help!

popcornmix commented 5 years ago

Assuming you were running rpi-update for the first time you should see something like:

 *** We're running for the first time
 *** Backing up files (this will take a few minutes)
 *** Backing up firmware
 *** Backing up modules 5.0.0-rc1-v7+

You should find it's created a backup of /boot called /boot.bak and a backup of /lib/modules called /lib/modules.bak If you can ssh in you can copy the backup files back to original location and reboot and that may fix the issue. But you may have a better response asking on https://discourse.osmc.tv/ where I suspect this question has been asked before.

PanderMusubi commented 5 years ago

See also https://github.com/Hexxeh/rpi-update/issues/287

Ruffio commented 3 years ago

@mittal07abhilash can this issue be closed?