Questions tagged [boot]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
94 views

How to handle a supposedly corrupt boot partition?

After working flawlessly for many months, in the morning, possibly after some packages were installed (or any other reason), my raspi showed a frozen desktop. I could not connect via ssh, so I had to ...
0
votes
0answers
7 views

Fail to boot without udev hook [on hold]

I was trying to make a minimal initramfs when I remove udev hook, the raspberry cannot mount mmcblk0p2 as root. It seems it was trying to mount before the device is initialized, how to fix this?
1
vote
2answers
18 views

Start smartcard service at startup in a raspberry pi

I have a raspberry pi connected to smart card reader (OMNIKEY 3121). I installed all driver and libraries needed. In order to use the card reader it is necessary to activate its service: sudo ...
3
votes
4answers
234 views

Raspberry Pi run commands on boot

I thought that running commands on raspberry pi on boot was the easiest thing in my project. But it seems that it is complex enough not to work. I've searched a lot on the internet on a simple ...
0
votes
2answers
29 views

Setting up a shell script to run at boot with sudo permission

I had issue with BLE Connection which would drop after certain time which I solved using solution from this post: https://unix.stackexchange.com/questions/288978/how-to-configure-a-connection-...
1
vote
1answer
27 views

Boot time problem

i want to reduce boot time on my Raspberry Pi 3B+. I'm using this tutorial http://himeshp.blogspot.com/2018/08/fast-boot-with-raspberry-pi.html and i done 1,2 and 3 step. After this i reboot Pi and ...
0
votes
0answers
18 views

Display rotate not working in Raspberry Pi 64 bit

I can boot with a 64bit OS on a Raspberry PI 3, but when I change display_rotate (config.txt) to 3 (270 degrees), it stuck on the 4-colour initial screen. The funny thing is that when I use a 32bit OS ...
1
vote
1answer
24 views

Boot behavior, Pi 3 B+ won't boot with GPIOs connected, 3 B boots fine

I have a 40 pin ribbon which connects an RPi 3 B (SPI and GPIO) to another microprocessor. It seems to work fine on a 3B. I've recently found out that if I connect a 3 B+ instead the Pi will not boot, ...
0
votes
0answers
23 views

Boot Partition “Run Once” Headless Script

To setup SSH and Wi-Fi connectivity before even booting up a Pi for the first time, one can put files into the boot partition on the SD card. This has me curious. Suppose I have a particular setup I ...
0
votes
4answers
50 views

Boot into text console and auto run script

I've had success with many ways of running a python script at boot on a Raspberry Pi (rc.local, cronjob, etc). However, how could I have the pi boot into the text console mode (not GUI), and ...
1
vote
2answers
57 views

How to clean up /boot partition?

I haven't run apt upgrade on my Pi 3 in a while and did it today. It resulted in an error message with my /boot partition being filled to 100%. Any subsequent apt commands are resulting in errors ...
0
votes
1answer
132 views

USB problem on raspberry pi 4 won't boot

I have a strange problem with a pi 4. I have my Raspberry pi 4 powered by an external alimentation 5V 2Amps, there is 2 usb device connected to (an Arduino Mega and the touch usb for the display) and ...
0
votes
1answer
24 views

Rpiboot - Failed to claim interface

I'm using usbboot/rpiboot with Raspberry Pi 0. Usually when I try to discover device the device is found without a problem and the booting process succeeds, recently I upgraded the firmware (bootcode....
0
votes
0answers
56 views

Boot in emergency mode after restoring the Pi

I wanted to have a backup system for my raspberrys using Raspbian: simple, versioned and automatic like Time Machine on my mac, so I installed Borg Backup and started saving the full system on an ...
0
votes
1answer
27 views

Why does /dev/mmcblk0p2 work when PARTUUID doesn't?

Goal Hi my PI keeps rebooting after I added two lines to the rc.local file. Now i am trying to log into the boot shell and edit those two lines out. Problem I added init=/bin/bash to the cmdline....
0
votes
1answer
45 views

RPi 3B+ won't boot and stare at Red LED but SD not corrupted

1 month ago, I was building a case for my Raspberry Pi 3B+ and I accidentally spilled water on it (I dried it and all) and the sd card was corrupted. I then went to vacation, 1 month passed and got ...
2
votes
2answers
46 views

RaspberryPi keeps rebooting after i changed rc.local file

