Skip to main content

Recovering from Raspberry Pi 2 Boot Failures - Safe Boot Methods

I was recently loaned a Raspberry Pi 2 from a friend and I immediately dove in and started playing around. 

Of course, as is always the case, when you start fiddling about with something new, you're almost guaranteed to mess something up. In fact, I have done just that one at least 2 occasions.

In my case, the first boot failure came after I updated my initial Raspbian installation and the second after I tried to choose the maximum overclocking speed for my Raspberry Pi. In both cases, the Raspi started to boot but then hit an issue when loading display drivers or something around there in the boot cycle.

After the first failure -- since I hadn't done much configuration of software installed, I simply rebuilt the SD Card and started over. On the second, more recent, boot failure, I really didn't want to start all over again, so I looked for some additional remedies.

Use your PC to rewrite configuration files

Since the Raspi wouldn't boot, there was no direct way to alter the configuration files to reset the overclocking setting and safe HDMI settings which I hoped would put things back to right. Thankfully, you can pop out the SD Card and mount it directly on your local PC where you can edit the config and then re-install it in the Raspi. The /boot partition on the SD Card is set up in such a way as to allow it to mount on and system that can read FAT32 or xFAT partitions. Changing the configuration settings mentioned above got me back to a bootable system where I could then re-configure it.

Use Safe Boot Options

Later after some research, I discovered a safe boot keystroke (Hold left shift on the keyboard during Boot) that specifically disables the overclocking option in the config.txt file.

A more difficult safe boot can be performed by shorting pins 5 & 6 on the P1 header. This takes some knowledge and car, though, or you can damage your Raspi system.


See this discussion on Stack Exchange for more information.

Get Raspberry Pi Boards and Components from Amazon
Get Raspberry Pi Boards and Components from eBay

Comments

Popular posts from this blog

Onion Pi makes your web traffic anonymous via Open Electronics

Hmmm, might be an easy (and relatively cheap) way to play around with Tor and learn a bit more about this anonymizing service. -- Douglas Adafruit’s Onion Pi is a Tor proxy that makes your web traffic anonymous, allowing you to use the internet free of snoopers and any kind of surveillance. Follow Adafruit’s tutorial on setting up Onion Pi and you’re on your way to a peaceful anonymous browsing experience. Tor is an onion routing service – every internet packet goes through 3 layers of relays before going to your destination. This makes it much harder for the server you are accessing (or anyone snooping on your Internet use) to figure out who you are and where you are coming from. Read Onion Pi makes your web traffic anonymous via Open Electronics * A portion of each sale from Amazon.com directly supports our blogs ** Many of these books may be available from your local library. Check it out! An interesting link found among my daily reading

How to Build a Raspberry Pi-Powered Digital Photo Frame via Tom's Hardware

A digital photo frame is a small screen that can sit on your desk in your office or in your kitchen displaying your favorite pictures, changing at regular intervals. The first commercial digital photo frame was introduced in the 1990s shortly after the digital camera. Digital photo frames made a comeback in popularity during 2020, perhaps because people were staying at home more. In this tutorial, we’ll turn our Raspberry Pi into a digital photo frame using MagicMirror and the GooglePhotos module. Please note, we will skip installation of the 2-way mirror in the original Magic Mirror project. Consider this project, “Magic Mirror, without the mirror.” Read How to Build a Raspberry Pi-Powered Digital Photo Frame via Tom's Hardware An interesting link found among my daily reading

On my Mac/Windows PC…Disk Inventory X/WinDirStat

Disk Inventory X | WinDirStat   There comes a time in every computer user's life when they need to figure out why their hard drive is out of space and Disk Inventory X and WinDirStat are a great help. Their operation is pretty straightforward. Look at the hard drive directory and see what is taking up the most space. Then allow the user to prune, backup or other remove these files to free up some space. Simple, effective and very, very useful when you need it. Free Previously in On My Mac... iMovie Tweetdeck Celtx Scriptwriting Software LogMeIn Kindle Reader MarsEdit Blog Editor Cyberduck Minecraft Dropbox Garageband MPEG Streamclip Google Chrome Evernote On My Mac/Windows PC is an on-going series highlighting the software (and sometimes, hardware) I use on my Mac nearly every day. Look for additional On My Mac…posts in the coming weeks! -- Douglas