We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [boot]

These questions refer to the initial starting up of the Raspberry PI.

Filter by
Sorted by
Tagged with
1
vote
1answer
199 views

USB problem on Raspberry Pi 4 won't boot

I have a strange problem with a Pi 4. I have my Raspberry Pi 4 powered by an external alimentation 5V 2 A, there are two USB devices connected (an Arduino Mega and the touch USB for the display) and ...
0
votes
0answers
13 views

Raspberry pi 4 won't boot and won't flash bootloader

My raspberry pi 4 2GB was working and suddenly stopped working, and booting. The green light flashes briefly once when i plug the alimentation, then stop. The red light is on. I tried with another ...
0
votes
1answer
5k views

Set a static IP address for wlan0 from /boot partition of Raspberry Pi on Raspbian Stretch Lite

I am using Raspbian Stretch Lite 2018-04-18. I currently have static IP working over wifi. I setup /etc/wpa_supplicant/wpa_supplicant.conf to connect to my wifi and setup /etc/dhcpcd.conf to use a ...
3
votes
4answers
334 views

Raspberry Pi run commands on boot

I thought that running commands on raspberry pi on boot was the easiest thing in my project. But it seems that it is complex enough not to work. I've searched a lot on the internet on a simple ...
1
vote
2answers
42 views

Raspberry Pi 3 B+ won't boot up after 1 week of use

So I just got a new raspberry pi 3 b+ earlier this week by RS Components and I got it working on the first day. A couple days I shut it down and later when I tried to turn it back on, it didn't all it ...
1
vote
0answers
49 views

Network boot multiple Raspberry Pis

I am looking into SD cardless network boot options for a bunch of RPis. I would like them to all boot from one server, which should provide either of two images to the raspberry, as well as an ...
0
votes
2answers
102 views

RetroPie won’t start up after I manually shut it down

I just setup my RetroPie and tested out a game. I then shut it off using the power button. When I tried starting it up again it doesn’t go past this screen. I unplugged it for an hour and tried again ...
1
vote
1answer
382 views

Stuck on Rainbow Screen after kernel upgrade on CentOS7

I ran 'yum update' on my Raspberry Pi3 running Centos7, and now it will not boot. Both LED's are solid (no flashing) and it does not get past the 'Rainbow Screen'. The following packages were ...
1
vote
2answers
130 views

Start my software before the user can even see that Raspbian is running in the background?

Say I have written an app. I would now like the raspberry pi to start up and go straight into that app, give the user no options to do anything on the raspberry pi's OS etc. or break out of it. I don'...
0
votes
2answers
54 views

How to run a program after reboot

RASPBERRY PI 4 Hello there, I have this script that should shut off a power outlet when it detects a movement. The rpi-rf_send code is from this repo. The question is: if the current goes away, ...
1
vote
1answer
33 views

RPI not booting, only red LED, not the SD card

My RPI 3B+ won't boot up anymore. Only the red LED lights up, the green one remains off. I use the official power supply, and my SD card is not corrupted. My SD card realy isn't the problem: I tried ...
1
vote
1answer
328 views

Feh in startup script only displaying images on reboot, not startup?

I have a Python script running on a Raspberry Pi Zero W that calls the image program feh in order to loop through some directories and display the enclosed images. The script is supposed to run on ...
2
votes
1answer
162 views

Running a persistent node js server on boot and keeping the command line open

I know there are a lot of answers to this question but none have worked for me and I've been at it for something like six hours... Most of the answers also look like they are years out of date. I am ...
0
votes
1answer
34 views

audio doesn't play when running program on startup

I have a python code that runs an mp3 file. It works perfectly when I run it through python 3.5.3 shell on my pi-top, and I also managed to make the program run on startup, but then everything works ...
0
votes
1answer
25 views

Would lifting the pads off of the display and camera connector kill a RP?

Tried to remove some I/O that i dont need from my RP3 A+ to fit in a mobile project. Ive done this before on my RP3 B with great success. But I wasnt to gentle when removing the display and camera ...
0
votes
1answer
32 views

Autostart, detect directory and open in standard GUI

I want to detect the existence of a (directory on a) USB drive (/media/pi/Music), wait for it to appear, then open it in the GUI. Using xdg-open /media/pi/Music in ~/.config/lxsession/LXDE-pi/...
4
votes
4answers
11k views

SD Card Showing as 30 MB on a 32 GB Card. Can't Format, Can't create a partition table

