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
0
votes
2answers
751 views

Raspberry pi starting shell script at boot not working

I've been trying to implement a custom procedure triggered by a button connected to my raspberry pi. To do that I've tried to launch a python script on boot that always listens to the button trigger. ...
1
vote
2answers
653 views

Why doesn't my autostart file run a simple shell script

I am trying to launch a simple script (let's say it is /home/pi/python/python_code/hello-world.sh) from the /home/pi/.config/lxsession/LXDE-pi/autostart file. I have added the following line to the ...
0
votes
0answers
44 views

Prepare SD card for auto-pairing with bluetooth keyboard

I already own a bluetooth keyboard, and want to use it with my newly ordered Pi Zero W. I don't want to buy a USB keyboard just for bootstrapping. Given the bluetooth MAC address of my keyboard, and ...
0
votes
2answers
103 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
46 views

Don't start Pi on power connection

I've currently got my raspberry pi setup with a power switch that wakes it up from power off (using GPIO3) and shuts it down safely using a simple python script. Pretty basic stuff. The problem ...
-1
votes
3answers
340 views

Runing python script after startup

R Pi 3 B+, Raspbian I would like to run a Python script after the Pi has booted up. There loads of posts about this like here & here & here. They either dont work or I just plain dont ...
1
vote
0answers
60 views

How to speed up my Raspberry pi

I'm planning to do Auto start Chromium-Browser in kiosk mode. But it takes 45 sec (from powerup raspberry) to totally load the particular link. is there any way to decrease the time..?
0
votes
1answer
50 views

Can I set the Pi3 to automatically lock on bootup?

I'd like my Raspberry Pi to immediately go to the lock screen upon boot up, similar to Windows. Every tutorial I find is for locking it after awhile though, and I can't find a single one that explains ...
1
vote
1answer
334 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 ...
0
votes
1answer
307 views

/etc/rc.local fail on boot with “Failed at step STDOUT spawning /etc/rc.local: No such device” in /var/log/syslog

I am trying to diagnose why /etc/rc.local is not successfully executing on boot of a raspberry pi. I have stripped the content of /etc/rc.local to a minimal version, and still cannot get it to touch ...
0
votes
1answer
46 views

Python program issue run at bootup, just work one time [closed]

I have some problem on Rpi3. I work for kiosk program. I created python script. If rpi connect to internet, chrome shows page from internet but if there is not internet connection on pi, chrome shows ...
0
votes
1answer
57 views

Python script execution time limits?

I have a python3 script called bot.py which is running a simple (for now) telegram bot, and I can retrieve some PI system states. It's required to maintain the bot online, so I added next string to ...
0
votes
1answer
334 views

Raspi 3B+ Broken SD card slot USB boot? Berryboot?

So I bought a $60 Raspberry Pi 3B+ startup kit from wish I know Im dumb and it had been working for a good bit but then after a week or so I had been trying to figure out what OS to use and what LCD I ...
1
vote
0answers
34 views

Bootup activity on SPI0, even when not enabled

RPi 3B+ uname -a Linux GWf231a6 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux /boot/config.txt: #dtparam=spi=on I'm getting weird waveforms on my SPI bus at boot even when SPI ...
0
votes
0answers
320 views

Raspberry Pi 3 won't boot, red LED light only

I was using my RPi for testing the sensors of my project, when suddenly it stopped and won't boot after that. I did not touch anything nor destroyed parts of the pi. The sd card is working fine as it ...
2
votes
0answers
89 views

Raspberry Pi B v1.2 Non Deterministic Dots or Splashscreen on Boot

I'm running a basic program on a Pi B v1.2 for an embedded use case. Because of this, I would like the boot process to look as nice as possible. The best way I've seen this accomplished is with a ...
0
votes
0answers
17 views

Pi stopped booting after one night

Last night I set up my Raspberry Pi Model 3B+ as a Samba Server with an External Hard drive. After connecting to it on one of my PCs, I went to sleep. I also had VNC Server set up on the Pi so I had ...
0
votes
1answer
266 views

raspberrypi-bootloader error during apt-get upgrade after restore form backup, how to fix?

I recently restored a pi 3 from a backup. Before the incident that required the restore I had it booting from a USB SSD hard drive. To restore the operating system I simply copied the root directory ...
1
vote
1answer
165 views

Pi 2 won't boot without touchscreen connected

Timeline of events: Installed a stable version of Raspbian, all systems work no real testing with the GPIO but HDMI and SSH work. Tested various GPIO pins for running fans and several pieces of ...
0
votes
1answer
187 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 ...
0
votes
1answer
193 views

Terminal and program run on boot-up

I am trying to find a way to open a terminal and run a program on boot using Raspberry Pi's newest Raspbian Jessie. I have tried to use the following: /home/pi/.config/autostart/whatever.desktop [...
0
votes
1answer
57 views

How can I recover from a system boot autoload service that keeps rebooting?

I don't want to start over from scratch. There are several ways I could change the monitor.service so it would fail or run without booting: pi@raspberrypi:~ $ sudo systemctl --full edit monitor....
0
votes
1answer
160 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 ...
0
votes
0answers
32 views

Pi3 won't boot Assertion 'str' failed at ../src/basic/utf8.c:195

I have an raspberry pI 3 that won't boot. The problem is probably the sd card since it works when I switch to another sd. During the boot screen the PI give me "Assertion 'str' failed at ../src/...
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 ...
6
votes
4answers
2k views

How can I use an init ramdisk (initramfs) on boot up Raspberry Pi?

I need to load driver on early stage booting. For development I use LVM (logical volume manager) so I can easily revert test setups to the default image from a snapshot. For this I have to load the ...
1
vote
1answer
598 views

How to fix the systemd file permissions?

I have a raspberry pi python3 program "monitor.py" that works from the terminal But it fails to run when I start it from boot. Check status: pi@raspberrypi:~ $ systemctl status monitor.service ● ...
0
votes
2answers
32 views

How to examine the booting status of a Pi0 without USB/HDMI connection

I connected several devices to my raspberry pi Zero. These devices are breakout boards for sensor and some ICs. Sometimes I suspect that one of the boards has short circuit. For example, when I modify ...
0
votes
0answers
53 views

SD card in read-only after NOOBS installation

I was booting for the first time a Raspberry Pi with NOOBs, the installation was doing fine until it got stuck for more than 20 min. After a quick read on the internet it was apparently fine to power-...
1
vote
1answer
56 views

Can the GPIO pins be used to compromise a raspberry pi?

For example, would a touchscreen device that uses the below pins on a Raspberry Pi 3 be able to do something more than say, send touch and keyboard events? Anything hackish/nefarious? (edit: use case: ...
0
votes
0answers
30 views

Christmas Present Help - Raspberry Pi 3 - Run Interactive Python Program in Console on Login

So, I'm using the Pi 3 as a soundboard using the code found here: What I am looking to accomplish here is to have the Pi automatically run the code upon boot. So far, I have changed the default ...
1
vote
1answer
313 views

cmdline.txt appears to be empty after editing it

I've edited cmdline.txt on my Raspberry 3b + model to not show the logo during the start up. I've added logo.nologo at the end of a line. After that, I restarted the device, but I was still seeing ...
0
votes
1answer
531 views

I fail to start a python program in Thonny on startup

------------- instructions to configure systemctl ------------- [Running a script at bootup : Good practices?, rc.local falling, Other options? The following is the selected answer to the above ...
1
vote
1answer
207 views

Pi won't boot after memory swap

When turning on my Raspberry Pi, the boot fails after an error. It says: -bash: /usr/local/virtualenvwrapper.sh: No such file or directory This happened after I changed the /etc/init.d/dphys-...
1
vote
0answers
25 views

Bash Script wont launch GUI at startup [duplicate]

I need to launch a couple programs on startup, and I wrote a bash script to do so as follows: #!/usr/bin/env bash echo "Starting up" >> "/home/pi/Desktop/startup-log" CONTROLS_DIRECTORY="/...
1
vote
1answer
293 views

Raspbian Stuck on Boot Info

I am new to the Raspberry Pi, so sorry if I am missing something obvious here. I was about to install something, so I typed in sudo apt-get update, sudo-apt get upgrade and then sudo reboot. While it ...
1
vote
1answer
87 views

Configure pi so it doesn't show boot info - splash screen only

I'd like to configure my pi 2 so that I dont see any booting info. I'd like to have a splash screen (or video if thats even possible) and boot into a C++ game I wrote.
6
votes
2answers
365 views

Boot from USB, if no then SD card

What I want to do is something really simple just like in an ordinary computer you can set the boot order, I'd like to do this on a raspberry pi, if there is a bootable usb media use that, if not fall ...
1
vote
0answers
25 views

Using command (dd if=/dev/mmcblk0p1 | sha1sum) while running from initramfs [closed]

I have an opensource airgapped raspberry pi project seen at the following link: www.privatekeyvault.com I have provided a method for installing LUKS full disk encryption seen at the following: https:/...
4
votes
1answer
2k views

Run steam link automatically when starting raspbian

I have installed steam link in raspbian stretch, but I would like it to start when the operating system starts, I've been reading and I tried it with init.d but it did not work for me. Thank you.
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
2answers
30 views

Program not able to open file at start up but when running from command line, runs as expected

using a library from https://github.com/BLavery/LIBtft144 this line of code doesn't seem to run when I run the program from a systemd. I also tried calling it from a crontab call of my .py program. ...
0
votes
2answers
309 views

auto execute a terminal command in raspberry pi startup

I am working on a pi project which uses audio out through HDMI. I am using respeaker mic for audio in. My problem is everytime when I startup the pi, the default audio is analog. I need to change it ...
0
votes
1answer
152 views

Python script loads on startup with a GUI, but none of the fonts load with it

I'm working on integrating my raspberry pi into a car display that shows some OBDII readouts. However when I auto start my python script none of the fonts get loaded and it looks like this: However, ...
1
vote
2answers
89 views

Mounting of USB drive within rc.local works only until I log-in

This worked prior to current upgrade. Here's my rc.local (fragment): date > /tmp/rc.log sleep 20 mount /dev/sda2 /mnt/sg3t/ df >> /tmp/rc.log sleep 10 df >> /tmp/rc.log after login, ...
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
126 views

Booting from USB

I have spent well over 2 hours on trying to boot my Pi 3B with USB. From what I have understood, as long as the program_usb_boot_mode is set to 1 you can simply plug in the USB and boot. However, in ...
0
votes
2answers
3k views

Is it possible to clone the SD Card to a USB flash drive and boot from it?

I have a new Raspbery Pi 3 B+ which actually boots from a 8 Gb SD Card. Now I want to toggle to a 32 Gb USB flash drive, so I wanted to clone the SD Card. I think it should work, but I can't succeed. ...
0
votes
2answers
2k views

Failed to start Load Kernel Modules and now Keyboard & mouse won't work

So I was buys performing an update and upgrade of the raspberry pi using sudo apt-get update sudo apt-get upgrade While that was being performed The system accidentally shut down during the last few ...
2
votes
0answers
99 views

GPIO reading high (because its an input) at boot

I am making a thermostat and one of the issues I have with the pi is that on restart it sets all its pins to input which will provide power to devices, in this case a relay being used to switch on and ...