Questions tagged [boot]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
255 views

How can I create a bootable disk/image for raspberry pi?

I want to to create a (kind of) preset image for raspberry that will include some application set up that I'm working on a project of mine. So, let's start with a simple problem so that from this ...
2
votes
1answer
114 views

Kernel Parameters in AArch64

My Raspberry Pi 3B runs fine with the standard installation of ArchLinuxARM-rpi-3-latest.tar.gz. However I cannot set kernel parameters anywhere for a custom TFT. Formerly there was a file cmdline.txt,...
0
votes
1answer
135 views

Raspberry pi 3 boot issues

Got a new Raspberry Pi 3 and I'm trying to use it with my Mac. I formatted the SD card and downloaded NOOBS. The green light comes on sometimes but when I add this to terminal: ssh pi@raspberrypi....
5
votes
3answers
1k views

Issues with PXE boot with RPi 3B - no TFTP RRQ made

I've been running into issues trying to get a RPi 3B PXE booting - the Pi doesn't appear to make any TFTP request once it receives a DHCP response, but instead remakes the BOOTP request. This might ...
0
votes
0answers
49 views

Kernel Panic : VFS :Unable to mount root fs on unknown-block [duplicate]

I was having an issue with my Pi, and ended up having to refresh my SD card with a new copy of Raspbian. I followed the links and instructions on the Raspberry Pi site about cleaning the SD card. I ...
1
vote
1answer
461 views

My Raspberry Pi won't boot no matter what I do (It has worked before, nothing is broken)

I followed the instructions from this website on how to install Linux Kali on my Raspberry Pi Model B (which I have done before but had forgotten how to), and I plugged in the HDMI and microSD card, ...
1
vote
1answer
341 views

Adding gcc compiler to Poky image for raspberry Pi

I am using raspberry Pi 3 running a poky image built using the Yocto project. Is there any possible solution to add gcc compiler to the image? I found the cross-compilation very complicated and ...
0
votes
1answer
2k views

Run a .sh at startup with screen command

I want to run a program at startup, so I create a .sh with /.myprogram. I added to rc.local and program run in every boot, but I want to see program on console, so I need to attach a screen. If I do ...
0
votes
1answer
5k views

boot hang on random: crng init dome

I have kernel 4.9.80 (arm64) installed on a Debian stable system. This is on a RPI 3b. When the kernel gets to the line random: crng init done, it stops and never continues. I have read other articles ...
2
votes
1answer
1k views

Pi 3 goes to emergency message when trying to boot from pi 2 hard drive, can I make it boot?

I have a raspberry pi 2 which I've had booting off a USB SSD hard drive for some time. Now I have bought a raspberry pi 3 and was hoping that it would be as simple as swapping the hard drive and ...
5
votes
1answer
2k views

Change PI 3 against PI 3 B+ [duplicate]

Currently I have a PI 3 B running with Raspbian Jessie. It has a 3 TB external Usb-HDD which holds the root partition for the Pi. The SD-Card is only used to start the Grub and afterwards the HDD ...
2
votes
1answer
527 views

Startup Keystroke Macro

I have a Raspberry Pi 3 using Raspbian with a Chromium browser set to boot and display a web page of a live report, with Chromium refreshing every 2 minutes in order to keep live updated data ...
4
votes
5answers
3k views

Is it possible to produce a pipe “|” with a US keyboard and the vanilla Raspbian?

