Questions tagged [init]

The first process run, and thus the (grand)-parent of all others in a *nix system; also the only one which can never be stopped. Used to control boot/system services.

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

Problems with init=bin/sh working

I followed the below instructions. Putting the init at the end of the sole line in cmdline. boot=UUID=2311-4211 disk=UUID=69a6af94-e21a-450d-bf5e-fcc08d992566 init=/bin/sh I return sd card to pi and ...
0
votes
0answers
36 views

pi4 How can I get in normal mode from out safe mode

I was trying install KDE-PLASMA desktop and therefor I made a mistake with adding a different overlay and after that I get a blackscreen while booting. Now I am in safemode but what I really want is ...
0
votes
0answers
51 views

Busybox init, is it possible to delay execution of init.d script conditionally?

I would like to boot into a python app. My python app has the excellent pigpiod daemon as a prerequisite. I am using Busybox init process. I have a pigpiod launch script /etc/init.d/SXpigpiod and my ...
3
votes
2answers
2k views

Run script with virtualenv on init

I have bash script which loads a virtualenv and run 3 python scripts. I have tried to init on startup by ini.d and rc.local methods but it doesnt work and I have no idea why is not working but if I ...
1
vote
2answers
1k views

Custom initramfs

I'm working on a custom version of initramfs for RaspberryPi 3, where I'd like to run some commands to validate CPU serial number and other validations before start init process itself. I was trying ...
1
vote
0answers
210 views

Error on init/boot '/init: line 27: can't create /sys/class/leds/led0/trigger'

Sorry for asking the same question twice, but it seems I can't fix the problem yet. I have a web server running on my pi. One day I found that my server is down and I try to access my pi using VNC and ...
3
votes
1answer
2k views

Does Stretch Lite support systemd?

Rpi 1 Model A here. I would like to use a Raspbian image in my first pi project, and want to configure it to run an executable Java app (jar file) at startup. According to this article I might be ...
0
votes
2answers
78 views

Changing run level causes freeze

I accidentally discovered that the Raspberry Pi 3 can run on 2.1A, so I constantly get the Lightning Bolt in the corner, indicating that I'm going to go over the limit it will let me. So, to consume ...
3
votes
1answer
270 views

Why raspbian has /usr/sbin/service?

I know that Raspbian, being a Debian derived distribution, uses systemd as its init system, but the question is, why is there the binary /usr/sbin/service from the upstart init system? Is there to ...
4
votes
1answer
18k views

Raspbian Jessie: What do “service --status-all” and “systemctl list-units --type=service” show?

So, I read a lot about init systems in the last two hours, since this topic was completely new to me. I now know that Raspbian Jessie uses SystemD. I also found out that systemctl list-units --type=...
1
vote
1answer
217 views

How to write a initial script and let it run a command automatically

As the title saying, I want to start on this. sudo service (my service name) start. Where do I write this script that can make service initially start? My service is "apache2" and "bluetooth". ...
1
vote
1answer
936 views

Pi unbootable after restoring image to SD card

I backed up my Pi 8GB SD card using Win32DiskImager. I then wrote that image to another (exact same size/brand) 8GB SD card, again using Win32DiskImager. Now when I tried to boot the Pi using that ...
6
votes
1answer
371 views

Essential parts for booting the Raspberry Pi 2

This git repository contains pre-compiled binaries of the current Raspberry Pi kernel and modules, userspace libraries, and bootloader/GPU firmware, as you can read it in the README file: https://...
8
votes
3answers
740 views

How does init get to know about power events?

I have a Pi Model B Rev 2.0 (I think) and I intend to use it for a Home Automation system. As I have a prepayment meter on my electricity supply I occasionally run out of electrons to go around my ...
2
votes
1answer
301 views

issues installing cross-compiled kernel onto blank SD card

I've followed this tutorial when it comes to compiling a kernel for the Raspberry Pi. I'm installing onto a properly partitioned SD card, which I completely formatted first (it now has a fat32 boot ...
4
votes
5answers
14k views

Pi boots to a white login screen instead of desktop after making tightvncserver boot at startup

I installed tightvncserver, started the service, logged in remotely with no issues. I created a file in /etc/init.d/ called vncboot. ### BEGIN INIT INFO # Provides: vncboot # Required-Start: $...
10
votes
3answers
23k views

How to build custom OS for Raspberry pi from scratch?

I am new to kernel and embedded Linux. I have recently bought a Raspberry Pi and booted it using the Raspbian. I was fascinated by the Pi, to learn more on Embedded I have decided to make an home ...
3
votes
5answers
26k views

INIT: Id “1” respawning too fast: disabled for 5 minutes

I am having a strange error with the latest version of Raspbian. I recently upgraded from a 4gb sd card to a 16gb one and proceeded to reinstall Raspbian onto the card (I did not restore the previous ...
11
votes
2answers
10k views

Custom Raspbian image fails to boot with “no init found”

I'm building a custom SD image of Raspbian using debootstrap, and the resulting image fails to boot with Kernel panic - not syncing: No init found. on both my Raspberry Pi and under qemu. I can ...