Questions tagged [boot]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
150 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
153 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
49 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
131 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
31 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
23 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 ...
5
votes
3answers
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
471 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
46 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
53 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
29 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
244 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
387 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
170 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
24 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
252 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
79 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
291 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
24 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
33 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
28 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
243 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
136 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
69 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
1answer
168 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
119 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
2k 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
1k 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
82 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 ...
0
votes
2answers
62 views

Trouble getting picam to take a photo on boot (init..d method)

I want the camera on my pi (Rpi 3B+) to take a picture every time it boots up. I've read through several other questions of people trying to do similar things, but I haven't ever found the script that ...
0
votes
2answers
485 views

Python script not running on start up

I have edited ~/.config/lxsession/LXDE-pi/autostart using nano (without sudo) to open a lxterminal and run a simple python script that contains an infinite while loop with a print statement. In my ...
0
votes
1answer
574 views

run bash script at startup

i needed 50+ rp points to comment on this one: Run bash script on startup my "problem" is that i use adafruits read only script: https://github.com/adafruit/Raspberry-Pi-Installer-Scripts/blob/...
0
votes
1answer
147 views

Couldn't get a display on the screen when using the RPi

I had a long time I didn't get my hand on the RPi. I got the Emlid image burned on a 8gb micro sdcard using the dd command. I have the pi connected to a the screen using HDMI to VGI cable, but I get ...
0
votes
1answer
73 views

Run Java Swing GUI on boot

I have a Java Swing GUI that needs to be run on boot. Tried adding a shell script (which starts the program) in config/lxsession/LXDE-pi/autostart : @sh script.sh script.sh: export DISPLAY=:0.0 ...
1
vote
1answer
931 views

How to reboot my Raspberry Pi after wrong edition of my fstab?

I edited my fstab file (/etc/fstab) to mount a new /media local network drive. After this wrong edition, my Raspberry eventually can't boot anymore. I get the error: Cannot open access to console, ...
0
votes
2answers
228 views

Problem with RFID-RC522 and Raspberry PI Background script

I am working a project to read an RFID tag, and make the buzzer sound. It works correctly in foreground. I call the python script via /etc/rc.local and it is triggered when I execute /etc/rc.local via ...
2
votes
1answer
48 views

Viewing the contents of an IMG file

I have an retroPi img file that I wanted to view the contents for. I've burned the contents onto an SD card and when my Mac mounts the volume, I only see 50 or so megabytes worth of content, yet when ...
0
votes
0answers
34 views

RP 3b - green led flashes 4 times [duplicate]

I tested one SD card on 2 different RPis and I get the same pattern: no boot, green led blinks continuously on a 4-blink pattern. This would point to a problem with the SD card but I tried reading the ...
1
vote
3answers
347 views

Boot: multi-user.target starting late

My Raspberry Pi Zero running Raspbian Stretch Lite (2018-10-09) seems to be slow at boot. First off, the state of the OS: It is basically a freshly installed image on a properly working Class 10 SD ...
0
votes
1answer
60 views

Can't achieve process about booting from USB

I'm trying to install RetroPie on an USB stick and I want to boot on it. So I follow this instructions HOW TO CREATE A RETROPIE USB BOOT DRIVE FOR RASPBERRY PI 3 The start of the instructions seems ...
1
vote
1answer
73 views

Raspberry Pi not booting up and sd card splitting

I am using a raspian stretch and tried to write the image onto a SD card. Whenever the writing process is completed a partition 4gb is formed and the windows prompts me to format it. I am using a 16gb ...
2
votes
2answers
286 views

raspbian stretch overrides cmdline.txt kernel.hostname parameter

i'm building an embedded prototyp with a raspberry pi 3b+ and its booting via pxe from the network read only. Multiple devices share the same root file system and just the boot folders are customized ...
1
vote
1answer
436 views

Raspberry PI 3 hangs on startup every other time

I have an issue with my Raspberry PI running Raspbian 9 hanging on startup - but not always. It will hang every other launch. When the problem occurs, the launch first hangs with the last message ...
1
vote
0answers
172 views

How to re-enable blinking terminal cursor on Pi after boot?

I have set up a clean boot on a Pi with Stretch Lite and set it up so that it disables displaying text during boot and shows a Plymouth splash screen. One of the commands in /boot/cmdline.txt is "vt....
2
votes
1answer
358 views

Setting official touchscreen display boot-time brightness

I've got an official display, and having found other questions about setting the brightness I know I can change the brightness, and make a script that will run on boot, but that means the screen will ...
0
votes
1answer
51 views

Booting directly into app: remove console prompt

I try to quietly boot into a qt app on a raspberry 3 running raspian stretch. In my /boot/cmdline.txt I have dwc_otg.lpm_enable=0 console=serial0,115200 console=tty3 root=PARTUUID=02e50ed3-02 ...
0
votes
1answer
134 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
573 views

Executing multiple scripts on startup in a particular order

I am running Raspbian GNU Linux (9) Stretch, on my Raspberry Pi 3. Project Overview Python script which makes use of 2 inputs to the Pi. Calculations are performed based on these inputs, and values ...