my raspberryPi keeps rebooting and I have no idea how to solve this problem other than recovery the image. I haven't backuped for a while so I prefer not to recover it from an old one. Background I ...
0
votes
0answers
37 views

How does the RPi Boot work?

I am a complete beginner in Raspberry pi and have very little knowledge of the Operating system. So to put on the OS on my new Raspberry Pi I come across the "RPi Boot". When I follow the steps as: ...
0
votes
0answers
50 views

VLC Playlist loop on Raspberry startup

I am trying to create the simplest digital signage, so I thought I could create a VLC playlist and then play it on system startup on fullscreen and with hidden cursor. I've read about the paid ...
1
vote
1answer
25 views

Signal from GPIO 14pin during raspberry pi booting

I'm doing an IoT project. I had a problem related to GPIO pin 14. Even though I solved the problem, now I have questions about pin 14. the question is below. During booting, relay connected to 14pin ...
1
vote
1answer
24 views

Python boot run script act strange with GPIO (software serial)

I put my python script as boot running(rc.local) on my headless Rpi 3B+. It meant to controls three identical devices through serial cable and I am using GPIO PINS[17,27,22] for the software serial. ...
0
votes
0answers
24 views

I can't tur on my Raspberry Pi 3 B+

I just bought my first R PI B+. I have a Kingston 128GB micro SD card with NOOBS downloaded on it. The device is connected to monitor with HDMI cable (I tried 3 different monitors), but it isn't ...
0
votes
3answers
46 views

SD card broken readonly switch, now I broke /boot, no USB keyboard in initramfs. Any way to write to card?

TL;DR: RPi won't boot, other computers check the R/O physical switch, the switch tab is long lost. I have a backup with previous, working state, but can't write it onto the SD card. I have a RPi1, ...
0
votes
0answers
23 views

Where is the GPU firmware loaded into?

According to cursory explanations of the booting process and software such as this, the small second stage bootloader on the SD card enables the GPU to access its firmware on the SD card and load it. ...
2
votes
0answers
22 views

ReBoot Rasperry 3 from SD, after putting the card in a RaspPi4 by mistake

I've got a problem and I really hope it's just a small step for you, but a big leap for mankind, or at least for me. I have a Rasberry3 working very fine on a SDCard. I bought a new Raspberry4, of ...
0
votes
0answers
21 views

Run simple xterm command at desktop start

I've been searching for this for hours, really hoping someone could help me out here. We're using a raspberry pi for digital signage, and I just want to run pianobar (runs in a terminal) behind it ...
3
votes
3answers
467 views

NOOBS stuck at rainbow screen - Raspberry Pi 4

I formatted my SD card to fat32 using GParted and copied all the files from the official NOOBS Lite download: https://www.raspberrypi.org/downloads/noobs/. I unzipped using unzip command on the ...
1
vote
1answer
38 views

Need help with running terminal commands on startup

I made my Zero into a radio transmitter and I am trying to make it transmit on startup, I am not quite sure how to do it, I've looked around different forums but I can't really find anything. I would ...
5
votes
1answer
212 views

Run Raspbian in RAM

Since the first version of Raspberry Pi, I use a customized version of Raspbian in order to mount the rootfs in read-only. Basically I created symlinks in RAM for /var directories so applications don'...
0
votes
0answers
174 views

Run program on raspbian buster LXDE startup

I know this question has been asked before, but the methods referenced are not working for me. Currently I have done this: sudo nano /etc/xdg/lxsession/LXDE-pi/autostart and added the line @python3 /...
0
votes
0answers
14 views

Can't read from serial0 using PySerial when python script starts at boot [duplicate]

I have a Python script that uses Pyserial, connects to '/dev/serial0' and reads from it in loop. The script works fine when starting it manually after the RPi is up. However, when I added the script'...
0
votes
2answers
53 views

Configure Raspberry pi to run my application before GUI Desktop

I have created an application through Python that has library dependencies on Qt4, pyqt4, pyqtgraph etc. This application is based on Raspberry Pi, I have developed and finished it on the platform. I ...
1
vote
1answer
26 views

Boot up process of keybow raspi zero and transfer to keybow executable. How does it happen?

I am investigating the pimoroni keybow little keyboard. The system is powered by a raspberry pi zero, and pimoroni provides an sdcard system, available on github at https://github.com/pimoroni/keybow-...
1
vote
1answer
26 views

Start-up script runs under root and in the background