A couple of days ago I received a new 32 GB SD card from Sandisk. Upon arrival, I flashed the Retropie 4.1 image for the Pi Zero onto it. I then put the card into my Pi, and plugged it in. Nothing. It ...
0
votes
0answers
19 views

CM3 - Moving system files into USB memory

I have a CM3 with 4GB eMMC, which is small and while CM3 cannot boot from an SD card, I was thinking of : 1 - Keeping the /boot files inside the eMMc. 2 - Having the rest of OS files (root directory)...
2
votes
2answers
6k views

isc-dhcp-server needs to be restarted after reboot

I'm having an issue with isc-dhcp-server. When I reboot I can see that it loads because it says "Starting LSB: DHCP server ...". However when trying to connect a PXE node to the server it does not ...
0
votes
1answer
41 views

What is the earliest place in the boot process where camera (raspistill) can be used?

It seems that right after local-fs.target doesn't work. Any idea what prevents it from working early in the boot process?
1
vote
1answer
80 views

How to Boot up the Rasberry Pi for the first time?

So, I am very new to using a rasberry pi, and I am trying to get it to boot up for the first time. I just used a formatted MicroCD Card, complete with NOOBS, and I am using an HDMI cable with a TV to ...
0
votes
1answer
185 views

RPI Motion service delay on restart

Is there any way to delay the start of the Motion service on RPI restart? I'm having an issue where v4l does not make it yet to provide /dev/video0 but Motion is already trying to open it and ...
1
vote
1answer
52 views

I can't find where I put my startup script?

Need help with a senior moment. Using a headless Pi Zero and Jessie. I have a Python script that is starting on boot or logon, but for the life of me I can't remember where I set it up. It's not in ...
0
votes
2answers
34 views

Update program on SD card Pi 3 by end user of device from web site

We have a prototype device that has inside a Raspberry Pi 3, Wi-Fi and our code is on the SD card. What is best option? Is there a library, where it can an act like a firmware update? Ideal use case:...
0
votes
1answer
39 views

Can't login after installing a line in terminal to start iceweasel browser on startup

TLDR: I added a line in the terminal for which applications to open on startup, and now I can't get past the login. Is there a better way to fix this than reinstalling my OS? I installed Iceweasel on ...
0
votes
1answer
163 views

Fallback kernel.img possible in config.txt

I have a raspberry with a customized OS. The image it should load is described in the config.txt on the boot partition. The image is called zImage and the line in the config.txt is: kernel=zImage I ...
0
votes
1answer
48 views

Driver Program that talks to a ttyACM device doesn't execute properly when called from rc.local, but its working when called from command-line

I have a program that talks to a ttyACM0 usb device. When the USB bus is power-cycled the program is supposed to re-initialize the device handle. The program executes properly and re-initializes the ...
0
votes
0answers
10 views

rp3 can't boot openelec

I am using rp3 and trying to install openelec from here and using the second one for rp2 and 3 I tried to format the sd card to fat32 Tried to copy the image after extraction using dd Tried using ...
1
vote
0answers
19 views

Assign multiple webcams to fixed /dev/video* at boot

I'm currently working on a project that requires taking pictures with 3 USB webcams but whenever I boot the raspberry, it assigns randomly a /dev/video "address" to each one of them. I'm not using ...
1
vote
0answers
14 views

Audio Injector stereo soundcard is preventing boot

I recently bought a Audioinjector stereo soundcard HAT to stream sound on my raspberry pi running Raspbian. I went to their website and installed the .deb installer file and ran it with audioInjector-...
1
vote
1answer
412 views

RPI3 “Reboot” and “Shutdown -r” Failing on Raspbian Jessie

Whenever i try to reboot my rpi 3 using sudo reboot or sudo shutdown -r it fails to boot up again. However all works fine if power it down and power it up again. I've had a look at booting ...
0
votes
1answer
175 views

Service won't run python srcipt with privileges RASPBIAN JEESIE

I have script in python that need to be run with "sudo" keyword. Everything because I'm accessing "/dev/mem". Now I need to start this python script on RPi startup. So I create simple service that ...
0
votes
2answers
212 views

Automatic shortcut execution on boot

I want to achieve following: run my GUI (made in Tkinter interface) application automatically as I boot the RPi (i.e. no desktop screen loading). But I want to be able kill the application so I can ...
0
votes
1answer
5k views