I am developing a replacement for the /sbin/init process that will run 1 time and then remove itself from the system. During development I need to be able to do some debugging. I have no SSH (or ...
0
votes
0answers
166 views

Turn ON raspberry pi with HI signal

I wish to start/shutdown my raspberry with my car ignition: When signal low - PI is off When signal hi - PI is on The first problem is described in many threads like this one and is straight forward ...
1
vote
1answer
685 views

All GPIO pins turn high for a second or two while Raspberry is booting

I have created a garage door controller using my pi zero w. I am currently using a GPIO pin which will send the signal to relay and trigger the relay for a second which connects the garage door switch....
0
votes
2answers
229 views

Send PWM signal from Raspberry Pi 3 BEFORE boot

I am using my raspberry pi 3 to run some services. When someone powers on the Raspberry I want to use RGB LEDs to indicate the status instead of using a LCD screen to output messages. The LEDs I plan ...
2
votes
1answer
1k views

How to see debug logs from Raspberry Pi 3 during boot process?

I am currently trying to debug a "black screen" on a Raspberry Pi. The Pi is plugged to an in-house PCB using connector of the Pi and the LCD screen is connected on this in-house board. The Linux ...
-1
votes
1answer
100 views

How Raspberry Pi booting up? [duplicate]

I want to know, how Raspberry Pi booting up. Of course, I can google it, but I can`t found this information in official documentation [ https://www.raspberrypi.org/documentation ]. I am searching for ...
1
vote
1answer
2k views

Mounting network HD on startup

First up I should note that I have no coding experience and am following guides. I'm currently setting up a RaspPi with Raspbian as a Plex server. Plex setup worked fine and I was able to mount the ...
1
vote
1answer
83 views

How to Boot up the Rasberry Pi for the first time?

So, I am very new to using a rasberry pi, and I am trying to get it to boot up for the first time. I just used a formatted MicroCD Card, complete with NOOBS, and I am using an HDMI cable with a TV to ...
-1
votes
1answer
158 views

Pi3 Act blinks once, no boot

I have got a problem with my Paspberry Pi 3 that my girlfriend put away on a drawer. I cant boot it any more, I have tried the SD card in another pi, and it boots, even tried a diffrent SD card that ...
0
votes
0answers
39 views

Disable CLI program on session start

I'm helping a friend who has a raspberry which has been configed by a former colleague. What happens is on every session open, a foreground CLI program starts which prevents me from controlling the ...
9
votes
1answer
9k views

Keep HDMI off on boot

I have a battery-powered RPi Zero W that is going to be hooked into a mobile laser projector. This is an experiential setup, so I need to be able to turn it off and on between uses. My goal here is ...
0
votes
1answer
257 views

Raspberry pi zero w and Touch screen - Bootup image

I have RPI zero W (OS: Jessie) and 3.5'' lcd touch display. Is there a way to display custom boot image (or animation) on LCD until RPI boots up to GUI? I tried to clean boot up text, but it doesn't ...
0
votes
1answer
669 views

Cannot boot into desktop after crashing

Good day all, I am new to the Raspberry Pi. I have just purchased a Raspberry pi 3. I downloaded the Raspbian OS and installed it on a brand new 16GB Kingston microSD card. First time I was ...
0
votes
0answers
189 views

Cannot fetch from mirror nus.edu.sg [duplicate]

I just start using rpi and quite a newbie i run sudo apt-get update sudo apt-get upgrade The update thing is successful, however , i cannot do the upgrade part, there are some package they ...
1
vote
0answers
570 views

How to use cloud-init on an RPi?

I see that Raspbian currently has cloud-init 0.7.9 in its Stretch repo. If that were the latest stable version (or at least 17.1) I would have a lot more NoCloud options. So, how can I use cloud-init ...
0
votes
0answers
161 views

Raspberry Pi 3 with CentOS no SSH without a keyboard

I installed CentOS 7.4 (1708) Minimal on a fresh Raspberry Pi 3 without issues. But I am struggeling with SSH connections, although each time the network is reachable from the Raspberry: If a ...
0
votes
0answers
334 views

Raspbian start certain services after boot to optimize boot time [duplicate]

I set up a Raspbian stretch lite and am about to make it start xserver after boot. Now I am confused about the long boot time! I ran system-analyze blame to check which services take the most time: ...
1
vote
6answers
6k views

I have to press enter on startup Raspberry Pi

I've got a Raspberry Pi. And lately I have the problem that I need to press enter when it's starting up. The error is: Cannot open access to console, the root account is locked. See sulogin(8) man ...
0
votes
1answer
820 views

Raspberry Pi often “freezes” on a screen when rebooting

I have a Raspberry Pi 2 B with a fresh install of the latest Raspbian. I had this trouble before, started researching it, rebooted a couple of times and then the problem seemed to resolve itself. It ...
0
votes
1answer
75 views

Turn on display after reboot

I have a monitor connect to a Raspberry Pi via HDMI. When I turn on the Raspberry Pi with the monitor off, and then turn the monitor on, I don't get any output. The HDMI only comes on if the monitor ...
1
vote
1answer
286 views

Why does Rasbian start the boot partition at 8192?

It seems the boot partition can start at 2048 based on reading, although I haven't validated it (yet) and wonder if its related regarding compatibility? Taken from the export-image/prerun.sh fdisk -...
0
votes
0answers
57 views

which action (command) determines the location of the mouse pointer upon login / boot?

After boot / login in Raspbian (Jessie, Stretch, ...), the mouse pointer appears at the location of the raspberry icon at the upper left corner of the screen. What action or command determines that ...
1
vote
1answer
3k views

How to make an image file from scratch

I want to make my own image file for a Raspberry Pi so I can copy any usable operating system to it and boot it. This way I'm also able to size down partitions or use other partition sizes. Is it ...
3
votes
1answer
134 views

How to add an “external” script to be executed at boot?

Background: I have several RPis which I need to re-image. I use the stock Raspbian and they get their IPs via DHCP. This makes it difficult (in my specific environment) to know which IP they received, ...
0
votes
0answers
718 views

Starting python script with rc.local

I want to execute a script at startup using rc.local. For this I use the following file: #!/bin/sh -e /usr/bin/python /public/test.py& exit 0 This testfile should write something into another ...
1
vote
0answers
649 views

Raspberry Pi PXE-boot fails despite response from router

I'm trying to set up a network with raspberry-pi's which use PXE to boot. The networks router, another raspberry-pi, is configured to use 10.0.0.1/24 as the interfaces address. To configure ip-...
0
votes
1answer
867 views

Compute Module 3, Can't Remove Boot Error Showing on Embedded Display

Edit: Unnecessary snark aside, I found that there was a commit referencing this exact issue in the kernel two days ago. As of now I'm compiling from source, and while I had it available, I also ...
10
votes
2answers
5k views

How can I lower my boot time more?

After removing most of the services that I don't need, it still takes about 28 seconds to boot, take a picture and shut down. I would like to lower this even more, and I did a systemd-analyze blame ...
1
vote
0answers
25 views

How can my startup script put messages that appear during the boot screen and in dmesg? [closed]

I need to see exactly when my script starts, and how long it takes for various components to execute. I tried logger but it doesn't work for this purpose.
2
votes
0answers
118 views

Safe[ish] shutdown without the shutdown command

For my needs, I have to execute something (take a picture) early in the boot process, and then shut down the machine as quickly as possible. Right now, I have a script that does exactly that, it ...
0
votes
1answer
41 views

What is the earliest place in the boot process where camera (raspistill) can be used?

It seems that right after local-fs.target doesn't work. Any idea what prevents it from working early in the boot process?
4
votes
3answers
5k views

What is the earliest place in the boot process where I can put my script?

For my application, I need to cut off the USB power at the earliest possible stage. Right now it starts early in init.d but I would like it, if possible, to start before the init.d stuff starts. I ...
1
vote
1answer
284 views

Raspberry Pi probably burned, but how?

I bought a new Pi 3. I was trying to make a LFR (line following robot). When I powered l239D IC with 14 volts, the Pi suddenly got off and restarted. It gave me the temperature of about 124 degrees ...
0
votes
1answer
32 views

Autostart, detect directory and open in standard GUI

I want to detect the existence of a (directory on a) USB drive (/media/pi/Music), wait for it to appear, then open it in the GUI. Using xdg-open /media/pi/Music in ~/.config/lxsession/LXDE-pi/...
1
vote
2answers
73 views

Script runs if the Raspberry Pi is rebooted but not normally booted [closed]

I'm trying to run a Node.js script that connects to a HID device (HTC Vive tracker) and sends feature reports to it, to run from boot. I've tried using rc.local, a systemd file but none of it works ...
0
votes
2answers
183 views

raspbian strech, raspi-config is not responding at first boot

On boot up, Rainbow Screen was viewed, but after that, below black screen (with 4 raspberry pi logo) was shown.... I tried various commands to open 'raspi-config' to get GUI but didn't succeed, Only ...
1
vote
1answer
2k views

How to enable and see the bootup messages of the system console?

Running latest Raspbian Stretch, and would like to see the typical powerup boot log console messages as shown in most other Linux distributions. However, it seem that these have been disabled and ...
1
vote
0answers
629 views

My Hard Drive won't mount to Raspberry Pi 3 suddenly

I built a torrentbox (HD -> Powered USB Hub [has own outlet] -> Raspberry Pi 3 Model B) and got it working but it keeps remounting after a few minutes so after checking online, I changed /dev/sda to ...