Raspberry Pi doesn't boot after electrical outage

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Raspberry Pi doesn't boot after electrical outage

Postby guidof » Thu Aug 08, 2013 10:20 am

Raspberry Pi doesn't boot if electrical power is connected to the raspberry and to the external USB disk at the same time. Need to switch on USB external hard disk before, and the Rspberry after a while.
If an intermittant power outage occour, Raspberry remain not working
guidof
 
Posts: 13
Joined: Thu Jan 10, 2013 5:08 pm

Re: Raspberry Pi doesn't boot after electrical outage

Postby pepedog » Thu Aug 08, 2013 11:05 am

Is rootwait in cmdline.txt? It should wait forever for drive to become available.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Raspberry Pi doesn't boot after electrical outage

Postby guidof » Fri Aug 09, 2013 11:02 am

Yes, there is:

[root@blek ~]# cat /boot/cmdline.txt
sdhci-bcm2708.enable_llm=1 sdhci-bcm2708.sync_after_dma=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 loglevel=2 root=/dev/mmcblk0p2 init=/bin/systemd rootfstype=ext4 rootwait
[root@blek ~]#
guidof
 
Posts: 13
Joined: Thu Jan 10, 2013 5:08 pm

Re: Raspberry Pi doesn't boot after electrical outage

Postby pepedog » Fri Aug 09, 2013 5:57 pm

You are going to have to e2fsck that second partition somehow.
And remove init=/bin/systemd
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Raspberry Pi doesn't boot after electrical outage

Postby guidof » Mon Aug 19, 2013 7:16 am

The problem is not the SD card (at least I think so), the problem is the external USB hard disk.
Withou external disk Raspberry starts fine. With an external USB hard disk she doesn't.
It looks like the external USB disk must be powered on before raspberry.
After a power outage, USB disk and Raspberry starts togheter but somehow the kernel detects the USB device connected but not yet ready and fails to start.
guidof
 
Posts: 13
Joined: Thu Jan 10, 2013 5:08 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 6 guests