Questions tagged [busybox-init]
The implementation of init that comes with BusyBox
19 questions
0 votes
1 answer
131 views
Failed to umount oldroot after `pivot_root` and `chroot` in Linux
I am working on an embedded Linux system (kernel-5.10.24), and busybox as init. I created 2 rootfs partitions in system, I want to use pivot_root and chroot to change rootfs between them. When the ...
1 vote
1 answer
232 views
How to start the busybox shell in initramfs in Linux?
I am working on an embedded Linux system (kernel-5.10.24), and now I am trying to create the initramfs where there is an interactive shell. The rootfs is mainly based on busybox, and the initramfs ...
0 votes
1 answer
1k views
How to set console for auto login in inittab of busybox?
I am working on an embedded Linux system (kernel-5.10.24) with busybox as init. The kernel log is disabled in serial console without setting console= in kernel command line. So is the logs from init ...
1 vote
0 answers
2k views
How to start and manage a process in busybox inittab, and rcS as early as possible?
I am working on an embedded Linux system where busybox is being used as init. I have 2 requirements on running my application. My application needs to start as early as possible; It needs to be ...
1 vote
0 answers
115 views
syslogd not ouputting year information
I updated busybox to 1.35.0 and had the same settings as earlier but for some reasons the syslogd is not outputting year in the timestamp information. Prior to this I was using busybox 1.19.3 and it ...
3 votes
4 answers
283 views
Protect against vanishing output redirection targets
I have a daemon running on an embedded Linux device with its output redirected to the serial console: my_daemon > /dev/ttyS0 But now if a user exits the shell running on the serial interface then ...
1 vote
1 answer
697 views
Get time after boot
When Linux is booting there are timestamps which time something was loaded etc, so I think that information about boot start time must be available. Is there a way to run in any moment command or ...
1 vote
1 answer
683 views
Can the Busybox init start a process as unprivileged user
I have a tiny, tiny system comprised of Busybox, an executable application and its dependent libraries ONLY. I am using the Busybox /etc/inittab to start the application as an unprivileged user: ::...
1 vote
1 answer
735 views
OpenWRT BusyBox init does not create /etc/init.d/rcS
I'm building an OpenWRT image (Chaos Calmer) that needs BusyBox to be configured to use init. So, in the busybox configuration, I enter the Init Utilities menu, then enable init, as well as support ...
0 votes
1 answer
268 views
Busybox init, Kivy python application appears to block execution of ifup
I am experimenting with Buildroot, trying to create a minimal system to optimise cold boot time into a Python application (Kivy GUI). I chose to use Busybox init process because this is supposed to be ...
0 votes
1 answer
6k views
Ubuntu 18.10 boots into initramfs busy shell [closed]
I am getting booted into the initramfs shell directly in ubuntu 18.10 I have tried the exit command which leads to the manual fsck is required on /dev/sda2 When I enter fsck /dev/sda2 the shell ...
1 vote
0 answers
276 views
What is needed to make a busybox init boot to a shell on an arm device/phone?
I compiled busybox with arm-linux-gnueabihf for and Cortex-A/armv7-a arm device/phone. When I run the binary on android it works well. I decided to modify the android boot image. In the boot image ...
1 vote
0 answers
2k views
File not found when running a simple busybox system
I'm running Linux 4.1 and booting into a simple busybox environment. Busybox and shadow packages have been built as static and installed in my rootFS. Busybox is used for the /sbin/init and shadow's ...
0 votes
0 answers
562 views
System V - Respawn service but don't launch at boot
I'm trying to have a System V service relaunched on exit. EDIT: Should have precised that I'm using busybox init system instead of classic systemV I found that It could be done using /etc/inittab ...
0 votes
1 answer
970 views
Opening raw UBI partition for writing on Linux if it's mounted and used by init
I need to update a raw UBI partition with a new UBIFS image from Linux userspace with superuser rights, however I'm getting EBUSY (Device or resource busy) error whenever I'm trying to open my ...