yumology
Posts: 3
Joined: Mon Jun 17, 2013 2:45 am

Pi boots into emergency kernel and won't boot regular

Sat Jul 20, 2013 4:32 am

I recently tried upgrading the OS on my Pi. I have tried using 2013-02-09-wheezy-raspian and also 2013-05-25-wheezy-raspian. I have tried loading the images using linux or windows. I have tried using a Patriot HC 16GB and DaneElec HC 8GB card. Whatever I try I seem to get the same problem.
The Pi boots into emergency kernel every time. And I simply want to boot it to regular.

What am I doing wrong or need to do to fix this?

No I do not have a jumper between pins 5-6.

User avatar
rpdom
Posts: 18393
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Pi boots into emergency kernel and won't boot regular

Sat Jul 20, 2013 4:46 am

This has been happening to a few people and I don't think it has been properly solved yet.

You can prevent booting into emergency kernel by adding

Code: Select all

avoid_safe_mode=1
in the config.txt file.

To try and track down why it happens:

Is your Pi a Rev 1 or Rev 2 board?

What is the ouput of

Code: Select all

grep Rev /proc/cpuinfo

yumology
Posts: 3
Joined: Mon Jun 17, 2013 2:45 am

Re: Pi boots into emergency kernel and won't boot regular

Sat Jul 20, 2013 5:17 am

pi@raspberrypi:~$ grep Rev /proc/cpuinfo
Revision : 0002

Thanks! It totally worked to avoid safe mode. Lifesaver!

User avatar
rpdom
Posts: 18393
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Pi boots into emergency kernel and won't boot regular

Sat Jul 20, 2013 5:58 am

yumology wrote:pi@raspberrypi:~$ grep Rev /proc/cpuinfo
Revision : 0002
So, that is saying you have an early (Revision 1) model B Pi. Is that correct?

Differences between Rev 1 and Rev 2:
Rev 2 has two large "mounting" holes in the board, one near the LEDs, one under the raspberry logo.
Rev 2 has 8 small holes for P5 next to P1 connector.
Rev 2 has 2 small holes for P6 next to RG2
Rev 1 has components marked F1 and F2 between the LEDs and the USB.

If you actually have a Rev 2 and it is being detected as Rev 1, then that is probably why it is not working right. Pin 5 on P1 is connected to a different GPIO line on the two revisions, so for Rev 1 the bootcode checks GPIO 1 and Rev 2 it checks GPIO 3. If that is wrong, it can cause it to boot in safe mode.

Return to “Troubleshooting”