I'm trying to get a .sh script to run on system start-up. I've tried it several ways that don't work. The closest I got was using adding a line to /home/pi/bashrc sh /home/pi/Desktop/run.sh & ...
1
vote
1answer
42 views

Good SD card, Pi won't boot

I have 2 x Raspberry Pi 3s (mine is a 3B, his 3B+). I cloned my SD card for a friend, and the new card works in my Pi. His Pi will only boot to the rainbow screen. Solid red light on the back. The ...
0
votes
0answers
42 views

My Raspberry Pi crashed after pulling out USB drive from it

My Raspberry Pi's OS is Raspbian Stretch Lite. My Raspberry Pi crashed after pulling out USB drive from it. I'm not able to access it via SSH. I have connected the SD card of my Raspberry Pi to my ...
2
votes
2answers
71 views

Is it possible to boot from both USB and SD-card

After following official USB boot instruction I was able to write program_usb_boot_mode=1 to OTP and boot from USB. But it looks like am not able to boot from SD-card anymore. Are these options ...
1
vote
1answer
236 views

Raspberry Pi4B Not Booting - Solid Green

Just got a Raspberry Pi4B, I have tried all night to get this to work and have had no luck. Both the red and green LED indicators are both on, not blinking. I have followed all troubleshooting advice ...
0
votes
2answers
129 views

Kernel Panic VFS Error During Boot

I recently started getting this error during bootup on an SD Card with Raspbian Stretch-Lite: ---[end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2) I looked around ...
4
votes
1answer
60 views

One volume does a *full* fsck every boot, even though it's clean

As the subject says, I have a Raspbian system (Buster, and this happened with the prior Raspbian version too) that runs a full fsck on one particular volume every time it boots. And this only happens ...
2
votes
1answer
128 views

RPi 3b+ corrupt /boot (Please give me the contents of your /boot)

Last Friday (July 19th) I did sudo apt-get update and sudo apt-get upgrade, then I shut it down. Today, I tried to power it up, but nothing appears on my screen. My HDMI cable is working properly, so ...
0
votes
4answers
42 views

How to remove the automatically displayed PDF after boot?

I gained a Raspberry PI board. I want to dive deep in it's programming, but I've faced a disturbing problem: After booting automatically displayed a PDF. I can close it, but I don't want to do ...
0
votes
1answer
75 views

GPIO pins set to output on boot after apt-get update+upgrade

I recently got a CrowPi kit w/ Pi 3B+ to mess around with and eventually pull the Pi out and use in another project. I did a sudo apt-get update and sudo apt-get upgrade today seeing as a good number ...
1
vote
1answer
95 views

Boot stuck at rc-local.service

I setup Rasbian on a 32GB sd card and inserted it into Raspberry Pi 3 Model B(V1.2). When I swtch on the Raspberry Pi, It's boot stuck at rc-local.service. First I tried Rasbian. I flashed the image ...
0
votes
0answers
178 views

NOOBS hangs on rainbow screen, does not boot

I've installed NOOBS using the standard instructions included in the zip file, but every time I insert the SD card, boot hangs on the rainbow screen. What's funny is that if I flash the card with ...
1
vote
2answers
48 views

How to clone a ssd which I am using to boot

I have an SSD that is connected via USB to SATA cable to the Pi. I have a lot of files and settings saved on this SSD, I wanted to make a backup of this on another SSD, such that if something happens ...
1
vote
1answer
56 views

Load and unload hwclock (RTC) at boot. Can't get device to unload

On a Raspberry Pi 3 B+ I'm trying to read from a DS3231 RTC at boot time, sync the time to the system time and then unload the device. All the commands function from the terminal so I thought it would ...
1
vote
2answers
94 views

Resizing partition on an external disk renders it unusable as a root partition?

I'm attempting to configure my raspberry pi 4 to boot from an external disk, and it works pretty well! I've configured it to boot from the partition ID I get from sudo blkid corresponding to my boot ...
0
votes
0answers
31 views

Run curses based python script on start up [raspbian stretch]

I'm trying to auto start a curses based python script on startup of my RPi 3+ (running on raspbian stretch) What I did so far. I've got a python script demo1.py, import curses ...
1
vote
1answer
24 views

Arch Overscan Screen Slanted

Recently I have attempted to install Arch Linux on my Raspberry Pi 3B for a small project. After installation of the OS according to https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3, ...