How do you fix a “failed to start dhcpcd on all interfaces” error?

i've never had this error since i bought my rpi3 last january. Any advice? Details: OS: Raspbian Stretch Never edited /etc/network/interfaces as pi is attached to router via cable and had not ...
0
votes
1answer
101 views

RPi2 - installation of PIXEL: incomplete apt-get dist-install; unable to reboot to rerun dist-install

Raspberry Pi / Jessie. This morning I attempted install of PIXEL, following the sequence of commands on the Raspberry Pi website page for PIXEL installs. The apt-get update completed successfully ...
0
votes
1answer
62 views

upstart prevent pi from booting properly

I followed this guide to use my pi as a MIDI synthesizer. http://andrewdotni.ch/blog/2015/02/28/midi-synth-with-raspberry-p/ Everything worked well until I installed uptsart. Since, my boot screen ...
2
votes
1answer
79 views

Javascript pm2 fails to persist my scripts at RPI boot time

I do this to make my scripts run on Raspbian start: sudo pm2 startup ubuntu sudo pm2 start my_script.js sudo pm2 start another_script.js Yet, RPi starts without them, what can be wrong?
0
votes
1answer
26 views

Different Boot behavior for cloned Pi

I am running a python script on my Pi 3 B+ and registered it in a crontab @reboot so it is executed when booting the system. On my development Pi everything works fine, but when I clone the SD-Card ...
0
votes
1answer
158 views

Raspberry Pi OTP and booting from USB

I was reading this article about booting the Pi from USB It mentions that the Raspberry Pi 3 requires the USB boot bit to be set in the OTP (one-time programmmble) memory. ... Once ...
1
vote
3answers
105 views

What file instructs the wpa_supplicant.conf to move from boot partition?

I want to change it to copy, rather than move. OK, some googlefu suggests it's in this service raspberrypi-net-mods.service https://github.com/RPi-Distro/raspberrypi-net-mods/blob/master/debian/...
9
votes
5answers
9k views

Use /boot/cmdline.txt for creating first-boot script

Many questions have been asked about how to find my Pi on my network. Others - including myself - have time consuming issues while trying to deploy a batch of fresh Pi's. While the creation of ...
0
votes
0answers
27 views

Boot Partition “Run Once” Headless Script [duplicate]

To setup SSH and Wi-Fi connectivity before even booting up a Pi for the first time, one can put files into the boot partition on the SD card. This has me curious. Suppose I have a particular setup I ...
1
vote
2answers
104 views

How to clean up /boot partition?

I haven't run apt upgrade on my Pi 3 in a while and did it today. It resulted in an error message with my /boot partition being filled to 100%. Any subsequent apt commands are resulting in errors ...
1
vote
1answer
92 views

Cannot Load Library “./pxcore.so” to autorun a python script on boot using systemd

I want to run a code at startup but I am getting this error below. The script works when running in python, but I am unsure how to allocate permissions or where to make a path to the pxcore.so file so ...
11
votes
4answers
7k views

btrfs root filesystem on raspbian

I thought I might experement with btrfs as the root partition to see how it handles file corruption during power cuts. But I can't get it to boot. What I did: on the PI before switching: apt-get ...
1
vote
0answers
41 views

Boot: Started Update UTMP about System Boot/Shutdown

I have been using Raspi as a local Django server for a few months now. One day, when I came back from work the local server was not working anymore so I decided to unplug and plug back the power. ...
0
votes
1answer
49 views

RPi 3B+ won't boot and stare at Red LED but SD not corrupted

1 month ago, I was building a case for my Raspberry Pi 3B+ and I accidentally spilled water on it (I dried it and all) and the sd card was corrupted. I then went to vacation, 1 month passed and got ...
0
votes
1answer
111 views

Raspberry pi 3 boot issues

Got a new Raspberry Pi 3 and I'm trying to use it with my Mac. I formatted the SD card and downloaded NOOBS. The green light comes on sometimes but when I add this to terminal: ssh pi@raspberrypi....
0
votes
0answers
25 views

How can I run a PxE server off my Pi to PxE boot Windows Images?

I've come across many different options to run a pxe server on my pi but I run into trouble with each of them. The most promising was PyPxe but this was my last experience with trying that option. ...
0
votes
1answer
129 views

Why is ttyAMA0 initialization too long?

If I understand the dmesg output correctly, there is something happening for almost one second around the UART console initialization: [ 1.090771] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq =...