Questions tagged [boot]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
292 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
65 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
199 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
33 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 ...
7
votes
4answers
3k 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
756 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 ...
1
vote
1answer
59 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: ...
1
vote
1answer
377 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
686 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
239 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
28 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
350 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
109 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
434 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
28 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
38 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
385 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
176 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
130 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
247 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
143 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
110 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
83 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
657 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
712 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
158 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
86 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
2k 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
252 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
57 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
35 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
488 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
81 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
82 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
363 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
542 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
259 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
490 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
63 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
194 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
771 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 ...
1
vote
1answer
1k views

Run node.js code on startup

I've been trying to run this code on startup for the last two days: I've tried the rc.local method, the init.d method and sudo crontab -e method but none of them worked for me ! The file is ...
0
votes
1answer
643 views

How to run a script which uses I/O's on startup?

I have a python script which makes use of the standard RPi I/O's where I am detecting multiple inputs and storing values to a database. The script runs without exiting until the Pi is powered off. ...
1
vote
2answers
124 views

Start Python CLI app on startup

I have a Raspberry Pi 3b+ that is booting to the pi user terminal, no GUI. I need to have a small CLI app run after the pi has finished booting. So far I have tried editing /etc/rc.local, and using ...