Questions tagged [boot]
These questions refer to the initial starting up of the Raspberry PI.
1,570
questions
-1
votes
1
answer
132
views
Error setting ZNC start at boot on Raspberry
I'm trying to start ZNC on my Raspberry at boot. I followed step by step this official guide creating the /etc/init.d/azn script
#! /bin/sh
### BEGIN INIT INFO
# Provides: znc
# Required-...
0
votes
1
answer
16
views
No sound and bad resolution when Pi turned on before AVR
I have my Raspberry Pi 400 hooked up through HDMI to an AVR that is hooked up to a projector. When I turn the AVR on and then I turn the Pi, everything works.
When I do it the other way around I get ...
2
votes
0
answers
148
views
Running Simple Script On Every Boot
Want to run a bash script start.sh with one command that executes tmux and ffmpeg at startup on my Raspberry Pi 4B.
The RPi OS loads the Desktop, but to interact with the process only need a terminal (...
0
votes
3
answers
112
views
Setting update command on rc.local
what will happen if I put my update and upgrade command on /etc/rc.local??
after reading some forums and all I understand that we can use crontab and so on. But what will happen if I do it in this way....
-1
votes
1
answer
313
views
Start menu for Raspberry?
I want to have a start menu for raspbian, which comes up after boot into console, where I can choose what to start: Console, GUI, Emulation Station or a media player like xmbc.
This could be a script ...
0
votes
0
answers
99
views
How to re-enable console login on Raspbery Pi image?
I have an image, which boots into neither console, nor GUI (only web services available). How this could be done? How to re-enable console login?
I can only edit image, not run raspi-config
0
votes
1
answer
97
views
Custom Config Files in boot folder
I am working with a pi image that I generated from a local pi that I customized to suit my application case. I generate the image using piclone.
Now I need to deploy the image on several pi(s) and ...
2
votes
1
answer
302
views
Raspberry Pi 2 boot sequence
I found following chart on Raspberry Pi boot process:
This is from https://docplayer.net/1716512-Embedded-linux-systems.html and if I understand correctly, it is for Raspberry Pi 1. Is it still ...
1
vote
3
answers
392
views
Problem running a Python3 script at startup with lxsessions
I have Raspbian Buster on a RPi4 and I was launching a Python3 based Kivy 2.0 app at startup. Since it is a GUI app that needs networking and bluetooth. The only way to make it work was an executable ...
1
vote
0
answers
106
views
Install recovery mode after already flashing Raspberry Pi OS?
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 ...
0
votes
1
answer
247
views
Relation between kernel.img and /boot/overlay/
I'm looking to dual boot between two root partitions.
I want to upgrade the other partition and then modify /boot/cmdline.txt to reboot on the newly upgraded partition.
There can be different kernel ...
0
votes
0
answers
113
views
Raspberry locked in Blackscreen after editing /etc/profile
Im Working on a Project, that on buttonpress via GPIO things would happen.
I got it working and wanted to add a way, that the Program starts on boot up. A quick search later i found this Video: https:/...
0
votes
1
answer
53
views
Downloads stop when I close Putty. What is happening?
I have Deluge P2P installed on my Raspery Pi. It seems the downloads stop when I close Putty, even though the Raspery Pi is still powered on. Should this happen? How can I prevent it? I don't have ...
0
votes
1
answer
151
views
Make external bootable disk for Raspberry Pi from bootable SD card
I would like to migrate my Raspberry Pi OS from SD card to external disk. In various posts I have read that Raspberry Pi 3 and 4 should support it out of the box.
However, when I just dd disk image ...
0
votes
2
answers
1k
views
Startup processes errors
I'am running "Raspberry Pi OS Lite (32 bit)" Released 2021-01-11 on a Raspberrypi 3 model B Rev 1.2. Running dmesg some warnings and errors are coming up.
1) Direct firmware load for ... ...
0
votes
2
answers
365
views
RPi 3 B+, set defaults for GPIO pins on boot and shutdown
I am using Raspberry Pi 3 B+ with
Linux raspberrypi 5.4.83-v7+ #1379 SMP Mon Dec 14 13:08:57 GMT 2020 armv7l GNU/Linux
to control a set of relays. I set:
gpio mode 7 output
gpio mode 0 output
gpio ...
0
votes
5
answers
141
views
Is it possible to select the root partition at boot time using GPIO pins
My Raspberry PI has 2 identical (kind of) root partitions. I would like to be able to select the other root partition at boot time using a GPIO pin in case I brick it.
1
vote
1
answer
78
views
help with boot failure because of fstab entry
had a power outage and, upon the return of electricity, my rPI (4.0) won't boot properly:
SETUP:
SD card for /boot and /root
USB-C SSD for data, partitioned into 1 NTFS for samba, 1 EXT4 for other ...
0
votes
0
answers
312
views
Windows 10 Setup on Pi Zero not working
I'm trying to set up a Raspberry Pi Zero (not a Zero W) with Raspberry Pi OS Lite (32-bit), headless through USB. I'm not great with computers (using CMD is a real headscratcher for me), to put this ...
1
vote
0
answers
80
views
How can i boot 3B+ without SD card holder from scratch
The problem is stable red light when powered up. I think SD car holder is broken. This happened suddenly a week ago. And it doesn't open anymore. Are there any way to open it without sd card holder ? ...
0
votes
1
answer
563
views
Unable to detect NVMe M.2 ssd in raspberry pi 4 8gb
Is it possible to use an NVMe M.2 as external storage on a Pi4b 8GB?
I have the following PCIe device: samsung NVMe PCIe 3.0 SSD 970 Evo plus, 500 gb +
external hard drive enclosure with a C to A ...
0
votes
0
answers
95
views
How to run a terminal command on startup [duplicate]
I'm new how can I run the following terminal command on startup:
"cd /home/pi/sdk-folder/sdk-build \ PA_ALSA_PLUGHW=1 ./SampleApp/src/SampleApp ./Integration/AlexaClientSDKConfig.json ../third-...
-1
votes
1
answer
21
views
Blank Screen possibly not booting
I have a raspberry Pi 4 (or I should say that my son has one). It worked great for about a week and now it is dead. The red and green lights indicate that the pi is plausibly running but there is no ...
0
votes
1
answer
741
views
Starting RPI GUI application at boot without desktop GUI and other functionalities
This is my first question here in forum. I have an RPi 3B+ with Raspbian OS installed in it with 16gb SD Card. I am developing a GUI application using PyQT. It's running just fine. I want it to start ...
1
vote
2
answers
598
views
After writing Raspberry Pi OS to SSD, I cannot add ssh file
I am trying to boot my Raspberry pi 4b from an SSD. After following the most recent instructions I could find for allowing booting via USB (updating bootloader, setting boot order), I installed ...
3
votes
3
answers
1k
views
Is there a log of Pi reboots?
Does the Pi keep a log of its restarts? I found a good record of "Booting ..." in /var/log/messages in one of my Pi's, but in another Pi, /var/log/messages shows only rsyslogd entries. Both ...
0
votes
2
answers
49
views
What happens shortly after boot to affect timers?
I have a program that has ill effects if run from .bashrc and I've dug deeper and found a minimal reproducible example.
The code below will print the elapsed time every second. If I run this program ...
1
vote
2
answers
87
views
Raspberry Pi - stdin at boot with rc.local
If I run a program via rc.local I get no access to the keyboard or monitor with stdin and stdout. How can I get around this?
0
votes
2
answers
134
views
USB booting from 2TB drive. How do I make a SD card image out of it?
Pi4, booting from a 2TB USB drive attached.
I've finally got the system the way I want it and I'd like to be able to make an SD card image from it so I can quickly recover when I screw it up. Total ...
0
votes
1
answer
835
views
I have Pi-4 that now refuses to boot
It worked great until something happened during an update (not sure what). Pi had been set to boot from USB and worked fine.
It now hangs during startup and, depending which USB drive unit (SanDisk 32/...
0
votes
0
answers
47
views
RPI 3 /boot full
I've installed Volumio v2.8.61 on a new mSD card. After making all setting, I checked the /boot folder - it's almost full (95%)! Therefore it's not possible to maka an upgrade. What's wrong?
The ...
-2
votes
2
answers
379
views
How do I run a bash script at startup that stays open? [closed]
I have a bash script which is in this directory:
/home/pi/darkCove/radio/start.sh
It basically transmitts an FM signal. Here is the code:
#!/bin/bash
sudo ./pi_fm_rds -freq 87.5 -audio pulses.wav -...
0
votes
2
answers
1k
views
Configure Pi to boot up and run script when plugged in without login
How can i set up my pi zero, so that if I plug it in, it runs a python program, without having to login etc?
The project goal is a device that plays an audio file on the push of a hardware button. I ...
0
votes
1
answer
691
views
Unable to change config.txt or cmdline.txt permanently
I am trying to edit the /boot/config.txt and /boot/cmdline.txt files.
However, anytime I edit or even copy them to the /boot like this:
sudo cp /boot/config.txt /boot/config.txt.orig
when I reboot ...
0
votes
1
answer
59
views
Boot from read-only USB media
I've bought a USB flash stick with a write-protect switch. I've installed and updated buster and enabled the overlay fs (also changing /boot to read-only).
The intent is to be able to boot with the WP ...
0
votes
0
answers
997
views
Will the Pi boot to exFAT partitions?
It's my understanding that originally the Pi's would not boot to exFAT. Also, they would not boot to USB or PXE boot, but the latter two have been enabled as time goes on. The official page for SDXC ...
0
votes
2
answers
773
views
firmware bug bootloader left irq enabled bank 1 irq 9 and boot fails
I updated the packages on my Raspberry Pi 2 (running Ubuntu Mate 20.04) by using apt update and apt dist-upgrade. Everything went smoothly. Then I restarted, and got the following error during the ...
1
vote
1
answer
640
views
Rpi 4B can't find the Alpine kernel (green light flashes 7x)
I began with the instructions here: https://wiki.alpinelinux.org/wiki/Raspberry_Pi
I downloaded the aarch64 Raspberry Pi release from alpine's website, extracted the contents of the .tar.gz archive, ...
0
votes
2
answers
304
views
OS image with ssh enabled
My Raspberry Pi appears to boot but there is no HDMI output.
I’ve tried various troubleshooting steps but with no success.
Before I go down the route of buying another Pi I was wondering if there’s an ...
1
vote
1
answer
291
views
Dual or Triple Boot Possible?
I'm wondering if it's possible to dual boot Raspbian, LineageOS, and RetroPie on an SD card? I've looked around and it seems like there is an issue with it not going straight into a bootloader like ...
1
vote
4
answers
4k
views
Connecting to a raspberry pi 4 using a docking station?
I've just purchased the Pi 4 model B and am buying the parts I need. I have a docking station I usually use for my laptop and was wondering if the Pi can be fully set up using a docking station via ...
0
votes
0
answers
75
views
How can I make a bootable USB image that can "chain boot" to the microSD card?
I am using an RPi4 in a product and want to make a bootable USB image that users can connect to reflash the microSD card. My solution (normal/microSD card image includes script that makes sure boot ...
0
votes
1
answer
251
views
RPI outputs to correct audio from shell but not from startup script
I'm using my rpi 3B+ as a headless embedded device. It has a USB speaker which I want to use for audio output.
What I've done
Having been through a number of SE questions, I've got a new alsa conf ...
0
votes
2
answers
315
views
Make Raspberrypi boot from USB first
I have RaspberryPi 3B+. I read that there is a way to make my raspberry boot from USB by changing config.txt that will change the OTP. Is there a way to make my raspberry to boot from USB and only if ...
2
votes
2
answers
873
views
Boot Raspberry Pi to GUI Qt app using OpenBox doesn't work
I'm trying to run Qt GUI application automatically when booting Raspberry Pi using Openbox but have problems and can't make it work.
Steps I did:
run raspi-config and changed Boot Options to Console ...
1
vote
1
answer
625
views
Raspberry pi 4 autostart app on selected screen
I'm trying to run 2 apps automatically after boot on raspberry pi 4. I already able to make them run after boot by using autorun file but i have no idea how to assign them to run on the selected ...
2
votes
1
answer
1k
views
How to run Arch from a usb SSD on a rasp4
I want to run the OS from a external ssd connected to the USB3 port of an raspi4.
After looking for a guide I am unable to find proper information. Is it possible?
For my part the boot can stay on an ...
0
votes
0
answers
44
views
Add startup app in config
I have a raspberry pi zero w and I need to add a python script to startup just by editing the files in boot unit, instead of adding a line to cron using terminal.
Thanks for help.
0
votes
0
answers
19
views
How do I add an installed application to startup? [duplicate]
I have an application installed from a .deb file, how can I add this to startup so that it opens once my raspberry pi has booted? I can't seem to make the examples I found work and they all look like ...
4
votes
0
answers
737
views
Plymouth bootsplash starting too late
I've set up a Plymouth bootsplash inside an initramfs on Raspbian buster. (It's using something similar but not identical to the raspi-config RO overlay.) But I've noticed that there's a ...