Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [boot]

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

3
votes
1answer
61 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
15 views

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

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:/...
0
votes
1answer
59 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
20 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
20 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
29 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
22 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
25 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
36 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
42 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
46 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
1answer
67 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 ...
1
vote
0answers
30 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
0answers
18 views

TK app startup when initial boot

I have two programs I need to start as soon as the windows manager launches but I'm having problems. I added the startup commands to: ~/.config/lxsession/LXDE-pi/autostart /etc/xdg/lxsession/LXDE/...
0
votes
1answer
25 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
0answers
47 views

Booting from GPT

Does Raspberry Pi 3B+ support booting from USB drive with GPT? I changed my partition table to GPT and all I see is a rainbow-colored square.
0
votes
2answers
54 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
38 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
0answers
13 views

Recording Video at boot up but not saving it

I am working on a project which a part of which is to capture a 5 second video in .h264 format and then convert it to .mp4 (I'm using subprocess for that). I have coded to see the preview of the video ...
0
votes
1answer
55 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
0answers
12 views

video not saving at boot up

I am working on a project which a part of which is to capture a 5 second video in .h264 format and then convert it to .mp4 (I'm using subprocess for that). I have coded to see the preview of the video ...
0
votes
1answer
32 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
62 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
71 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
32 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
51 views

Raspberry Pi 3 Model B+ status led Act not lighting

I have two Raspberry Pi, One is Raspberry Pi 3 Model B and second is Raspberry Pi 3 Model B+. After putting the SD card when I give power supply, the model B pi's PWR led lights constantly and ACT ...
0
votes
0answers
19 views

RP 3b - green led flashes 4 times

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 ...
0
votes
0answers
22 views

Libreoffice Impress Show Powerpoint on boot

I had created this bash script: #!/bin/bash echo script is working > /tmp/testing.log & libreoffice -show /home/user/test.odp I had done the echo command to verify that it runs on boot, but ...
0
votes
0answers
98 views

bcm2837 raspberry pi 3 b+ linux image

I tried boot from NOOB, raspbian but only I see red light is on, green light is off. Where can I found out sd card image for bcm2837? NOOB image consists of files: bcm2708-rpi-0-w.dtb bcm2708-rpi-b....
0
votes
3answers
48 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
0answers
98 views

How to Set Default GPIO Pin State for Boot

When booting the Pi the default pin state seems to be HIGH. Is there a document that I can edit that will change their default state to LOW?
0
votes
1answer
26 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
50 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 ...
1
vote
0answers
56 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
105 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
39 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....
0
votes
0answers
30 views

Pi zero w does not boot with power and usb keyboard connected

I have read through a lot of questions about my issue but did not find the correct answer. My new Pi Zero W does not boot when powered on when both of the USB ports are connected with a powersupply ...
1
vote
0answers
32 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
26 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
0answers
102 views

How to remove boot text in Raspbian Stretch Lite?

I've tried everything I have removed part of the booting process, but the text is still there. I have manage to hide part of the boot log. I'm left just with: Is there any way to hide that bit as ...
0
votes
0answers
29 views

Raspberry pi Boot issue

I am using Raspberry pi 3 B+ model with Integral 16GB microSD Card. Sometimes the raspberry does not boot at all and when I copy bootcode.bin file to the SD Card it boots up fine. Again after some ...
0
votes
0answers
112 views

First startup of Raspberry pi 3b+ with only laptop

I have a brand new raspberry pi 3b+, 16 GB SD card, ethernet cable and Windows 10 laptop. As i don't have any peripherals except mouse, i.e. a display and external keyboard, I'd like to set it up so ...
0
votes
0answers
50 views

Raspberry PI 3 stucks on networking.service on boot Raspbian

Hello I'm currently installing Raspbian in PI V3 Model B+ After installing it works properly for first day but next day when i start my PI it get stucks on networking.service on boot and pi never ...
0
votes
1answer
26 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
0answers
45 views

Issue with running python script at start

Im currently running a python script at boot up using the rc.local method. it works great when i have my mouse, keyboard and monitor connected. However, the end goal of this project is to be able to ...
0
votes
0answers
16 views

Unable to open terminal on launch on Desktop GUI [duplicate]

I have tried to add the command @lxterminal in the following locations: 1. rc.local - works only if i run rc.local on the terminal. It creates a new terminal 2. added @lxterminal command on the /...
0
votes
1answer
45 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
61 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
163 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. ...
0
votes
0answers
49 views

CM3: Set boot mode by OTP bits

I have a raspberry compute module 3 an I am trying to understand the boot flow and how I can set the OTP bits so that it ONLY boots from the internal memory. The raspberry documentation talks about ...