I have a Raspberry Pi 4B, and I installed Raspberry Pi OS onto a blank microSD card using the official imager. My understanding is that if I had used NOOBS, after installing the OS there would have still been a recovery mode that I could get into by pressing SHIFT on boot, but that doesn't seem to come with a regular OS image.

So my question is: is there a way to add a recovery mode to the existing SD card, so I can still edit /boot/config.txt from the Pi itself if I mess it up and can't boot the regular OS, rather than mounting the SD card from another computer and editing it that way? Can I just copy the recovery.* files from the NOOBS-lite distribution?

Edit: I finally found an explanation of how the NOOBS boot/partitioning works: https://github.com/raspberrypi/noobs/wiki/NOOBS-partitioning-explained So it might be possible to do an in-place addition of NOOBS/PINN on the SD card if I can resize/add the necessary partitions in the right order, but it seems like it'll be easier to:

  • Do an external backup of the existing boot & root filesystem on the SD card in NOOBS format (using http://downloads.raspberrypi.org/raspios_armhf/ as a template)
  • Reflash the SD card with just NOOBS/PINN
  • Install the OS from the backup using NOOBS/PINN
  • It's not possible not desirable. If you insist on using NOOBS get the replacement PINN from raspberrypi.org/forums/viewtopic.php?t=142574 You can always edit /boot/config.txt in a Windows system (just don't let Windows reformat your SDCard if it suggests that). – Dougie Feb 17 at 17:29
  • To reinforce what Dougie said NOOBS recovery just clobbers your existing OS. You can do the same by reinstalling Raspberry Pi OS. – Milliways Feb 17 at 21:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.